[goobox] only notify when the metadata is ready



commit 6e883931133a9d705b382dc9b68c12084104369d
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Dec 29 13:20:41 2018 +0100

    only notify when the metadata is ready

 src/goo-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/goo-window.c b/src/goo-window.c
index 6bb0f01..d98f95d 100644
--- a/src/goo-window.c
+++ b/src/goo-window.c
@@ -1252,7 +1252,6 @@ player_start_cb (GooPlayer       *player,
                break;
 
        case GOO_PLAYER_ACTION_METADATA:
-               notify_current_state (window, action);
                goo_window_show_message_bar_action (window, _("Searching disc information…"));
                break;
 
@@ -1559,6 +1558,7 @@ player_done_cb (GooPlayer       *player,
                }
                else
                        goo_window_hide_message_bar (window);
+               notify_current_state (window, action);
                auto_fetch_cover_image (window);
                break;
 


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