diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2011-09-28 14:34:36 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2011-09-28 14:34:36 -0400 |
commit | bf90e843f9ecc907ab917d3d3b540014137d6964 (patch) | |
tree | c99b9ca5d7821632919c2d57cf17b707a3b53841 /src/mpris2-controller.vala | |
parent | ec7f559d69b40d9186cb307cb0dde5c600bd8c0b (diff) | |
parent | f5e29e773bd56d7aa6e459c46db6f68a4dd7f845 (diff) | |
download | ayatana-indicator-sound-bf90e843f9ecc907ab917d3d3b540014137d6964.tar.gz ayatana-indicator-sound-bf90e843f9ecc907ab917d3d3b540014137d6964.tar.bz2 ayatana-indicator-sound-bf90e843f9ecc907ab917d3d3b540014137d6964.zip |
Import upstream version 0.7.8
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); } |