diff options
author | Bastien Nocera <hadess@hadess.net> | 2014-11-25 22:01:48 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2014-11-25 22:01:48 +0100 |
commit | c2cbb9585099b9e55a9ede2f306c5e1e860b127b (patch) | |
tree | 4fc6688db0237235977559f10ff014cb37215e5a /src/totem-object.c | |
parent | 7b8ce358a3761e1058c54f9aefc963300e32d938 (diff) | |
download | totem-c2cbb9585099b9e55a9ede2f306c5e1e860b127b.tar.gz |
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
Diffstat (limited to 'src/totem-object.c')
-rw-r--r-- | 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 7fc75fab8..8dc021316 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)); |