aboutsummaryrefslogtreecommitdiff
path: root/src/player-controller.vala
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-01-05 16:06:52 +0000
committerConor Curran <conor.curran@canonical.com>2011-01-05 16:06:52 +0000
commitb8e5c4267c5c5db7889b18441a2fc733dd48cbdd (patch)
tree073a50e74369d0e4e54a953083e57262525b0f42 /src/player-controller.vala
parentf43f3cc7f9f5d762bff2dcd7062cafe554581e20 (diff)
downloadayatana-indicator-sound-b8e5c4267c5c5db7889b18441a2fc733dd48cbdd.tar.gz
ayatana-indicator-sound-b8e5c4267c5c5db7889b18441a2fc733dd48cbdd.tar.bz2
ayatana-indicator-sound-b8e5c4267c5c5db7889b18441a2fc733dd48cbdd.zip
blacklisting working plus bug fixed
Diffstat (limited to 'src/player-controller.vala')
-rw-r--r--src/player-controller.vala5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/player-controller.vala b/src/player-controller.vala
index 58e3b47..3922ecf 100644
--- a/src/player-controller.vala
+++ b/src/player-controller.vala
@@ -44,7 +44,6 @@ public class PlayerController : GLib.Object
public int current_state = state.OFFLINE;
private Dbusmenu.Menuitem root_menu;
- //public string name { get; set;}
public string dbus_name { get; set;}
public ArrayList<PlayerItem> custom_items;
public Mpris2Controller mpris_bridge;
@@ -62,7 +61,6 @@ public class PlayerController : GLib.Object
this.root_menu = root;
this.app_info = app;
this.dbus_name = dbus_name;
- //this.name = this.app_info.get_name();
this.icon_name = icon_name;
this.custom_items = new ArrayList<PlayerItem>();
this.current_state = initial_state;
@@ -128,7 +126,8 @@ public class PlayerController : GLib.Object
this.custom_items[widget_order.TRANSPORT].reset(TransportMenuitem.attributes_format());
this.custom_items[widget_order.METADATA].reset(MetadataMenuitem.attributes_format());
TitleMenuitem title = this.custom_items[widget_order.TITLE] as TitleMenuitem;
- title.toggle_active_triangle(false);
+ title.toggle_active_triangle(false);
+ this.mpris_bridge = null;
}
public void update_layout()