[evince] show message area messages on recent view



commit 568e3a32267c9141aae9108efe62499357274157
Author: Felipe Borges <felipeborges gnome org>
Date:   Fri Sep 18 12:02:10 2015 +0200

    show message area messages on recent view
    
    https://bugzilla.gnome.org/show_bug.cgi?id=755064

 shell/ev-window.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 5b8fd5c..462f78c 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -710,11 +710,12 @@ ev_window_set_message_area (EvWindow  *window,
        if (!area)
                return;
 
-       gtk_box_pack_start (GTK_BOX (window->priv->view_box),
+       gtk_box_pack_start (GTK_BOX (window->priv->main_box),
                            window->priv->message_area,
                            FALSE, FALSE, 0);
-       gtk_box_reorder_child (GTK_BOX (window->priv->view_box),
-                              window->priv->message_area, 0);
+        /* Pack the message area right after the search bar */
+        gtk_box_reorder_child (GTK_BOX (window->priv->main_box),
+                               window->priv->message_area, 2);
        g_object_add_weak_pointer (G_OBJECT (window->priv->message_area),
                                   (gpointer) &(window->priv->message_area));
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]