From 2824b8a07650ec74a5dd8bd61536a4635176bf2b Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 22 Mar 2017 20:14:39 +0100 Subject: add style class engrampa-window --- src/fr-window.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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), -- cgit v1.2.1