[gupnp-tools] av-cp: Show the tooltop on the seek bar



commit a90beeef990fbe41d942b085314fa19a2d7dbec8
Author: Jens Georg <mail jensge org>
Date:   Thu May 20 16:36:23 2021 +0200

    av-cp: Show the tooltop on the seek bar
    
    It was never enabled

 src/av-cp/renderer-controls.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/av-cp/renderer-controls.c b/src/av-cp/renderer-controls.c
index ccfb4ce..e1250e7 100644
--- a/src/av-cp/renderer-controls.c
+++ b/src/av-cp/renderer-controls.c
@@ -566,6 +566,7 @@ get_position_info_cb (GObject *object, GAsyncResult *res, gpointer user_data)
         set_position_scale_duration (duration);
         char *tooltip = g_strdup_printf ("%s/%s", position, duration);
         gtk_widget_set_tooltip_text (GTK_WIDGET (position_scale), tooltip);
+        gtk_widget_set_has_tooltip (GTK_WIDGET (position_scale), TRUE);
         g_free (tooltip);
         g_free (position);
         g_free (duration);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]