summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-06-09 14:22:29 +0200
committerraveit65 <[email protected]>2022-07-20 00:06:20 +0200
commit7d6045c8bc596e5033e5f11f492638bb4a9b5851 (patch)
treef5f0b6bd1f4cfea8182f43e7976ecc07b3b84f5b /libcaja-private
parente6a032b596d31523121a549ee2a2175f4b3c8aff (diff)
downloadcaja-7d6045c8bc596e5033e5f11f492638bb4a9b5851.tar.bz2
caja-7d6045c8bc596e5033e5f11f492638bb4a9b5851.tar.xz
caja-progress-info: add tooltips to file transfer dialog
Fixes https://github.com/mate-desktop/caja/issues/845
Diffstat (limited to 'libcaja-private')
-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 9b44bbf2..e72cac40 100644
--- a/libcaja-private/caja-progress-info.c
+++ b/libcaja-private/caja-progress-info.c
@@ -412,11 +412,13 @@ start_button_update_view (ProgressWidgetData *data)
toapply = g_object_get_data (G_OBJECT(button),
STARTBT_DATA_IMAGE_PAUSE);
atk_object_set_name (gtk_widget_get_accessible (button), _("Pause"));
+ gtk_widget_set_tooltip_text (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"));
+ gtk_widget_set_tooltip_text (button, _("Resume"));
as_pause = FALSE;
}
@@ -804,6 +806,7 @@ queue_button_init (ProgressWidgetData *data)
gtk_container_add (GTK_CONTAINER (button), image);
atk_object_set_name (gtk_widget_get_accessible (button), _("Queue"));
+ gtk_widget_set_tooltip_text (button, _("Queue"));
g_signal_connect (button, "clicked", (GCallback)queue_clicked, data);
}
@@ -846,6 +849,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"));
+ gtk_widget_set_tooltip_text (btcancel, _("Cancel"));
g_signal_connect (btcancel, "clicked", (GCallback)cancel_clicked, data);
progress_bar = gtk_progress_bar_new ();