summaryrefslogtreecommitdiff
path: root/mate-dictionary/libgdict/gdict-strategy-chooser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary/libgdict/gdict-strategy-chooser.c')
-rw-r--r--mate-dictionary/libgdict/gdict-strategy-chooser.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mate-dictionary/libgdict/gdict-strategy-chooser.c b/mate-dictionary/libgdict/gdict-strategy-chooser.c
index 4b6f1ecd..a3a28112 100644
--- a/mate-dictionary/libgdict/gdict-strategy-chooser.c
+++ b/mate-dictionary/libgdict/gdict-strategy-chooser.c
@@ -1074,7 +1074,11 @@ gdict_strategy_chooser_add_button (GdictStrategyChooser *chooser,
priv = chooser->priv;
- button = gtk_button_new_from_stock (button_text);
+ button = GTK_WIDGET (g_object_new (GTK_TYPE_BUTTON,
+ "label", button_text,
+ "use-stock", TRUE,
+ "use-underline", TRUE,
+ NULL));
gtk_widget_set_can_default (button, TRUE);