Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco 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)
commit5ea79f6cfac444caa66f5bfcff38ec8aee5bec79 (patch)
treeae4ac42647741fc20ce477aace05c371cfa87bdd /shell
parent86c8055b11de2c6bf38a3e747448b83ae0ffcaf9 (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
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c4
1 files changed, 2 insertions, 2 deletions
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 */