[gnome-music/wip/mschraal/toolbar-fixes: 2/4] toolbar: Remove old packing workaround
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/toolbar-fixes: 2/4] toolbar: Remove old packing workaround
- Date: Sat, 24 Feb 2018 21:16:36 +0000 (UTC)
commit 53ce4079715ea745f75a8b2ce5749cefe518085f
Author: Marinus Schraal <mschraal gnome org>
Date: Sat Feb 24 16:38:46 2018 +0100
toolbar: Remove old packing workaround
gnomemusic/toolbar.py | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
---
diff --git a/gnomemusic/toolbar.py b/gnomemusic/toolbar.py
index 3861f36..ddf7c0b 100644
--- a/gnomemusic/toolbar.py
+++ b/gnomemusic/toolbar.py
@@ -75,14 +75,7 @@ class Toolbar(GObject.GObject):
self._selection_menu_label = self._ui.get_object(
'selection-menu-button-label')
self._selection_menu_button.set_relief(Gtk.ReliefStyle.NONE)
- if Gtk.get_minor_version() >= 11:
- self.header_bar.remove(self._select_button)
- self.header_bar.remove(self._cancel_button)
- self.header_bar.remove(self._search_button)
-
- self.header_bar.pack_end(self._select_button)
- self.header_bar.pack_end(self._cancel_button)
- self.header_bar.pack_end(self._search_button)
+
self._back_button.connect('clicked', self.on_back_button_clicked)
self._window = self.header_bar.get_parent()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]