diff options
author | Conor Curran <conor.curran@canonical.com> | 2011-06-29 10:24:23 +0200 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2011-06-29 10:24:23 +0200 |
commit | e63dc6451177bc9d4c398849eda13ff880fc69c3 (patch) | |
tree | b05fabfb4e370ddb0f73278d44f554cd59e8d970 /src/player-controller.vala | |
parent | 01fc374f65b6c552891d3f0d2dad5c7eb8031596 (diff) | |
download | ayatana-indicator-sound-e63dc6451177bc9d4c398849eda13ff880fc69c3.tar.gz ayatana-indicator-sound-e63dc6451177bc9d4c398849eda13ff880fc69c3.tar.bz2 ayatana-indicator-sound-e63dc6451177bc9d4c398849eda13ff880fc69c3.zip |
new menu items manager - and removed the earlier attempt at a custom item for the same purpose
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r-- | src/player-controller.vala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala index e988682..b1c0396 100644 --- a/src/player-controller.vala +++ b/src/player-controller.vala @@ -109,18 +109,18 @@ public class PlayerController : GLib.Object } public void enable_track_specific_items (string object_path) - { - debug ("enable_track_specific_items"); + { track_specific_client = new Client (this.dbus_name, object_path); - track_specific_client.new_menuitem.connect (on_new_track_specific_menuitem); + track_specific_client.root_changed.connect (on_new_track_specific_root_changed); /*TrackSpecificMenuitem menuitem = this.custom_items[widget_order.TRACK_SPECIFIC] as TrackSpecificMenuitem; menuitem.root_item.property_set_bool (MENUITEM_PROP_VISIBLE, true); menuitem.root_item.property_set_bool (MENUITEM_PROP_ENABLED, true);*/ } - private void on_new_track_specific_menuitem (GLib.Object item) + private void on_new_track_specific_root_changed (GLib.Object item) { - debug ("New track specific item for %s", this.app_info.get_name()); + debug ("!!!!!!!!!!!!!!!!!! - Root changed for track specific item %s", + this.app_info.get_name()); } private void establish_mpris_connection() |