Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-08-21 14:59:32 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-08-21 14:59:32 (GMT)
commit544a400afca2493577909884881d87f4f4a10a10 (patch)
tree8831d58efed159997c175256b6d7ff3240bb13dd /shell
parent3df75e4c6e05ef6d4b5663b6f2755407264355f8 (diff)
Updated to use application/vnd.olpc-sugar instead of application/vnd.olpc-x-sugar.
Diffstat (limited to 'shell')
-rw-r--r--shell/view/clipboardicon.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/view/clipboardicon.py b/shell/view/clipboardicon.py
index c9d910a..5f4c47e 100644
--- a/shell/view/clipboardicon.py
+++ b/shell/view/clipboardicon.py
@@ -54,7 +54,7 @@ class ClipboardIcon(CanvasIcon):
self.palette = ClipboardMenu(self._object_id, self._name, self._percent,
self._preview, self._activity,
- formats and formats[0] == 'application/vnd.olpc-x-sugar')
+ formats and formats[0] == 'application/vnd.olpc-sugar')
def do_set_property(self, pspec, value):
if pspec.name == 'selected':
@@ -80,7 +80,7 @@ class ClipboardIcon(CanvasIcon):
def set_state(self, name, percent, icon_name, preview, activity):
cb_service = clipboardservice.get_instance()
obj = cb_service.get_object(self._object_id)
- if obj['FORMATS'] and obj['FORMATS'][0] == 'application/vnd.olpc-x-sugar':
+ if obj['FORMATS'] and obj['FORMATS'][0] == 'application/vnd.olpc-sugar':
installable = True
else:
installable = False
@@ -88,7 +88,7 @@ class ClipboardIcon(CanvasIcon):
if icon_name:
self.props.icon_name = icon_name
else:
- self.props.icon_name = 'theme:unknown-object'
+ self.props.icon_name = 'theme:application-octet-stream'
self._name = name
self._percent = percent