shell: resize the window to the size of the panel being opened

Resize the shell window when a panel is activated so that it is at the
natural size of the panel.
This commit is contained in:
Thomas Wood 2010-07-14 16:22:06 +01:00
parent ce2f25082a
commit a1bf960a75
2 changed files with 32 additions and 4 deletions

View file

@ -3,9 +3,10 @@
<requires lib="gtk+" version="2.16"/>
<!-- interface-naming-policy project-wide -->
<object class="GtkWindow" id="main-window">
<property name="width_request">750</property>
<property name="height_request">500</property>
<property name="title" translatable="yes">System Settings</property>
<property name="default_width">800</property>
<property name="default_height">500</property>
<property name="resizable">False</property>
<property name="icon_name">gnome-control-center</property>
<child>
<object class="GtkVBox" id="vbox1">