[gedit-latex] tools: use the constant to set the primary toolbar style



commit d88635faab153698c839f9754805eb9fa5a61eee
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sat Jul 2 13:43:00 2011 +0200

    tools: use the constant to set the primary toolbar style

 latex/tools/views.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/latex/tools/views.py b/latex/tools/views.py
index d545122..7b82c97 100755
--- a/latex/tools/views.py
+++ b/latex/tools/views.py
@@ -113,7 +113,7 @@ class ToolView(BottomView, IStructuredIssueHandler):
 
         ctx = self._toolbar.get_style_context()
         ctx.set_junction_sides(Gtk.JunctionSides.LEFT | Gtk.JunctionSides.RIGHT)
-        ctx.add_class("inline-toolbar")
+        ctx.add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR)
 
 
     def _on_abort_clicked(self, button):



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