]> www.fi.muni.cz Git - evince.git/commitdiff
Do not allow to shrink sidebar smaller then child requisition
authorMarco Pesenti Gritti <marco@gnome.org>
Wed, 23 Feb 2005 14:18:37 +0000 (14:18 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Wed, 23 Feb 2005 14:18:37 +0000 (14:18 +0000)
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

ChangeLog
shell/ev-window.c

index b685b86d5f6b9655b22023e5c16b519b0a8974a2..7fd9fd39db6ab1020a1a92f0d80d64c439a28ce8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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]
index a3bd2d9fb64120a7dff77ef6f50f47112bd6bcca..df25cc23389ff5f25fe2a15aef8f935d9c49d576 100644 (file)
@@ -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 */