summaryrefslogtreecommitdiff
path: root/src/caja-property-browser.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-02-18 18:36:55 +0100
committerWolfgang Ulbrich <[email protected]>2016-02-18 18:36:55 +0100
commit5d809e05ae9777160be237dc7878712be9850cc7 (patch)
treeb97147538b421e3a6559a4bba73ea8b5264528f1 /src/caja-property-browser.c
parent502d58395f8937a0e9db30d53da3e5d5c6123499 (diff)
downloadcaja-5d809e05ae9777160be237dc7878712be9850cc7.tar.bz2
caja-5d809e05ae9777160be237dc7878712be9850cc7.tar.xz
GTK+3: add style class caja-property-browser
Diffstat (limited to 'src/caja-property-browser.c')
-rw-r--r--src/caja-property-browser.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/caja-property-browser.c b/src/caja-property-browser.c
index 5b64de76..4fbb0398 100644
--- a/src/caja-property-browser.c
+++ b/src/caja-property-browser.c
@@ -300,6 +300,13 @@ caja_property_browser_init (CajaPropertyBrowser *property_browser)
gtk_window_set_wmclass (GTK_WINDOW (widget), "property_browser", "Caja");
gtk_window_set_type_hint (GTK_WINDOW (widget), GDK_WINDOW_TYPE_HINT_DIALOG);
+#if GTK_CHECK_VERSION(3, 0, 0)
+ GtkStyleContext *context;
+
+ context = gtk_widget_get_style_context (GTK_WIDGET (property_browser));
+ gtk_style_context_add_class (context, "caja-property-browser");
+#endif
+
/* create the main vbox. */
vbox = gtk_vbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);