Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/view/frame/clipboardbox.py
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu@tomeuvizoso.net>2007-01-11 22:57:06 (GMT)
committer Tomeu Vizoso <tomeu@tomeuvizoso.net>2007-01-11 22:57:06 (GMT)
commit334be3331bf967d9b6c60f9d55e27d2374ecc94e (patch)
tree30e9686f6210f2bfdf3eb7029921bab484f7551c /shell/view/frame/clipboardbox.py
parentd0ce5a07d548643074081c3b451ac42f39f96027 (diff)
Some more usability fixes for the clipboard.
Diffstat (limited to 'shell/view/frame/clipboardbox.py')
-rw-r--r--shell/view/frame/clipboardbox.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/view/frame/clipboardbox.py b/shell/view/frame/clipboardbox.py
index ac6798e..5a902f9 100644
--- a/shell/view/frame/clipboardbox.py
+++ b/shell/view/frame/clipboardbox.py
@@ -89,9 +89,9 @@ class ClipboardBox(hippo.CanvasBox):
logging.debug('ClipboardBox: ' + object_id + ' was deleted.')
def _object_state_changed_cb(self, cb_service, object_id, name, percent,
- icon_name, preview):
+ icon_name, preview, activity):
icon = self._icons[object_id]
- icon.set_state(name, percent, icon_name, preview)
+ icon.set_state(name, percent, icon_name, preview, activity)
logging.debug('ClipboardBox: ' + object_id + ' state was changed.')
def drag_motion_cb(self, widget, context, x, y, time):
@@ -188,7 +188,7 @@ class ClipboardBox(hippo.CanvasBox):
def _get_targets_for_dnd(self, object_id):
cb_service = clipboardservice.get_instance()
- (name, percent, icon, preview, format_types) = \
+ (name, percent, icon, preview, activity, format_types) = \
cb_service.get_object(object_id)
targets = []