[totem] main: Keep the controls visible when seeking with the slider



commit c2cbb9585099b9e55a9ede2f306c5e1e860b127b
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Nov 25 22:01:48 2014 +0100

    main: Keep the controls visible when seeking with the slider
    
    When seeking with the handle, mark the popup as busy so it's not
    hidden, remove the business when releasing the slider handle, or
    when an error occurs.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=732711

 src/totem-object.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index 7fc75fa..8dc0213 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -1252,6 +1252,7 @@ reset_seek_status (TotemObject *totem)
 
        if (totem->seek_lock != FALSE) {
                totem->seek_lock = FALSE;
+               bacon_video_widget_unmark_popup_busy (totem->bvw, "seek started");
                bacon_video_widget_seek (totem->bvw, 0, NULL);
                totem_object_stop (totem);
        }
@@ -2569,6 +2570,7 @@ seek_slider_pressed_cb (GtkWidget *widget, GdkEventButton *event, TotemObject *t
        event->button = GDK_BUTTON_PRIMARY;
 
        totem->seek_lock = TRUE;
+       bacon_video_widget_mark_popup_busy (totem->bvw, "seek started");
 
        return FALSE;
 }
@@ -2606,6 +2608,7 @@ seek_slider_released_cb (GtkWidget *widget, GdkEventButton *event, TotemObject *
        /* set to FALSE here to avoid triggering a final seek when
         * syncing the adjustments while being in direct seek mode */
        totem->seek_lock = FALSE;
+       bacon_video_widget_unmark_popup_busy (totem->bvw, "seek started");
 
        /* sync both adjustments */
        adj = gtk_range_get_adjustment (GTK_RANGE (widget));


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