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
|
@ -1,3 +1,8 @@
|
||||||
|
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.
|
||||||
|
|
||||||
Thu Apr 18 17:56:12 2002 Jonathan Blandford <jrb@redhat.com>
|
Thu Apr 18 17:56:12 2002 Jonathan Blandford <jrb@redhat.com>
|
||||||
|
|
||||||
* gnome-keybinding-properties.c (theme_changed_func): handle new
|
* gnome-keybinding-properties.c (theme_changed_func): handle new
|
||||||
|
|
|
@ -297,6 +297,7 @@ append_keys_to_tree (GladeXML *dialog,
|
||||||
if (i == MAX_ELEMENTS_BEFORE_SCROLLING)
|
if (i == MAX_ELEMENTS_BEFORE_SCROLLING)
|
||||||
{
|
{
|
||||||
GtkRequisition rectangle;
|
GtkRequisition rectangle;
|
||||||
|
gtk_widget_ensure_style (WID ("shortcut_treeview"));
|
||||||
gtk_widget_size_request (WID ("shortcut_treeview"), &rectangle);
|
gtk_widget_size_request (WID ("shortcut_treeview"), &rectangle);
|
||||||
gtk_widget_set_usize (WID ("actions_swindow"), -1, rectangle.height);
|
gtk_widget_set_usize (WID ("actions_swindow"), -1, rectangle.height);
|
||||||
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (WID ("actions_swindow")),
|
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (WID ("actions_swindow")),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue