[gnome-music: 8/11] window: Hide titlebar when maximized if GTK+ version is older than 3.9
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music: 8/11] window: Hide titlebar when maximized if GTK+ version is older than 3.9
- Date: Wed, 7 Aug 2013 09:16:05 +0000 (UTC)
commit 67d5afff972dcaa71516476f7f9cd650e6900e56
Author: Arnel A. Borja <arnelborja src gnome org>
Date: Sun Jul 21 01:25:06 2013 +0800
window: Hide titlebar when maximized if GTK+ version is older than 3.9
We can't set a custom titlebar before 3.9, so hide the titlebar from the window
manager when maximized.
gnomemusic/window.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 85130aa..397d633 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -72,6 +72,7 @@ class Window(Gtk.ApplicationWindow):
self.set_titlebar(self.toolbar.header_bar)
else:
self._box.pack_start(self.toolbar.header_bar, False, False, 0)
+ self.set_hide_titlebar_when_maximized(True)
self._box.pack_start(self._stack, True, True, 0)
self._box.pack_start(self.player.eventBox, False, False, 0)
self._box.pack_start(self.selection_toolbar.eventbox, False, False, 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]