ensure_style before calling size_request.
Fri Apr 19 20:07:11 2002 Jonathan Blandford <jrb@redhat.com> * gnome-keybinding-properties.c (append_keys_to_tree): ensure_style before calling size_request.
This commit is contained in:
parent
a8bd5ca542
commit
c64fbb1017
2 changed files with 6 additions and 0 deletions
|
@ -297,6 +297,7 @@ append_keys_to_tree (GladeXML *dialog,
|
|||
if (i == MAX_ELEMENTS_BEFORE_SCROLLING)
|
||||
{
|
||||
GtkRequisition rectangle;
|
||||
gtk_widget_ensure_style (WID ("shortcut_treeview"));
|
||||
gtk_widget_size_request (WID ("shortcut_treeview"), &rectangle);
|
||||
gtk_widget_set_usize (WID ("actions_swindow"), -1, rectangle.height);
|
||||
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (WID ("actions_swindow")),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue