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



commit 6b79b0085b6c8630ea21b27be6f35ccec99784e2
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 2a77c53..32ea1fb 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]