Change size request to default size
authorAndy Spencer <andy753421@gmail.com>
Fri, 9 Sep 2011 06:33:52 +0000 (06:33 +0000)
committerAndy Spencer <andy753421@gmail.com>
Fri, 9 Sep 2011 06:33:52 +0000 (06:33 +0000)
Default size can be overridden by the user, e.g. on netbooks

data/main.ui.in

index 4b78ffc..148fd4a 100644 (file)
@@ -351,6 +351,8 @@ The hypothetical commands `show w' and `show c' should show the appropriate part
   <object class="AWeatherGui" id="main_window">
     <property name="can_focus">False</property>
     <property name="title" translatable="yes">AWeather</property>
+    <property name="default_width">600</property>
+    <property name="default_height">400</property>
     <child>
       <object class="GtkVBox" id="main_body">
         <property name="visible">True</property>
@@ -685,8 +687,6 @@ The hypothetical commands `show w' and `show c' should show the appropriate part
                 <property name="can_focus">True</property>
                 <child>
                   <object class="GritsOpenGL" id="main_viewer">
-                    <property name="width_request">600</property>
-                    <property name="height_request">400</property>
                     <property name="visible">True</property>
                     <property name="can_focus">True</property>
                     <property name="has_focus">True</property>