]> www.fi.muni.cz Git - evince.git/commitdiff
Make the toolbar editor fill its window
authorMatthias Clasen <mclasen@redhat.com>
Wed, 9 Feb 2011 23:56:55 +0000 (18:56 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 9 Feb 2011 23:56:55 +0000 (18:56 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=641579

shell/ev-window.c

index 4d2283b043b2b7ad2249018b8ec64c53b204b8fc..906adb07992a4b3a5edd3c0104e94253cb4922dc 100644 (file)
@@ -4275,7 +4275,7 @@ ev_window_cmd_edit_toolbar (GtkAction *action, EvWindow *ev_window)
        gtk_container_set_border_width (GTK_CONTAINER (editor), 5);
        gtk_box_set_spacing (GTK_BOX (EGG_TOOLBAR_EDITOR (editor)), 5);
 
-       gtk_container_add (GTK_CONTAINER (content_area), editor);
+        gtk_box_pack_start (GTK_BOX (content_area), editor, TRUE, TRUE, 0);
 
        egg_editable_toolbar_set_edit_mode (toolbar, TRUE);