[rhythmbox] library: set icon before syncing child sources for childs to replicate the icons



commit 3352c624d1e0d312a4a846e21e7b8486b83dfc03
Author: gkrithi8 <gkrithi8 gmail com>
Date:   Thu Oct 26 20:22:17 2017 +0530

    library: set icon before syncing child sources for childs to replicate the icons
    
    https://bugzilla.gnome.org/show_bug.cgi?id=789157

 sources/rb-library-source.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/sources/rb-library-source.c b/sources/rb-library-source.c
index 5b25e99..f16855e 100644
--- a/sources/rb-library-source.c
+++ b/sources/rb-library-source.c
@@ -388,6 +388,7 @@ rb_library_source_constructed (GObject *object)
        g_object_set (source, "playlist-menu", playlist_add_menu, NULL);
        g_object_unref (model);
 
+       rb_display_page_set_icon_name (RB_DISPLAY_PAGE (source), "folder-music-symbolic");
        rb_library_source_sync_child_sources (source);
 
        g_object_unref (shell);
@@ -423,7 +424,6 @@ rb_library_source_new (RBShell *shell)
                                          "toolbar-menu", toolbar,
                                          "settings", g_settings_get_child (settings, "source"),
                                          NULL));
-       rb_display_page_set_icon_name (RB_DISPLAY_PAGE (source), "folder-music-symbolic");
        g_object_unref (settings);
        g_object_unref (builder);
 


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