Commit 0f14a2e4 authored by Emmanuele Bassi's avatar Emmanuele Bassi 👣
Browse files

Add "devel" CSS class to the window

When building Dictionary using the "devel" profile we should have the
corresponding style class associated to the application windows.
parent 8a5209b2
Pipeline #459040 passed with stage
in 1 minute and 17 seconds
......@@ -1689,6 +1689,12 @@ gdict_window_init (GdictWindow *window)
*/
window->db_chooser = gdict_database_chooser_button_new ();
window->strat_chooser = gdict_strategy_chooser_new ();
if (g_strcmp0 (PROFILE, "stable") != 0)
{
GtkStyleContext *context = gtk_widget_get_style_context (GTK_WIDGET (window));
gtk_style_context_add_class (context, "devel");
}
}
GtkWidget *
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment