aboutsummaryrefslogtreecommitdiff
path: root/src/music-player-bridge.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-06-08 18:09:48 +0100
committerConor Curran <conor.curran@canonical.com>2010-06-08 18:09:48 +0100
commit744083d4483291a87f4f348d6937257d8887cfb1 (patch)
treec2392de21bc615dfafa57d6a9076e4c8d30b09f1 /src/music-player-bridge.vala
parent5a9881a144df8a9c36f9d5b96ea53e872c76949b (diff)
downloadayatana-indicator-sound-744083d4483291a87f4f348d6937257d8887cfb1.tar.gz
ayatana-indicator-sound-744083d4483291a87f4f348d6937257d8887cfb1.tar.bz2
ayatana-indicator-sound-744083d4483291a87f4f348d6937257d8887cfb1.zip
moving in the right direction
Diffstat (limited to 'src/music-player-bridge.vala')
-rw-r--r--src/music-player-bridge.vala9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/music-player-bridge.vala b/src/music-player-bridge.vala
index cd5d65d..dc66101 100644
--- a/src/music-player-bridge.vala
+++ b/src/music-player-bridge.vala
@@ -48,11 +48,10 @@ public class MusicPlayerBridge : GLib.Object
if(server_is_not_of_interest(type)) return;
string client_name = type.split(".")[1];
if (root_menu != null && client_name != null){
- Dbusmenu.Menuitem client_item = new Dbusmenu.Menuitem();
-
- client_item.property_set(MENUITEM_PROP_LABEL, client_name.concat(" is registered"));
- registered_clients.set(client_name, client_item);
- root_menu.child_append(client_item);
+ TransportMenuItem transport_item = new TransportMenuItem();
+ //client_item.property_set(MENUITEM_PROP_LABEL, client_name.concat(" is registered"));
+ registered_clients.set(client_name, transport_item);
+ root_menu.child_append(transport_item);
debug("client of name %s has successfully registered with us", client_name);
}
}