GTK+3: add style class mate-terminal

master-1.22
Wolfgang Ulbrich 2016-02-19 15:30:30 +01:00
parent b1051cc490
commit b084db649e
1 changed files with 7 additions and 0 deletions

View File

@ -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;