[gnome-terminal/gsettings] Do not show the titlebar when the window is maximized



commit a9e80df4d85cd0ecceacdf9a832c84f0e595a30e
Author: FrÃdÃric PÃters <fpeters 0d be>
Date:   Fri Feb 17 16:05:03 2012 +0100

    Do not show the titlebar when the window is maximized
    
    https://bugzilla.gnome.org/show_bug.cgi?id=670291

 src/terminal-window.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index dd15d25..5d3dc51 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -1836,6 +1836,9 @@ terminal_window_init (TerminalWindow *window)
 #endif
 
   gtk_window_set_title (GTK_WINDOW (window), _("Terminal"));
+#if GTK_CHECK_VERSION (3, 3, 6)
+  gtk_window_set_hide_titlebar_when_maximized (GTK_WINDOW (window), TRUE);
+#endif
 
   priv->active_screen = NULL;
 



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