[evince] window: Preserve window chrome when opening a copy in new window



commit b7486ea7b5c384e793dabd888216783b6c6ae1b8
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 9d24042..f64f37c 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -2583,6 +2583,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]