summaryrefslogtreecommitdiff
path: root/src/nautilus-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-window.c')
-rw-r--r--src/nautilus-window.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/nautilus-window.c b/src/nautilus-window.c
index 830b1cffc..3a4aea311 100644
--- a/src/nautilus-window.c
+++ b/src/nautilus-window.c
@@ -2442,6 +2442,13 @@ nautilus_window_init (NautilusWindow *window)
window->priv->slots = NULL;
window->priv->active_slot = NULL;
+ /* Allow third party themes to match nautilus windows to provide
+ * specific styling for nautilus without affecting other gtk+ applications.
+ * This was a request by some theme authors.
+ */
+ gtk_style_context_add_class (gtk_widget_get_style_context (window),
+ "nautilus-window");
+
window_group = gtk_window_group_new ();
gtk_window_group_add_window (window_group, GTK_WINDOW (window));
g_object_unref (window_group);