Handle window state properly (implements #52)
Handle the window state as recommended by the Gnome HowDoI guide by using the wrapper class WindowState with GObject properties and bindings. Additionally use separate settings for width and height instead of an array.
This commit is contained in:
parent
45b088bfa2
commit
cb585cda1e
3 changed files with 49 additions and 30 deletions
|
|
@ -277,7 +277,6 @@
|
|||
</object>
|
||||
<object class="GtkApplicationWindow" id="appwindow">
|
||||
<property name="can_focus">False</property>
|
||||
<signal name="destroy" handler="on_appwindow_destroy" swapped="no"/>
|
||||
<signal name="size-allocate" handler="on_appwindow_size_allocate" swapped="no"/>
|
||||
<signal name="window-state-event" handler="on_appwindow_window_state_event" swapped="no"/>
|
||||
<child type="titlebar">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue