diff --git a/0001-Revert-Do-not-show-the-titlebar-when-the-window-is-m.patch b/0001-Revert-Do-not-show-the-titlebar-when-the-window-is-m.patch new file mode 100644 index 0000000..a17f394 --- /dev/null +++ b/0001-Revert-Do-not-show-the-titlebar-when-the-window-is-m.patch @@ -0,0 +1,36 @@ +From 193a4cb7f63f5bbf0af0379d723e415406f3acd1 Mon Sep 17 00:00:00 2001 +From: Matthias Clasen +Date: Fri, 8 Feb 2013 09:55:53 -0500 +Subject: [PATCH] Revert "Do not show the titlebar when the window is + maximized" + +This reverts commit 6b79b0085b6c8630ea21b27be6f35ccec99784e2. + +Hiding the titlebar really only works in applications that have +been designed with this pattern in mind. In particular, it does +not work with a menubar, and really requires a draggable toolbar. + +See https://bugzilla.gnome.org/show_bug.cgi?id=692580 for further +discussion. +--- + src/terminal-window.c | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/src/terminal-window.c b/src/terminal-window.c +index 183fba7..8162132 100644 +--- a/src/terminal-window.c ++++ b/src/terminal-window.c +@@ -1822,10 +1822,8 @@ terminal_window_init (TerminalWindow *window) + #endif + + gtk_window_set_title (GTK_WINDOW (window), _("Terminal")); +- gtk_window_set_hide_titlebar_when_maximized (GTK_WINDOW (window), TRUE); + + priv->active_screen = NULL; +- priv->menubar_visible = FALSE; + + main_vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); + gtk_container_add (GTK_CONTAINER (window), main_vbox); +-- +1.8.1.4 + diff --git a/gnome-terminal.spec b/gnome-terminal.spec index 04104d7..87606c0 100644 --- a/gnome-terminal.spec +++ b/gnome-terminal.spec @@ -8,13 +8,15 @@ Summary: Terminal emulator for GNOME Name: gnome-terminal Version: 3.7.2 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ and GFDL Group: User Interface/Desktops URL: http://www.gnome.org/ #VCS: git:git://git.gnome.org/gnome-terminal Source0: http://download.gnome.org/sources/gnome-terminal/3.7/gnome-terminal-%{version}.tar.xz Patch0: 0001-Don-t-assume-enum-size.patch +# upstream fix +Patch1: 0001-Revert-Do-not-show-the-titlebar-when-the-window-is-m.patch BuildRequires: glib2-devel >= %{glib2_version} BuildRequires: GConf2-devel @@ -39,6 +41,7 @@ multiple terminals in a single window (tabs) and profiles support. %prep %setup -q %patch0 -p1 -b .enum_size +%patch1 -p1 -b .titlebar %build %configure --with-gtk=3.0 @@ -75,6 +78,9 @@ fi %{_datadir}/glib-2.0/schemas/org.gnome.Terminal.gschema.xml %changelog +* Tue Feb 26 2013 Matthias Clasen - 3.7.2-3 +- Bring back titlebars on maximized terminals + * Fri Jan 25 2013 Kalev Lember - 3.7.2-2 - Backport a fix for a crash in terminal_screen_container_style_updated