user-accounts: avoid horizontal resizing when switching local/enterprise

Pack labels and controls in horizontal size groups, so we don't resize
the dialog horizontally when switching between the local and enterprise
pages.

https://bugzilla.gnome.org/show_bug.cgi?id=678104
This commit is contained in:
Cosimo Cecchi 2012-06-14 11:12:30 -04:00
parent 6e8ddbaeea
commit ea048cce8a

View file

@ -581,4 +581,24 @@ type their domain password here.</property>
<action-widget response="-5">button2</action-widget>
</action-widgets>
</object>
<object class="GtkSizeGroup" id="labels_sizegroup">
<widgets>
<widget name="label6"/>
<widget name="label5"/>
<widget name="label7"/>
<widget name="label4"/>
<widget name="label8"/>
<widget name="label9"/>
</widgets>
</object>
<object class="GtkSizeGroup" id="controls_sizegroup">
<widgets>
<widget name="local-username"/>
<widget name="local-name"/>
<widget name="local-account-type"/>
<widget name="box1"/>
<widget name="enterprise-login"/>
<widget name="enterprise-password"/>
</widgets>
</object>
</interface>