aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-31 19:33:46 -0600
committerConor Curran <conor.curran@canonical.com>2011-01-31 19:33:46 -0600
commit43b7e22a13692edbba02c987975747a069881814 (patch)
treef3563c223c6f927e7b5c997b8cf92365a92c9626 /src/player-controller.vala
parent6da3712d5eda504073689da98eccba020d57a5cd (diff)
downloadayatana-indicator-sound-43b7e22a13692edbba02c987975747a069881814.tar.gz
ayatana-indicator-sound-43b7e22a13692edbba02c987975747a069881814.tar.bz2
ayatana-indicator-sound-43b7e22a13692edbba02c987975747a069881814.zip
moved builder and iter to the stack in blacklist method
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r--src/player-controller.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala
index d24eaa0..3ce121e 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -124,6 +124,10 @@ public class PlayerController : GLib.Object
foreach(PlayerItem item in this.custom_items){
this.root_menu.child_delete(item);
}
+ if (this.use_playlists == true){
+ PlaylistsMenuitem playlists_menuitem = this.custom_items[widget_order.PLAYLISTS] as PlaylistsMenuitem;
+ this.root_menu.child_delete (playlists_menuitem.root_item);
+ }
}
public void hibernate()