aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-debug-window.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2011-03-07 23:11:46 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2011-03-07 23:35:26 +0800
commitb9b55324c17793ebf0d82d6cd0203694a931497a (patch)
tree663b5d271977a2db495f6280eb4f0a4aa1c97343 /src/empathy-debug-window.c
parent5b894aa5ad8702279c0458b890025a22172bfdd1 (diff)
downloadgsoc2013-empathy-b9b55324c17793ebf0d82d6cd0203694a931497a.tar
gsoc2013-empathy-b9b55324c17793ebf0d82d6cd0203694a931497a.tar.gz
gsoc2013-empathy-b9b55324c17793ebf0d82d6cd0203694a931497a.tar.bz2
gsoc2013-empathy-b9b55324c17793ebf0d82d6cd0203694a931497a.tar.lz
gsoc2013-empathy-b9b55324c17793ebf0d82d6cd0203694a931497a.tar.xz
gsoc2013-empathy-b9b55324c17793ebf0d82d6cd0203694a931497a.tar.zst
gsoc2013-empathy-b9b55324c17793ebf0d82d6cd0203694a931497a.zip
all: set the primary-toolbar style class on primary toolbars
So themes can override their appearance without hardcoding the widget hierarchy. https://bugzilla.gnome.org/show_bug.cgi?id=644121
Diffstat (limited to 'src/empathy-debug-window.c')
-rw-r--r--src/empathy-debug-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/empathy-debug-window.c b/src/empathy-debug-window.c
index f09cbd5ff..97cda470c 100644
--- a/src/empathy-debug-window.c
+++ b/src/empathy-debug-window.c
@@ -1407,6 +1407,8 @@ am_prepared_cb (GObject *am,
gtk_toolbar_set_show_arrow (GTK_TOOLBAR (toolbar), TRUE);
gtk_toolbar_set_icon_size (GTK_TOOLBAR (toolbar),
GTK_ICON_SIZE_SMALL_TOOLBAR);
+ gtk_style_context_add_class (gtk_widget_get_style_context (toolbar),
+ GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
gtk_widget_show (toolbar);
gtk_box_pack_start (GTK_BOX (vbox), toolbar, FALSE, FALSE, 0);