summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-11-05 10:48:14 -0800
committerStefano Karapetsas <[email protected]>2013-11-05 10:48:14 -0800
commitbf7b28d0d00722bc58a8e7ac1890d77e68b0708c (patch)
treef092482b37f35f04f3feb4c2e379db3690b5d437 /src
parent26e32ccc5efa5885227fa9e5e9b7bfb22e32b62d (diff)
parent10d8824bc690ebb65d85569680b7e3e083066d11 (diff)
downloadcaja-bf7b28d0d00722bc58a8e7ac1890d77e68b0708c.tar.bz2
caja-bf7b28d0d00722bc58a8e7ac1890d77e68b0708c.tar.xz
Merge pull request #195 from eyelash/primary-toolbar
add the primary-toolbar style class to the primary toolbar
Diffstat (limited to 'src')
-rw-r--r--src/caja-navigation-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/caja-navigation-window.c b/src/caja-navigation-window.c
index 4b03a865..7eed3c91 100644
--- a/src/caja-navigation-window.c
+++ b/src/caja-navigation-window.c
@@ -185,6 +185,9 @@ caja_navigation_window_init (CajaNavigationWindow *window)
ui_manager = caja_window_get_ui_manager (CAJA_WINDOW (window));
toolbar = gtk_ui_manager_get_widget (ui_manager, "/Toolbar");
+#if GTK_CHECK_VERSION(3, 0, 0)
+ gtk_style_context_add_class (gtk_widget_get_style_context (toolbar), GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
+#endif
window->details->toolbar = toolbar;
gtk_table_attach (GTK_TABLE (CAJA_WINDOW (window)->details->table),
toolbar,