make window start maximized

This commit is contained in:
Chris Cromer 2018-10-23 21:15:18 -03:00
parent 7dfe5d54a7
commit 8de7c0d5df
Signed by: cromer
GPG Key ID: 39CC813FF3C8708A
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 <!-- Generated with glade 3.22.1
Copyright 2018 Chris Cromer Copyright 2018 Chris Cromer
@ -21,6 +21,9 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
<property name="title">SERNATUR</property> <property name="title">SERNATUR</property>
<property name="icon_name">sernatur</property> <property name="icon_name">sernatur</property>
<property name="show_menubar">False</property> <property name="show_menubar">False</property>
<child>
<placeholder/>
</child>
<child> <child>
<object class="GtkImage"> <object class="GtkImage">
<property name="visible">True</property> <property name="visible">True</property>

View File

@ -37,6 +37,7 @@ namespace Sernatur {
*/ */
public override void activate () { public override void activate () {
window = new MainWindow (this); window = new MainWindow (this);
window.maximize ();
window.present (); window.present ();
} }