aboutsummaryrefslogtreecommitdiff
path: root/src/title-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-07-08 17:47:28 +0100
committerConor Curran <conor.curran@canonical.com>2010-07-08 17:47:28 +0100
commit0f2a6b2736713951fb4b88848e79849a8f1dc72a (patch)
tree100e2d6235254bad950ca2262f3b72f815f1f152 /src/title-menu-item.vala
parente4f900efd1e48814a70e4351cc3d878312daef37 (diff)
downloadayatana-indicator-sound-0f2a6b2736713951fb4b88848e79849a8f1dc72a.tar.gz
ayatana-indicator-sound-0f2a6b2736713951fb4b88848e79849a8f1dc72a.tar.bz2
ayatana-indicator-sound-0f2a6b2736713951fb4b88848e79849a8f1dc72a.zip
constants replaced and enums and title image now fetched from the mono 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();
}