From 9d41bfb6aac8822b1eadad8e9998c01e7a632d16 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Tue, 24 Mar 2009 15:00:58 +0000 Subject: Call *mount_finish when the callback is called #326 --- (limited to 'src') diff --git a/src/jarabe/view/palettes.py b/src/jarabe/view/palettes.py index 6124577..49d4e77 100644 --- a/src/jarabe/view/palettes.py +++ b/src/jarabe/view/palettes.py @@ -295,8 +295,9 @@ class VolumePalette(Palette): def __unmount_activate_cb(self, menu_item): self._mount.unmount(self.__unmount_cb) - def __unmount_cb(self, source, result): - logging.debug('__unmount_cb %r %r' % (source, result)) + def __unmount_cb(self, mount, result): + logging.debug('__unmount_cb %r %r' % (mount, result)) + mount.unmount_finish(result) def __popup_cb(self, palette): mount_point = self._mount.get_root().get_path() -- cgit v0.9.1