summaryrefslogtreecommitdiff
path: root/plugins/thunar-sendto-email
diff options
context:
space:
mode:
authorJonas Kümmerlin <rgcjonas@gmail.com>2015-08-10 14:23:20 +0200
committerAndre Miranda <andreldm@xfce.org>2017-08-14 21:06:48 -0300
commitc8b29025447e9f896c43786426201e9aba42cfd6 (patch)
treec4055cd1f84d67c17655f28bef90181d17954ea3 /plugins/thunar-sendto-email
parent858e919762e3a8d1eba4fcb1f7ae9146db892325 (diff)
downloadthunar-c8b29025447e9f896c43786426201e9aba42cfd6.tar.gz
Get rid of GTK_STOCK_*
While we're at it, also remove some instances of GtkImageMenuItem and introduce symbolic icons in the places we're messing with.
Diffstat (limited to 'plugins/thunar-sendto-email')
-rw-r--r--plugins/thunar-sendto-email/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/thunar-sendto-email/main.c b/plugins/thunar-sendto-email/main.c
index 7c56c304..3aed4c29 100644
--- a/plugins/thunar-sendto-email/main.c
+++ b/plugins/thunar-sendto-email/main.c
@@ -195,7 +195,7 @@ tse_ask_compress (GList *infos)
message = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE,
_("Send \"%s\" as compressed archive?"),
g_file_info_get_display_name (tse_data->info));
- gtk_dialog_add_button (GTK_DIALOG (message), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
+ gtk_dialog_add_button (GTK_DIALOG (message), _("_Cancel"), GTK_RESPONSE_CANCEL);
gtk_dialog_add_button (GTK_DIALOG (message), _("Send _directly"), TSE_RESPONSE_PLAIN);
gtk_dialog_add_button (GTK_DIALOG (message), _("Send com_pressed"), TSE_RESPONSE_COMPRESS);
gtk_dialog_set_default_response (GTK_DIALOG (message), TSE_RESPONSE_COMPRESS);
@@ -214,7 +214,7 @@ tse_ask_compress (GList *infos)
"Send %d files as compressed archive?",
n_infos),
n_infos);
- gtk_dialog_add_button (GTK_DIALOG (message), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
+ gtk_dialog_add_button (GTK_DIALOG (message), _("_Cancel"), GTK_RESPONSE_CANCEL);
gtk_dialog_add_button (GTK_DIALOG (message), _("Send _directly"), TSE_RESPONSE_PLAIN);
gtk_dialog_add_button (GTK_DIALOG (message), _("Send as _archive"), TSE_RESPONSE_COMPRESS);
gtk_dialog_set_default_response (GTK_DIALOG (message), TSE_RESPONSE_COMPRESS);
@@ -269,7 +269,7 @@ tse_progress (const gchar *working_directory,
/* allocate the progress dialog */
dialog = gtk_dialog_new_with_buttons (_("Compressing files..."),
NULL, 0,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CANCEL);
gtk_window_set_default_size (GTK_WINDOW (dialog), 300, -1);