[Xfce4-commits] [xfce/thunar] 02/02: Add label to cancel button in file operation dialog
noreply at xfce.org
noreply at xfce.org
Fri Aug 10 03:34:16 CEST 2018
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/thunar.
commit 781a76fa6fa65410a91b700195b95e124446888d
Author: Andre Miranda <andreldm at xfce.org>
Date: Thu Aug 9 22:31:20 2018 -0300
Add label to cancel button in file operation dialog
---
thunar/thunar-progress-view.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/thunar/thunar-progress-view.c b/thunar/thunar-progress-view.c
index 839a262..c2b445c 100644
--- a/thunar/thunar-progress-view.c
+++ b/thunar/thunar-progress-view.c
@@ -227,7 +227,8 @@ thunar_progress_view_init (ThunarProgressView *view)
gtk_box_pack_start (GTK_BOX (vbox3), view->progress_label, FALSE, TRUE, 0);
gtk_widget_show (view->progress_label);
- button = gtk_button_new ();
+ button = gtk_button_new_from_icon_name ("process-stop", GTK_ICON_SIZE_BUTTON);
+ gtk_button_set_label (button, _("Cancel"));
g_signal_connect_swapped (button, "clicked", G_CALLBACK (thunar_progress_view_cancel_job), view);
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, TRUE, 0);
gtk_widget_set_can_focus (button, FALSE);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list