[evince/gnome-3-20] window: Preserve window chrome when opening a copy in new window



commit 66e980efd74b9613c324a4da449b8f010633ff3d
Author: bijanbina <bijanbina gmail com>
Date:   Sat Jun 11 17:47:25 2016 +0430

    window: Preserve window chrome when opening a copy in new window
    
    https://bugzilla.gnome.org/show_bug.cgi?id=767532

 shell/ev-window.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 7cf3931..cb5f39a 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -2645,6 +2645,8 @@ ev_window_open_copy_at_dest (EvWindow   *window,
        ev_window_open_document (new_window,
                                 window->priv->document,
                                 dest, 0, NULL);
+       new_window->priv->chrome = window->priv->chrome;
+
        gtk_window_present (GTK_WINDOW (new_window));
 }
 


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