aboutsummaryrefslogtreecommitdiff
path: root/src/music-player-bridge.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-09-10 09:58:11 +0100
committerConor Curran <conor.curran@canonical.com>2010-09-10 09:58:11 +0100
commit768c373bdbc94e64bf7eb8e4bbc845be97090b90 (patch)
tree08539b95fe8bf2df93d6b60c4ea04eb2cd0a6b9d /src/music-player-bridge.vala
parent6f8a97048c533ea6cc2623bc6ed5773336ec2587 (diff)
downloadayatana-indicator-sound-768c373bdbc94e64bf7eb8e4bbc845be97090b90.tar.gz
ayatana-indicator-sound-768c373bdbc94e64bf7eb8e4bbc845be97090b90.tar.bz2
ayatana-indicator-sound-768c373bdbc94e64bf7eb8e4bbc845be97090b90.zip
banshee menu bug fixed
Diffstat (limited to 'src/music-player-bridge.vala')
-rw-r--r--src/music-player-bridge.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/music-player-bridge.vala b/src/music-player-bridge.vala
index 3929916..26bf2c2 100644
--- a/src/music-player-bridge.vala
+++ b/src/music-player-bridge.vala
@@ -63,6 +63,9 @@ public class MusicPlayerBridge : GLib.Object
calculate_menu_position(),
PlayerController.state.OFFLINE);
ctrl.app_info = app_info;
+ if(ctrl.app_info == null)
+ warning("for some reason the app info is null");
+
this.registered_clients.set(truncate_player_name(app_info.get_name()), ctrl);
}
}