summaryrefslogtreecommitdiff
path: root/capplets
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-15 11:59:08 +0300
committermonsta <[email protected]>2016-01-15 12:14:33 +0300
commitecefd0b3006c7a76e750270bfdd4f22ad3075900 (patch)
tree96c092926f6eae5646f288536b3fa399ac454514 /capplets
parent546a147cde461d161f613d1a3f28b8daee7f6574 (diff)
downloadmate-control-center-ecefd0b3006c7a76e750270bfdd4f22ad3075900.tar.bz2
mate-control-center-ecefd0b3006c7a76e750270bfdd4f22ad3075900.tar.xz
about-me: use gtk_image_new_from_icon_name in both GTK+ builds
Diffstat (limited to 'capplets')
-rw-r--r--capplets/about-me/mate-about-me-fingerprint.c2
-rw-r--r--capplets/about-me/mate-about-me.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/capplets/about-me/mate-about-me-fingerprint.c b/capplets/about-me/mate-about-me-fingerprint.c
index f2e8b340..efb12102 100644
--- a/capplets/about-me/mate-about-me-fingerprint.c
+++ b/capplets/about-me/mate-about-me-fingerprint.c
@@ -222,7 +222,7 @@ delete_fingerprints_question (GtkBuilder *dialog, GtkWidget *enable, GtkWidget *
gtk_dialog_add_button (GTK_DIALOG (question), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
button = gtk_button_new_with_mnemonic (_("_Delete Fingerprints"));
- gtk_button_set_image (GTK_BUTTON (button), gtk_image_new_from_stock (GTK_STOCK_DELETE, GTK_ICON_SIZE_BUTTON));
+ gtk_button_set_image (GTK_BUTTON (button), gtk_image_new_from_icon_name ("edit-delete", GTK_ICON_SIZE_BUTTON));
gtk_widget_set_can_default (button, TRUE);
gtk_widget_show (button);
gtk_dialog_add_action_widget (GTK_DIALOG (question), button, GTK_RESPONSE_OK);
diff --git a/capplets/about-me/mate-about-me.c b/capplets/about-me/mate-about-me.c
index 0d4607fd..68a3f8bb 100644
--- a/capplets/about-me/mate-about-me.c
+++ b/capplets/about-me/mate-about-me.c
@@ -243,8 +243,8 @@ about_me_update_preview (GtkFileChooser *chooser,
gtk_image_set_from_pixbuf (GTK_IMAGE (image), pixbuf);
g_object_unref (pixbuf);
} else {
- gtk_image_set_from_stock (GTK_IMAGE (image),
- "gtk-dialog-question",
+ gtk_image_set_from_icon_name (GTK_IMAGE (image),
+ "dialog-question",
GTK_ICON_SIZE_DIALOG);
}
}