Set the size request of the shortcuts treeview instead of the the actions

2003-01-21 Shivram U  <shivaram.upadhyayula@wipro.com>

        * gnome-keybindings-properties.c (append_keys_to_tree): Set the size
        request of the shortcuts treeview instead of the the actions scrolled
        window. (#103962)
This commit is contained in:
Shivram U 2003-01-21 14:54:05 +00:00 committed by Shivaram Upadhyayula
parent 0165c54814
commit 73cbc9eabb
2 changed files with 7 additions and 1 deletions

View file

@ -523,7 +523,7 @@ append_keys_to_tree (GladeXML *dialog,
GtkRequisition rectangle;
gtk_widget_ensure_style (WID ("shortcut_treeview"));
gtk_widget_size_request (WID ("shortcut_treeview"), &rectangle);
gtk_widget_set_size_request (WID ("actions_swindow"), -1, rectangle.height);
gtk_widget_set_size_request (WID ("shortcut_treeview"), -1, rectangle.height);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (WID ("actions_swindow")),
GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
}