diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-07-12 14:46:13 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-07-12 14:46:13 +0100 |
commit | c653012e7a55de1a6ecabf798a7d86e87d4affc6 (patch) | |
tree | 7fae59d6256f8b6713db9b477c92f18dd0f73532 /src/player-controller.vala | |
parent | a96e011314ea03b04768681b724958f6688f06dc (diff) | |
download | ayatana-indicator-sound-c653012e7a55de1a6ecabf798a7d86e87d4affc6.tar.gz ayatana-indicator-sound-c653012e7a55de1a6ecabf798a7d86e87d4affc6.tar.bz2 ayatana-indicator-sound-c653012e7a55de1a6ecabf798a7d86e87d4affc6.zip |
caught by static scopeness - update bug fixed
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r-- | src/player-controller.vala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala index d7fd422..d272d14 100644 --- a/src/player-controller.vala +++ b/src/player-controller.vala @@ -59,7 +59,7 @@ public class PlayerController : GLib.Object public void update_state(state new_state) { - debug("update_state : new state %i", new_state); + debug("update_state - player controller %s : new state %i", this.name, new_state); this.current_state = new_state; } @@ -77,6 +77,7 @@ public class PlayerController : GLib.Object */ public void instantiate() { + debug("instantiate in player controller for %s", this.name); try{ this.app_info.launch(null, null); this.update_state(state.INSTANTIATING); @@ -140,7 +141,7 @@ public class PlayerController : GLib.Object this.custom_items.add(new PlayerItem(CLIENT_TYPES_SEPARATOR)); // Title item - TitleMenuitem title_menu_item = new TitleMenuitem(this, this.name); + TitleMenuitem title_menu_item = new TitleMenuitem(this); this.custom_items.add(title_menu_item); // Metadata item |