diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2022-11-02 16:06:03 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2022-11-02 16:06:03 +0000 |
commit | 0f14a2e4ed92a9ab59ab5b613ca60093803e9a36 (patch) | |
tree | 73ae754d7bd6d63f4f87ac0a02196858be50dc61 | |
parent | 8a5209b2704115d58d7203daa8834e4f62ebf057 (diff) | |
download | gnome-dictionary-0f14a2e4ed92a9ab59ab5b613ca60093803e9a36.tar.gz |
When building Dictionary using the "devel" profile we should have the
corresponding style class associated to the application windows.
-rw-r--r-- | src/gdict-window.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gdict-window.c b/src/gdict-window.c index 012912b..2b0e6f0 100644 --- a/src/gdict-window.c +++ b/src/gdict-window.c @@ -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 * |