[gnome-control-center] user-accounts: set a minimum size for the panel



commit 36043e66efc7648b6900edba821c0b374d7c94a4
Author: William Jon McCann <jmccann redhat com>
Date:   Sun Jan 30 10:57:23 2011 -0500

    user-accounts: set a minimum size for the panel

 panels/user-accounts/um-user-panel.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/user-accounts/um-user-panel.c b/panels/user-accounts/um-user-panel.c
index b073256..6121b09 100644
--- a/panels/user-accounts/um-user-panel.c
+++ b/panels/user-accounts/um-user-panel.c
@@ -1220,6 +1220,8 @@ um_user_panel_init (UmUserPanel *self)
         type = um_editable_entry_get_type ();
         type = um_editable_combo_get_type ();
 
+        gtk_widget_set_size_request (GTK_WIDGET (self), -1, 350);
+
         d->builder = gtk_builder_new ();
         d->um = um_user_manager_ref_default ();
         d->authority = polkit_authority_get_sync (NULL, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]