aboutsummaryrefslogtreecommitdiff
path: root/src/transport-menu-item.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-06-11 08:59:06 +0100
committerConor Curran <conor.curran@canonical.com>2010-06-11 08:59:06 +0100
commitda91c666d6b66163077ddb9e59bf556fb4d44953 (patch)
tree69d854aa7ed83e14e6302c2085c748f2a4f86f63 /src/transport-menu-item.vala
parent50497b6b375cb96b77ed1700f58b8b8991f4c1ae (diff)
downloadayatana-indicator-sound-da91c666d6b66163077ddb9e59bf556fb4d44953.tar.gz
ayatana-indicator-sound-da91c666d6b66163077ddb9e59bf556fb4d44953.tar.bz2
ayatana-indicator-sound-da91c666d6b66163077ddb9e59bf556fb4d44953.zip
Diffstat (limited to 'src/transport-menu-item.vala')
-rw-r--r--src/transport-menu-item.vala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/transport-menu-item.vala b/src/transport-menu-item.vala
index 11120b0..9af52d1 100644
--- a/src/transport-menu-item.vala
+++ b/src/transport-menu-item.vala
@@ -5,10 +5,12 @@ public class TransportMenuItem : Dbusmenu.Menuitem
{
/* Not ideal duplicate definition of const - see common-defs/h */
const string DBUSMENU_TRANSPORT_MENUITEM_TYPE = "x-canonical-transport-bar";
+ const string DBUSMENU_TRANSPORT_MENUITEM_STATE = "x-canonical-transport-state";
public TransportMenuItem()
{
- this.property_set(MENUITEM_PROP_TYPE, DBUSMENU_TRANSPORT_MENUITEM_TYPE);
+ this.property_set(MENUITEM_PROP_TYPE, DBUSMENU_TRANSPORT_MENUITEM_TYPE);
+ this.property_set(MENUITEM_PROP_TYPE, DBUSMENU_TRANSPORT_MENUITEM_STATE);
}
public override void handle_event(string name, GLib.Value input_value, uint timestamp)