[gnome-tweak-tool] Set GTK_STYLE_CLASS_PRIMARY_TOOLBAR on toolbar.
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] Set GTK_STYLE_CLASS_PRIMARY_TOOLBAR on toolbar.
- Date: Tue, 29 Mar 2011 22:49:49 +0000 (UTC)
commit ca60c6c3073dc87602f5d2e0d56e77faabc924db
Author: Christian Hergert <chris dronelabs com>
Date: Tue Mar 29 15:29:40 2011 -0700
Set GTK_STYLE_CLASS_PRIMARY_TOOLBAR on toolbar.
data/shell.ui | 2 +-
gnome-tweak-tool | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/data/shell.ui b/data/shell.ui
index 6a568e3..9babbcd 100644
--- a/data/shell.ui
+++ b/data/shell.ui
@@ -12,7 +12,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="GtkToolbar" id="toolbar1">
+ <object class="GtkToolbar" id="toolbar">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
diff --git a/gnome-tweak-tool b/gnome-tweak-tool
index 70eac1a..d89128c 100755
--- a/gnome-tweak-tool
+++ b/gnome-tweak-tool
@@ -36,6 +36,9 @@ class MainWindow:
welcome = builder.get_object('welcome_image')
welcome.set_from_file(os.path.join(gtweak.PKG_DATA_DIR, 'welcome.png'))
+
+ toolbar = builder.get_object('toolbar')
+ toolbar.get_style_context().add_class(Gtk.STYLE_CLASS_PRIMARY_TOOLBAR)
model = TweakModel()
view = TweakView(
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]