Removed #if 0'd code for hard-coding minimuum height of the tree view. Use
2003-01-06 Seth Nickell <snickell@stanford.edu> * gnome-theme-manager.c: (load_meta_themes): * theme-properties.glade: Removed #if 0'd code for hard-coding minimuum height of the tree view. Use glade properties to set minimuum height to a more reasonable value. Its hard to find items when you only see two in the scroll-view at any given time, and many people do not think to resize windows (nor should they have to :-)
This commit is contained in:
parent
8fe3e80954
commit
ff2eb3c60c
3 changed files with 13 additions and 7 deletions
|
@ -1,3 +1,15 @@
|
|||
2003-01-06 Seth Nickell <snickell@stanford.edu>
|
||||
|
||||
* gnome-theme-manager.c: (load_meta_themes):
|
||||
* theme-properties.glade:
|
||||
|
||||
Removed #if 0'd code for hard-coding minimuum height
|
||||
of the tree view. Use glade properties to set minimuum
|
||||
height to a more reasonable value. Its hard to find
|
||||
items when you only see two in the scroll-view at
|
||||
any given time, and many people do not think to
|
||||
resize windows (nor should they have to :-)
|
||||
|
||||
2003-01-06 Seth Nickell <snickell@stanford.edu>
|
||||
|
||||
* gnome-theme-manager.c: (add_custom_row_to_meta_theme):
|
||||
|
|
|
@ -445,13 +445,6 @@ load_meta_themes (GtkTreeView *tree_view,
|
|||
end_of_loop:
|
||||
if (i == MAX_ELEMENTS_BEFORE_SCROLLING)
|
||||
{
|
||||
#if 0
|
||||
// GtkRequisition rectangle;
|
||||
|
||||
// gtk_widget_size_request (GTK_WIDGET (tree_view), &rectangle);
|
||||
// gtk_widget_set_usize (swindow, -1, rectangle.height);
|
||||
// g_print ("calling size_request: %d\n", rectangle.height);
|
||||
#endif
|
||||
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (swindow),
|
||||
GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
|
||||
}
|
||||
|
|
|
@ -76,6 +76,7 @@
|
|||
|
||||
<child>
|
||||
<widget class="GtkTreeView" id="meta_theme_treeview">
|
||||
<property name="height_request">350</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="headers_visible">False</property>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue