summaryrefslogtreecommitdiff
path: root/src/gs-lock-plug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-lock-plug.c')
-rw-r--r--src/gs-lock-plug.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index e4692e4..0dbd32e 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -1587,7 +1587,11 @@ gs_lock_plug_add_button (GSLockPlug *plug,
g_return_val_if_fail (GS_IS_LOCK_PLUG (plug), NULL);
g_return_val_if_fail (button_text != NULL, NULL);
- button = gtk_button_new_with_label (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);
@@ -1664,7 +1668,7 @@ create_page_one_buttons (GSLockPlug *plug)
plug->priv->auth_cancel_button = gs_lock_plug_add_button (GS_LOCK_PLUG (plug),
plug->priv->auth_action_area,
- GTK_STOCK_CANCEL);
+ "gtk-cancel");
gtk_widget_set_focus_on_click (GTK_WIDGET (plug->priv->auth_cancel_button), FALSE);
plug->priv->auth_unlock_button = gs_lock_plug_add_button (GS_LOCK_PLUG (plug),