summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-03-22 20:14:39 +0100
committerraveit65 <[email protected]>2017-03-23 12:05:30 +0100
commit2824b8a07650ec74a5dd8bd61536a4635176bf2b (patch)
tree411720851ff0a51c5efcdf6423a3d2aa89b9c545 /src
parentcedab4753454aff7728464f68a7ef55f8cdca53c (diff)
downloadengrampa-2824b8a07650ec74a5dd8bd61536a4635176bf2b.tar.bz2
engrampa-2824b8a07650ec74a5dd8bd61536a4635176bf2b.tar.xz
add style class engrampa-window
Diffstat (limited to 'src')
-rw-r--r--src/fr-window.c5
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),