[eog] Do not show the titlebar when eog is maximized.



commit c93aa0b94ba6142c78ea5025a56a0f70c6fc0739
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Wed Jan 25 13:18:03 2012 +0200

    Do not show the titlebar when eog is maximized.
    
    This is the default behavior for GNOME 3.4.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=668652

 configure.ac     |    2 +-
 src/eog-window.c |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index e618636..493c3aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,7 +83,7 @@ GNOME_DOC_INIT
 # GNOME Libs
 # **********
 
-GTK_REQUIRED=3.0.2
+GTK_REQUIRED=3.3.6
 GLIB_REQUIRED=2.31.0
 GNOME_DESKTOP_REQUIRED=2.91.2
 GDKPIXBUF_REQUIRED=2.4.0
diff --git a/src/eog-window.c b/src/eog-window.c
index 487199a..6faed86 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -4772,6 +4772,8 @@ eog_window_init (EogWindow *window)
 	window->priv->page_setup = NULL;
 
 	gtk_window_set_application (GTK_WINDOW (window), GTK_APPLICATION (EOG_APP));
+
+	gtk_window_set_hide_titlebar_when_maximized (GTK_WINDOW (window), TRUE);
 }
 
 static void



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