[gnome-control-center] user-accounts: Minimum of 200 width for the users list
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] user-accounts: Minimum of 200 width for the users list
- Date: Thu, 8 Mar 2012 16:15:59 +0000 (UTC)
commit 96b404c53772a00f9a2efc5a5c074a448599a513
Author: Bastien Nocera <hadess hadess net>
Date: Thu Mar 8 17:13:50 2012 +0100
user-accounts: Minimum of 200 width for the users list
https://bugzilla.gnome.org/show_bug.cgi?id=671480
panels/user-accounts/um-user-panel.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/panels/user-accounts/um-user-panel.c b/panels/user-accounts/um-user-panel.c
index f5aa4f4..d9c62cd 100644
--- a/panels/user-accounts/um-user-panel.c
+++ b/panels/user-accounts/um-user-panel.c
@@ -1179,6 +1179,9 @@ setup_main_window (UmUserPanelPrivate *d)
g_signal_connect (selection, "changed", G_CALLBACK (selected_user_changed), d);
gtk_tree_selection_set_select_function (selection, dont_select_headings, NULL, NULL);
+ gtk_scrolled_window_set_min_content_width (GTK_SCROLLED_WINDOW (get_widget (d, "list-scrolledwindow")), 300);
+ gtk_widget_set_size_request (get_widget (d, "list-scrolledwindow"), 200, -1);
+
button = get_widget (d, "add-user-toolbutton");
g_signal_connect (button, "clicked", G_CALLBACK (add_user), d);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]