[evince] Hide titlebar when maximized



commit dc8559bd1999ac4a2670906ed1e4d9ed13f731fd
Author: Robert Roth <robert roth off gmail com>
Date:   Sat Dec 14 17:16:28 2013 +0200

    Hide titlebar when maximized
    
    When the window is maximized, hide the titlebar, like the other GNOME apps do.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=696254

 shell/ev-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 23d455a..65ed151 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -7749,6 +7749,7 @@ ev_window_init (EvWindow *ev_window)
        ev_window_setup_recent (ev_window);
 
        gtk_window_set_default_size (GTK_WINDOW (ev_window), 600, 600);
+        gtk_window_set_hide_titlebar_when_maximized (GTK_WINDOW (ev_window), TRUE);
 
         ev_window_sizing_mode_changed_cb (ev_window->priv->model, NULL, ev_window);
        ev_window_setup_action_sensitivity (ev_window);


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