aboutsummaryrefslogtreecommitdiff
path: root/src/title-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-07-08 17:52:51 +0100
committerConor Curran <conor.curran@canonical.com>2010-07-08 17:52:51 +0100
commit50b2e070852b5eab299b8c3612a86adf6d21e901 (patch)
tree18c40c1b61ce93552767ef3f02055a3d9e92dfcb /src/title-menu-item.vala
parent41747b032d2032c97fd7f1766157e2d846626880 (diff)
parent0f2a6b2736713951fb4b88848e79849a8f1dc72a (diff)
downloadayatana-indicator-sound-50b2e070852b5eab299b8c3612a86adf6d21e901.tar.gz
ayatana-indicator-sound-50b2e070852b5eab299b8c3612a86adf6d21e901.tar.bz2
ayatana-indicator-sound-50b2e070852b5eab299b8c3612a86adf6d21e901.zip
merged the event handling plus code tidy ups and proper icon loading from the theme
Diffstat (limited to 'src/title-menu-item.vala')
-rw-r--r--src/title-menu-item.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/title-menu-item.vala b/src/title-menu-item.vala
index 0acd97f..612d279 100644
--- a/src/title-menu-item.vala
+++ b/src/title-menu-item.vala
@@ -32,7 +32,7 @@ public class TitleMenuitem : PlayerItem
public override void handle_event(string name, GLib.Value input_value, uint timestamp)
{
debug("handle_event with bool value %s", input_value.get_boolean().to_string());
- if(this.owner.current_state == PlayerController.OFFLINE)
+ if(this.owner.current_state == PlayerController.state.OFFLINE)
{
this.owner.instantiate();
}