~victored/elementaryos/indicator-sound

Viewing all changes in revision 5.

  • Committer: Victor Eduardo
  • Date: 2012-06-09 21:14:26 UTC
  • Revision ID: victoreduardm@gmail.com-20120609211426-kxx8c9wx4bpi3plc
Allow setting preferred media players through a settings key instead of hardcoding them.

Originally this was done by hardcoding "rhythmbox.desktop" in PlayerController.vala. Now it's possible to set the list of preferred players by modifying the "preferred-media-players" key located at com.canonical.indicator.sound.* Modifications to that key are applied at run-time and it's always monitored. Of course this setting key only applies to non-blacklisted players.

Currently, setting a player as "preferred" only makes its controls visible all the time.

Also added BeatBox and Noise to the "interested-media-players" and "preferred-media-players" keys, and removed "rhythmbox" from the latter.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: