[gedit] snippets: set the toolbar style as primary
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] snippets: set the toolbar style as primary
- Date: Mon, 20 Jun 2011 13:54:24 +0000 (UTC)
commit 2cf88735c2888fc42ab0c79544e0755eed53422f
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Jun 20 15:54:09 2011 +0200
snippets: set the toolbar style as primary
plugins/snippets/snippets/manager.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/snippets/snippets/manager.py b/plugins/snippets/snippets/manager.py
index 0ab6772..b65553e 100644
--- a/plugins/snippets/snippets/manager.py
+++ b/plugins/snippets/snippets/manager.py
@@ -299,6 +299,9 @@ class Manager(Gtk.Dialog, Gtk.Buildable):
self.build_tree_view()
self.build_model()
+ toolbar_context = self['toolbar'].get_style_context()
+ toolbar_context.add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR)
+
source_view = self['source_view_snippet']
manager = get_language_manager()
lang = manager.get_language('snippets')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]