[meld] meldwindow: Style toolbar appropriately



commit 241071d9096debd0ae290cf3dec9d6335c8891bd
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Dec 8 09:23:11 2013 +1000

    meldwindow: Style toolbar appropriately

 meld/meldwindow.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/meld/meldwindow.py b/meld/meldwindow.py
index 1a13b29..de3e329 100644
--- a/meld/meldwindow.py
+++ b/meld/meldwindow.py
@@ -166,6 +166,8 @@ class MeldWindow(gnomeglade.Component):
         self.widget.add_accel_group(self.ui.get_accel_group())
         self.menubar = self.ui.get_widget('/Menubar')
         self.toolbar = self.ui.get_widget('/Toolbar')
+        self.toolbar.get_style_context().add_class(
+            Gtk.STYLE_CLASS_PRIMARY_TOOLBAR)
 
         settings.bind('toolbar-visible',
                       self.actiongroup.get_action('ToolbarVisible'), 'active',


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