add new maximize option

This commit is contained in:
2018-12-23 16:10:50 -03:00
parent 9c5c7f1e7d
commit 6a6968c240
4 changed files with 92 additions and 28 deletions

View File

@@ -39,7 +39,10 @@ namespace Sernatur {
*/
public override void activate () {
window = new MainWindow (this);
//window.maximize ();
GLib.Settings settings = new GLib.Settings ("cl.cromer.ubb.sernatur");
if (settings.get_boolean ("maximized")) {
window.maximize ();
}
try {
window.icon = IconTheme.get_default ().load_icon ("sernatur", 48, 0);
}