summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-28 16:27:09 +0200
committerinfirit <[email protected]>2014-07-28 17:09:16 +0200
commit935986216bba15dd991a3de9272820d35cbfab74 (patch)
tree6f130867994a0e82fe5cdbd82a71ab36704baba7 /src
parent1e6548b0c03d5ddc1362979d0c24ce1636ee54df (diff)
downloadeom-935986216bba15dd991a3de9272820d35cbfab74.tar.bz2
eom-935986216bba15dd991a3de9272820d35cbfab74.tar.xz
window: add the primary-toolbar style to the toolbar
Based on eog commit d1da84198d50703006e747b56ef8ba5107f7f3bd From Cosimo Cecchi <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/eom-window.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index 604f146..5d04f45 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -4369,6 +4369,11 @@ eom_window_construct_ui (EomWindow *window)
"model", eom_application_get_toolbars_model (EOM_APP),
NULL));
+#if GTK_CHECK_VERSION (3, 0, 2)
+ gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (priv->toolbar)),
+ GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
+#endif
+
egg_editable_toolbar_show (EGG_EDITABLE_TOOLBAR (priv->toolbar),
"Toolbar");