summaryrefslogtreecommitdiff
path: root/capplets/common/file-transfer-dialog.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-26 11:06:00 +0100
committerraveit65 <[email protected]>2018-02-12 14:03:07 +0100
commit17b20172c581009a5d972dbb9bc523e7d3e4126d (patch)
treed18b5f4c993b16d5a70f0edfdd0ee5ae657aba3d /capplets/common/file-transfer-dialog.c
parent9e312c404d28250bd75782ba6f7a96ba9b707fb1 (diff)
downloadmate-control-center-17b20172c581009a5d972dbb9bc523e7d3e4126d.tar.bz2
mate-control-center-17b20172c581009a5d972dbb9bc523e7d3e4126d.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'capplets/common/file-transfer-dialog.c')
-rw-r--r--capplets/common/file-transfer-dialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/capplets/common/file-transfer-dialog.c b/capplets/common/file-transfer-dialog.c
index 8d2c2ec4..dc6a924d 100644
--- a/capplets/common/file-transfer-dialog.c
+++ b/capplets/common/file-transfer-dialog.c
@@ -329,7 +329,7 @@ file_transfer_dialog_init (FileTransferDialog *dlg)
dlg->priv->progress, FALSE, FALSE, 0);
gtk_dialog_add_button (GTK_DIALOG (dlg),
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
+ "gtk-cancel", GTK_RESPONSE_CANCEL);
gtk_container_set_border_width (GTK_CONTAINER (dlg), 6);
@@ -441,8 +441,8 @@ file_transfer_dialog_overwrite (gpointer user_data)
button = gtk_button_new_with_label (_("_Overwrite"));
gtk_button_set_image (GTK_BUTTON (button),
- gtk_image_new_from_stock (GTK_STOCK_APPLY,
- GTK_ICON_SIZE_BUTTON));
+ gtk_image_new_from_icon_name ("gtk-apply",
+ GTK_ICON_SIZE_BUTTON));
gtk_dialog_add_action_widget (dialog, button, GTK_RESPONSE_YES);
gtk_widget_show (button);