[gnome-music] update all static playlists whenever media added to library



commit 1cdaa3a9dead41712d5e58735765061a4a0a3e1c
Author: Maia <maia mcc gmail com>
Date:   Wed Jan 21 12:02:23 2015 -0500

    update all static playlists whenever media added to library
    
    https://bugzilla.gnome.org/show_bug.cgi?id=743310

 gnomemusic/view.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index a43d000..b4ce329 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -825,6 +825,10 @@ class Playlist(ViewContainer):
         self.show_all()
 
     @log
+    def _on_changes_pending(self, data=None):
+        playlists.update_all_static_playlists()
+
+    @log
     def _add_list_renderers(self):
         list_widget = self.view.get_generic_view()
         cols = list_widget.get_columns()


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