diff options
author | Conor Curran <conor.curran@canonical.com> | 2012-01-13 13:34:58 +0000 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2012-01-13 13:34:58 +0000 |
commit | 275f2ee62bc5d7387a4d66522b42f6fbc871dd51 (patch) | |
tree | f130d47b8f8d169fd65c1be0b4b67ab6fc0f78ca | |
parent | f09e4b82b35c5bbee28b93dbbf7b7af43308a511 (diff) | |
parent | 1c6998b43f5bc0ea04b7285b2687b1b73393efd4 (diff) | |
download | ayatana-indicator-sound-275f2ee62bc5d7387a4d66522b42f6fbc871dd51.tar.gz ayatana-indicator-sound-275f2ee62bc5d7387a4d66522b42f6fbc871dd51.tar.bz2 ayatana-indicator-sound-275f2ee62bc5d7387a4d66522b42f6fbc871dd51.zip |
make rhythmbox the default app
-rw-r--r-- | data/com.canonical.indicators.sound.gschema.xml | 2 | ||||
-rw-r--r-- | src/player-controller.vala | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/data/com.canonical.indicators.sound.gschema.xml b/data/com.canonical.indicators.sound.gschema.xml index dc63bcb..f853367 100644 --- a/data/com.canonical.indicators.sound.gschema.xml +++ b/data/com.canonical.indicators.sound.gschema.xml @@ -11,7 +11,7 @@ </key> <key name="interested-media-players" type="as"> <summary>A list of applications which at some point have registered with the sound menu</summary> - <default>[ 'banshee' ]</default> + <default>[ 'rhythmbox' ]</default> <description> Each media player which abides by the MPRIS2 spec will automatically appear in the menu. This array should contain the desktop file names (minus .desktop suffix) of applications which diff --git a/src/player-controller.vala b/src/player-controller.vala index 04d0bf9..05996c6 100644 --- a/src/player-controller.vala +++ b/src/player-controller.vala @@ -178,11 +178,11 @@ public class PlayerController : GLib.Object playlists_menuitem.root_item.property_set_bool (MENUITEM_PROP_VISIBLE, false ); this.custom_items[widget_order.TRANSPORT].property_set_bool (MENUITEM_PROP_VISIBLE, - this.app_info.get_id() == "banshee.desktop"); + this.app_info.get_id() == "rhythmbox.desktop"); return; } metadata_menuitem.should_collapse (!this.custom_items[widget_order.METADATA].populated (MetadataMenuitem.relevant_attributes_for_ui()) ); - if (this.app_info.get_id() == "banshee.desktop"){ + if (this.app_info.get_id() == "rhythmbox.desktop"){ TransportMenuitem transport = this.custom_items[widget_order.TRANSPORT] as TransportMenuitem; transport.handle_cached_action(); } |