aboutsummaryrefslogtreecommitdiff
path: root/src/title-menu-item.vala
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2010-09-08 19:51:33 +0200
committerSebastien Bacher <seb128@ubuntu.com>2010-09-08 19:51:33 +0200
commitd1fd48d0ed8ce30d29c424c9ff12d9b02a744f52 (patch)
tree7855b6beeae39a8af9f1edc22dbf8b0dc82f0dbf /src/title-menu-item.vala
parent7e9c9ed5e67bf26226996dda674ac4e4c5b4b272 (diff)
parent75f6c6bfa400649014ed90d87e57d5bf4b542f31 (diff)
downloadayatana-indicator-sound-d1fd48d0ed8ce30d29c424c9ff12d9b02a744f52.tar.gz
ayatana-indicator-sound-d1fd48d0ed8ce30d29c424c9ff12d9b02a744f52.tar.bz2
ayatana-indicator-sound-d1fd48d0ed8ce30d29c424c9ff12d9b02a744f52.zip
releasing version 0.4.3-0ubuntu1
Diffstat (limited to 'src/title-menu-item.vala')
-rw-r--r--src/title-menu-item.vala7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/title-menu-item.vala b/src/title-menu-item.vala
index ec1cc62..bb3d103 100644
--- a/src/title-menu-item.vala
+++ b/src/title-menu-item.vala
@@ -27,6 +27,7 @@ public class TitleMenuitem : PlayerItem
{
Object(item_type: MENUITEM_TYPE, owner: parent);
this.property_set(MENUITEM_NAME, parent.name);
+ this.property_set_bool(MENUITEM_RUNNING, false);
}
public override void handle_event(string name, GLib.Value input_value, uint timestamp)
@@ -39,7 +40,11 @@ public class TitleMenuitem : PlayerItem
this.owner.mpris_bridge.expose();
}
}
-
+
+ public void toggle_active_triangle(bool update)
+ {
+ this.property_set_bool(MENUITEM_RUNNING, update);
+ }
public static HashSet<string> attributes_format()
{