diff --git a/data/dev.geopjr.Tuba.gschema.xml b/data/dev.geopjr.Tuba.gschema.xml index 65cb72ddf..28e9c438f 100644 --- a/data/dev.geopjr.Tuba.gschema.xml +++ b/data/dev.geopjr.Tuba.gschema.xml @@ -82,6 +82,9 @@ 700 + + false + [] diff --git a/src/Dialogs/Saveable.vala b/src/Dialogs/Saveable.vala index 5ef98cfa4..f69b34b73 100644 --- a/src/Dialogs/Saveable.vala +++ b/src/Dialogs/Saveable.vala @@ -2,5 +2,6 @@ public interface Tuba.Dialogs.Saveable : Gtk.Window { protected void construct_saveable (GLib.Settings settings) { settings.bind ("window-w", this, "default-width", SettingsBindFlags.DEFAULT); settings.bind ("window-h", this, "default-height", SettingsBindFlags.DEFAULT); + settings.bind ("window-maximized", this, "maximized", SettingsBindFlags.DEFAULT); } }