-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MainWindow: center with shell protocol
- Loading branch information
1 parent
ad031cd
commit c528e36
Showing
4 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
* Authored by: Corentin Noël <[email protected]> | ||
*/ | ||
|
||
public class Onboarding.MainWindow : Gtk.ApplicationWindow { | ||
public class Onboarding.MainWindow : Gtk.ApplicationWindow, PantheonWayland.ExtendedBehavior { | ||
public string[] viewed { get; set; } | ||
public static GLib.Settings settings; | ||
public static ListStore pages; | ||
|
@@ -140,6 +140,11 @@ public class Onboarding.MainWindow : Gtk.ApplicationWindow { | |
add_action (back_action); | ||
add_action (next_action); | ||
add_action (skip_action); | ||
|
||
child.realize.connect (() => { | ||
connect_to_shell (); | ||
make_centered (); | ||
}); | ||
} | ||
|
||
private void action_next () { | ||
|