summaryrefslogtreecommitdiff
path: root/src/terminal-window.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-02-19 15:30:30 +0100
committerWolfgang Ulbrich <[email protected]>2016-02-19 15:30:30 +0100
commitb084db649e1b5ffbc496d297a4252e20b870fe9a (patch)
treea8a10684dccf6d43955c34cc7a715c51726c66ff /src/terminal-window.c
parentb1051cc490dd2f47fc59dae23a6988c6eb5bfdf8 (diff)
downloadmate-terminal-b084db649e1b5ffbc496d297a4252e20b870fe9a.tar.bz2
mate-terminal-b084db649e1b5ffbc496d297a4252e20b870fe9a.tar.xz
GTK+3: add style class mate-terminal
Diffstat (limited to 'src/terminal-window.c')
-rw-r--r--src/terminal-window.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 245900d..d7819c5 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -2076,6 +2076,13 @@ terminal_window_init (TerminalWindow *window)
}
#endif
+#if GTK_CHECK_VERSION(3, 0, 0)
+ GtkStyleContext *context;
+
+ context = gtk_widget_get_style_context (GTK_WIDGET (window));
+ gtk_style_context_add_class (context, "mate-terminal");
+#endif
+
gtk_window_set_title (GTK_WINDOW (window), _("Terminal"));
priv->active_screen = NULL;