diff options
author | Luke Yelavich <[email protected]> | 2019-06-07 09:49:20 +1000 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-20 00:06:04 +0200 |
commit | e6a032b596d31523121a549ee2a2175f4b3c8aff (patch) | |
tree | ec4b9aa3af909bf8b98b1292f209ca05a97f6b81 | |
parent | c154ff29abf66fef751116d224fdb7d3a2d04b1b (diff) | |
download | caja-e6a032b596d31523121a549ee2a2175f4b3c8aff.tar.bz2 caja-e6a032b596d31523121a549ee2a2175f4b3c8aff.tar.xz |
Add accessible names for buttons in file transfer operations dialog
-rw-r--r-- | libcaja-private/caja-progress-info.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcaja-private/caja-progress-info.c b/libcaja-private/caja-progress-info.c index c302c1ff..9b44bbf2 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 (); |