[totem/wip/hadess/fix-button-mkv-chapters] main: Update state of	previous/next when chapters info arrives
- From: Bastien Nocera <hadess src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [totem/wip/hadess/fix-button-mkv-chapters] main: Update state of	previous/next when chapters info arrives
 
- Date: Fri, 15 Feb 2019 17:18:51 +0000 (UTC)
 
commit 22fc2b13c2676c42b72057978399c4a773bba5ef
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Feb 15 18:14:57 2019 +0100
    main: Update state of previous/next when chapters info arrives
    
    This fixes the previous/next buttons not being sensitive when a single
    file with chapter data is read as the "hey, a chapter is available now"
    would come in later than we usually check.
    
    The keyboard shortcuts for previous/next track already worked as whether
    a chapter marker is available is checked when the key has been pressed.
    
    Closes: #215
 src/totem-object.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/totem-object.c b/src/totem-object.c
index fdf7c57c1..11478214d 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -2448,6 +2448,7 @@ on_got_metadata_event (BaconVideoWidget *bvw, TotemObject *totem)
        }
 
        totem_sublang_update (totem);
+       update_buttons (totem);
        on_playlist_change_name (TOTEM_PLAYLIST (totem->playlist), totem);
 }
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]