summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcaja-private/caja-progress-info.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcaja-private/caja-progress-info.c b/libcaja-private/caja-progress-info.c
index dce63460..1c2dee32 100644
--- a/libcaja-private/caja-progress-info.c
+++ b/libcaja-private/caja-progress-info.c
@@ -411,10 +411,12 @@ start_button_update_view (ProgressWidgetData *data)
if (state == STATE_RUNNING || state == STATE_QUEUING) {
toapply = g_object_get_data (G_OBJECT(button),
STARTBT_DATA_IMAGE_PAUSE);
+ atk_object_set_name (gtk_widget_get_accessible (button), _("Pause"));
as_pause = TRUE;
} else {
toapply = g_object_get_data (G_OBJECT(button),
STARTBT_DATA_IMAGE_RESUME);
+ atk_object_set_name (gtk_widget_get_accessible (button), _("Resume"));
as_pause = FALSE;
}
@@ -801,6 +803,7 @@ queue_button_init (ProgressWidgetData *data)
image = gtk_image_new_from_icon_name ("undo", GTK_ICON_SIZE_BUTTON);
gtk_container_add (GTK_CONTAINER (button), image);
+ atk_object_set_name (gtk_widget_get_accessible (button), _("Queue"));
g_signal_connect (button, "clicked", (GCallback)queue_clicked, data);
}
@@ -842,6 +845,7 @@ progress_widget_new (CajaProgressInfo *info)
btcancel = gtk_button_new ();
gtk_container_add (GTK_CONTAINER (btcancel), imgcancel);
+ atk_object_set_name (gtk_widget_get_accessible (btcancel), _("Cancel"));
g_signal_connect (btcancel, "clicked", (GCallback)cancel_clicked, data);
progress_bar = gtk_progress_bar_new ();