[gnome-dictionary/ebassi/for-master: 4/11] Add inline-toolbar style class to the DB chooser




commit 65c120a58ed86e4274dc7709ab43a99e9b4360e1
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sat Sep 19 15:10:56 2020 +0100

    Add inline-toolbar style class to the DB chooser
    
    Otherwise it'll look weird.

 libgdict/gdict-database-chooser.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libgdict/gdict-database-chooser.c b/libgdict/gdict-database-chooser.c
index 22f470e..36ab547 100644
--- a/libgdict/gdict-database-chooser.c
+++ b/libgdict/gdict-database-chooser.c
@@ -356,6 +356,7 @@ gdict_database_chooser_constructor (GType                  type,
   gtk_widget_show (priv->treeview);
 
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
+  gtk_style_context_add_class (gtk_widget_get_style_context (hbox), "inline-toolbar");
   priv->buttons_box = hbox;
 
   priv->refresh_button = gtk_button_new ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]