[gnome-music] toolbar: Remove stack switcher margins



commit a86fb9c952a97c7da93ebee2aaa240bbfbc8d772
Author: Marinus Schraal <mschraal src gnome org>
Date:   Fri May 13 10:48:19 2016 +0200

    toolbar: Remove stack switcher margins
    
    The margins on the stack switcher were causing slight vertical mainview
    positioning shifts.

 gnomemusic/toolbar.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnomemusic/toolbar.py b/gnomemusic/toolbar.py
index 1fc3bd7..94fa13e 100644
--- a/gnomemusic/toolbar.py
+++ b/gnomemusic/toolbar.py
@@ -57,8 +57,8 @@ class Toolbar(GObject.GObject):
     @log
     def __init__(self):
         GObject.GObject.__init__(self)
-        self._stack_switcher = Gtk.StackSwitcher(
-            margin_top=2, margin_bottom=2, can_focus=False, halign="center")
+        self._stack_switcher = Gtk.StackSwitcher(can_focus=False,
+                                                 halign="center")
         self._stack_switcher.show()
         self._ui = Gtk.Builder()
         self._ui.add_from_resource('/org/gnome/Music/headerbar.ui')


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