diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2011-09-28 15:17:30 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2011-09-28 15:17:30 -0400 |
commit | e92bccafd8bc17ca37d48e78d497e1001dbaef80 (patch) | |
tree | 98e69ce3ea129c396840ef69a1feae40b01b5529 /src/mpris2-controller.vala | |
parent | 8b55a10546bbdee8fe0fa0088d751f885068ca94 (diff) | |
parent | bf90e843f9ecc907ab917d3d3b540014137d6964 (diff) | |
download | ayatana-indicator-sound-e92bccafd8bc17ca37d48e78d497e1001dbaef80.tar.gz ayatana-indicator-sound-e92bccafd8bc17ca37d48e78d497e1001dbaef80.tar.bz2 ayatana-indicator-sound-e92bccafd8bc17ca37d48e78d497e1001dbaef80.zip |
releasing version 0.7.8-0ubuntu1
Diffstat (limited to 'src/mpris2-controller.vala')
-rw-r--r-- | src/mpris2-controller.vala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala index 8eeac08..ce35a06 100644 --- a/src/mpris2-controller.vala +++ b/src/mpris2-controller.vala @@ -21,11 +21,12 @@ using Transport; public class Mpris2Controller : GLib.Object { + public const int MAX_PLAYLIST_COUNT = 20; + public MprisRoot mpris2_root {get; construct;} public MprisPlayer player {get; construct;} public MprisPlaylists playlists {get; construct;} public FreeDesktopProperties properties_interface {get; construct;} - public PlayerController owner {get; construct;} public Mpris2Controller(PlayerController ctrl) @@ -226,7 +227,7 @@ public class Mpris2Controller : GLib.Object try{ current_playlists = yield this.playlists.GetPlaylists (0, - 10, + MAX_PLAYLIST_COUNT, "Alphabetical", false); } |