diff options
author | monsta <[email protected]> | 2016-01-21 15:30:51 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-21 15:30:51 +0300 |
commit | b5182fc63f8d928249d6f4cda8efb0cb316ed6f9 (patch) | |
tree | c23187c3d4b4a43e53c00d6f3a38b5eccfa0a7c4 | |
parent | 95c5645853dea541dd630cabc8ee7850f5d1f6f7 (diff) | |
download | mate-settings-daemon-b5182fc63f8d928249d6f4cda8efb0cb316ed6f9.tar.bz2 mate-settings-daemon-b5182fc63f8d928249d6f4cda8efb0cb316ed6f9.tar.xz |
housekeeping: use gtk_image_new_from_icon_name in both GTK+ builds
-rw-r--r-- | plugins/housekeeping/msd-ldsm-dialog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/housekeeping/msd-ldsm-dialog.c b/plugins/housekeeping/msd-ldsm-dialog.c index e877466..dc6e70f 100644 --- a/plugins/housekeeping/msd-ldsm-dialog.c +++ b/plugins/housekeeping/msd-ldsm-dialog.c @@ -219,7 +219,7 @@ msd_ldsm_dialog_init (MsdLdsmDialog *dialog) gtk_container_set_border_width (GTK_CONTAINER (dialog), 5); /* Create the image */ - image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING, GTK_ICON_SIZE_DIALOG); + image = gtk_image_new_from_icon_name ("dialog-warning", GTK_ICON_SIZE_DIALOG); #if GTK_CHECK_VERSION (3, 14, 0) gtk_widget_set_valign (image, GTK_ALIGN_START); #else @@ -457,7 +457,7 @@ msd_ldsm_dialog_new (gboolean other_usable_partitions, button_empty_trash = gtk_dialog_add_button (GTK_DIALOG (dialog), _("Empty Trash"), MSD_LDSM_DIALOG_RESPONSE_EMPTY_TRASH); - empty_trash_image = gtk_image_new_from_stock (GTK_STOCK_CLEAR, GTK_ICON_SIZE_BUTTON); + empty_trash_image = gtk_image_new_from_icon_name ("edit-clear", GTK_ICON_SIZE_BUTTON); gtk_button_set_image (GTK_BUTTON (button_empty_trash), empty_trash_image); } |