diff options
author | Pablo Barciela <[email protected]> | 2018-02-17 00:22:33 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-02-20 09:58:55 +0100 |
commit | 1d82cc7c517fd84e6428ebb7ef29583240176af9 (patch) | |
tree | b1f63f9625746c76ec4ac3879e46cada200aef95 /pluma/dialogs | |
parent | 12e54c41f48a55cd213d2b004d0c3c2cb0a535c3 (diff) | |
download | pluma-1d82cc7c517fd84e6428ebb7ef29583240176af9.tar.bz2 pluma-1d82cc7c517fd84e6428ebb7ef29583240176af9.tar.xz |
avoid deprecated GtkButton:use-stock
Diffstat (limited to 'pluma/dialogs')
-rw-r--r-- | pluma/dialogs/pluma-search-dialog.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/pluma/dialogs/pluma-search-dialog.c b/pluma/dialogs/pluma-search-dialog.c index da2b9067..acd55ba5 100644 --- a/pluma/dialogs/pluma-search-dialog.c +++ b/pluma/dialogs/pluma-search-dialog.c @@ -416,11 +416,8 @@ pluma_search_dialog_init (PlumaSearchDialog *dlg) gtk_label_set_mnemonic_widget (GTK_LABEL (dlg->priv->replace_label), dlg->priv->replace_entry); - dlg->priv->find_button = GTK_WIDGET (g_object_new (GTK_TYPE_BUTTON, - "label", "gtk-find", - "use-stock", TRUE, - "use-underline", TRUE, - NULL)); + dlg->priv->find_button = gtk_button_new_with_mnemonic (_("_Find")); + gtk_button_set_image (GTK_BUTTON (dlg->priv->find_button), gtk_image_new_from_icon_name ("edit-find", GTK_ICON_SIZE_BUTTON)); dlg->priv->replace_all_button = gtk_button_new_with_mnemonic (_("Replace _All")); dlg->priv->replace_button = pluma_gtk_button_new_with_icon (_("_Replace"), |