aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-03-03 17:13:15 +0000
committerConor Curran <conor.curran@canonical.com>2011-03-03 17:13:15 +0000
commit64ead2414c7e40155eb9241848b1837beb84ae7c (patch)
tree87fa348d053d879fd83b9929820d714059ad3d11
parent85ffbe98c3f185557f8e78fa286c1c354b4154e8 (diff)
downloadayatana-indicator-sound-64ead2414c7e40155eb9241848b1837beb84ae7c.tar.gz
ayatana-indicator-sound-64ead2414c7e40155eb9241848b1837beb84ae7c.tar.bz2
ayatana-indicator-sound-64ead2414c7e40155eb9241848b1837beb84ae7c.zip
final playlist delete tweak
-rw-r--r--src/playlists-menu-item.vala5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/playlists-menu-item.vala b/src/playlists-menu-item.vala
index bc39129..f4d7233 100644
--- a/src/playlists-menu-item.vala
+++ b/src/playlists-menu-item.vala
@@ -69,7 +69,10 @@ public class PlaylistsMenuitem : PlayerItem
}
}
if (within == false){
- this.root_item.child_delete (item);
+ if (this.root_item.property_get (MENUITEM_PATH) == item.property_get (MENUITEM_PATH)){
+ this.root_item.property_set (MENUITEM_PROP_LABEL, "Choose Playlist");
+ }
+ this.root_item.child_delete (item);
}
}
}