From 5ea79f6cfac444caa66f5bfcff38ec8aee5bec79 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Wed, 23 Feb 2005 14:18:37 +0000 Subject: Do not allow to shrink sidebar smaller then child requisition 2005-02-23 Marco Pesenti Gritti * shell/ev-window.c: (ev_window_init): Do not allow to shrink sidebar smaller then child requisition --- diff --git a/ChangeLog b/ChangeLog index b685b86..7fd9fd3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-02-23 Marco Pesenti Gritti + + * shell/ev-window.c: (ev_window_init): + + Do not allow to shrink sidebar smaller then + child requisition + 2005-02-23 Carlos Garcia Campos * 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 */ -- cgit v0.9.1