Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network/resources/notification.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network/resources/notification.py')
-rw-r--r--sugar_network/resources/notification.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/sugar_network/resources/notification.py b/sugar_network/resources/notification.py
index f357b9c..4b78d75 100644
--- a/sugar_network/resources/notification.py
+++ b/sugar_network/resources/notification.py
@@ -21,24 +21,24 @@ from sugar_network.resources.volume import Resource
class Notification(Resource):
- @ad.active_property(slot=1, prefix='T',
+ @ad.active_property(prefix='T',
permissions=ad.ACCESS_CREATE | ad.ACCESS_READ,
typecast=resources.NOTIFICATION_TYPES)
def type(self, value):
return value
- @ad.active_property(slot=2, prefix='K',
+ @ad.active_property(prefix='K',
permissions=ad.ACCESS_CREATE | ad.ACCESS_READ,
default='', typecast=resources.NOTIFICATION_OBJECT_TYPES)
def resource(self, value):
return value
- @ad.active_property(slot=3, prefix='O',
+ @ad.active_property(prefix='O',
permissions=ad.ACCESS_CREATE | ad.ACCESS_READ, default='')
def object(self, value):
return value
- @ad.active_property(slot=4, prefix='D',
+ @ad.active_property(prefix='D',
permissions=ad.ACCESS_CREATE | ad.ACCESS_READ, default='')
def to(self, value):
return value