diff options
author | Marco Pesenti Gritti <marco@gnome.org> | 2005-02-23 14:18:37 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@src.gnome.org> | 2005-02-23 14:18:37 (GMT) |
commit | 5ea79f6cfac444caa66f5bfcff38ec8aee5bec79 (patch) | |
tree | ae4ac42647741fc20ce477aace05c371cfa87bdd | |
parent | 86c8055b11de2c6bf38a3e747448b83ae0ffcaf9 (diff) |
Do not allow to shrink sidebar smaller then child requisition
2005-02-23 Marco Pesenti Gritti <marco@gnome.org>
* shell/ev-window.c: (ev_window_init):
Do not allow to shrink sidebar smaller then
child requisition
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | shell/ev-window.c | 4 |
2 files changed, 9 insertions, 2 deletions
@@ -1,3 +1,10 @@ +2005-02-23 Marco Pesenti Gritti <marco@gnome.org> + + * shell/ev-window.c: (ev_window_init): + + Do not allow to shrink sidebar smaller then + child requisition + 2005-02-23 Carlos Garcia Campos <carlosgc@gnome.org> * shell/ev-sidebar.[ch] diff --git a/shell/ev-window.c b/shell/ev-window.c index a3bd2d9..df25cc2 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2225,8 +2225,8 @@ ev_window_init (EvWindow *ev_window) "notify::visible", G_CALLBACK (ev_window_sidebar_visibility_changed_cb), ev_window); - gtk_paned_add1 (GTK_PANED (ev_window->priv->hpaned), - ev_window->priv->sidebar); + gtk_paned_pack1 (GTK_PANED (ev_window->priv->hpaned), + ev_window->priv->sidebar, FALSE, FALSE); gtk_widget_show (ev_window->priv->hpaned); /* Stub sidebar, for now */ |