[totem] dbusservice: Update for shuffle setting API removal
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] dbusservice: Update for shuffle setting API removal
- Date: Thu, 23 Jan 2014 12:18:06 +0000 (UTC)
commit c6455321f092f74571f7fb4444b2d40dbb42af72
Author: Bastien Nocera <hadess hadess net>
Date: Thu Jan 23 13:14:58 2014 +0100
dbusservice: Update for shuffle setting API removal
src/plugins/dbusservice/dbusservice.py | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/plugins/dbusservice/dbusservice.py b/src/plugins/dbusservice/dbusservice.py
index ec7a547..3f24a9c 100644
--- a/src/plugins/dbusservice/dbusservice.py
+++ b/src/plugins/dbusservice/dbusservice.py
@@ -185,17 +185,12 @@ class Root (dbus.service.Object): # pylint: disable-msg=R0923,R0904
else:
loop_status = 'None'
- # Shuffle
- shuffle = self.totem.action_remote_get_setting (
- Totem.RemoteSetting.SHUFFLE)
-
return {
'PlaybackStatus': self.__calculate_playback_status (),
'LoopStatus': loop_status, # TODO: Notifications
'Rate': 1.0,
'MinimumRate': 1.0,
'MaximumRate': 1.0,
- 'Shuffle': shuffle, # TODO: Notifications
'Metadata': self.__calculate_metadata (),
'Volume': self.totem.get_volume (), # TODO: Notifications
'Position': self.totem.props.current_time * 1000,
@@ -228,9 +223,6 @@ class Root (dbus.service.Object): # pylint: disable-msg=R0923,R0904
elif property_name == 'Rate':
# Ignore, since we don't support setting the rate
pass
- elif property_name == 'Shuffle':
- self.totem.action_remote_set_setting (
- Totem.RemoteSetting.SHUFFLE, new_value)
elif property_name == 'Volume':
self.totem.action_volume (new_value)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]