[gnome-control-center] keyboard: set a size request so the treeviews aren't miniscule



commit 7d7e249627de1321e014c6c89007505ed8dfc1bd
Author: William Jon McCann <jmccann redhat com>
Date:   Tue Jan 18 21:26:01 2011 -0500

    keyboard: set a size request so the treeviews aren't miniscule

 panels/keyboard/keyboard-shortcuts.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/keyboard/keyboard-shortcuts.c b/panels/keyboard/keyboard-shortcuts.c
index f41d8e4..0deebc6 100644
--- a/panels/keyboard/keyboard-shortcuts.c
+++ b/panels/keyboard/keyboard-shortcuts.c
@@ -1817,6 +1817,8 @@ setup_dialog (CcPanel *panel, GtkBuilder *builder)
   GtkListStore *model;
   GtkTreeModelSort *sort_model;
 
+  gtk_widget_set_size_request (GTK_WIDGET (panel), -1, 400);
+
   /* Setup the section treeview */
   treeview = GTK_TREE_VIEW (gtk_builder_get_object (builder, "section_treeview"));
  gtk_tree_view_set_row_separator_func (GTK_TREE_VIEW (treeview),



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