diff options
-rw-r--r-- | src/fr-window.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fr-window.c b/src/fr-window.c index beb481e..52a3d40 100644 --- a/src/fr-window.c +++ b/src/fr-window.c @@ -795,6 +795,8 @@ fr_window_unrealized (GtkWidget *window, static void fr_window_init (FrWindow *window) { + GtkStyleContext *context; + window->priv = g_new0 (FrWindowPrivateData, 1); window->priv->update_dropped_files = FALSE; window->priv->filter_mode = FALSE; @@ -802,6 +804,9 @@ fr_window_init (FrWindow *window) window->priv->use_progress_dialog = TRUE; window->priv->batch_title = NULL; + context = gtk_widget_get_style_context (GTK_WIDGET (window)); + gtk_style_context_add_class (context, "engrampa-window"); + g_signal_connect (window, "realize", G_CALLBACK (fr_window_realized), |