summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-06-09 14:22:29 +0200
committerlukefromdc <[email protected]>2019-06-09 23:52:29 +0000
commita2d2b5e1003b272a3e72622ff5c953f16f2b7aea (patch)
treefbce1c0e8e83d31776812a624aa57e9882544273 /libcaja-private
parent325483e33c8ddcb4f876a456d3d981bdc0e0e7f4 (diff)
downloadcaja-a2d2b5e1003b272a3e72622ff5c953f16f2b7aea.tar.bz2
caja-a2d2b5e1003b272a3e72622ff5c953f16f2b7aea.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 1c2dee32..60b8edd6 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 ();