[Sugar-devel] [PATCH sugar 15/21] CurrentActivityPalette: remove dead code

Sascha Silbe sascha-pgp at silbe.org
Sat Oct 16 18:20:17 EDT 2010


__active_window_changed_cb() is not referenced anywhere and contains broken
code.

Signed-off-by: Sascha Silbe <sascha-pgp at silbe.org>

diff --git a/src/jarabe/view/palettes.py b/src/jarabe/view/palettes.py
index cb30ed8..d9c1f6b 100644
--- a/src/jarabe/view/palettes.py
+++ b/src/jarabe/view/palettes.py
@@ -108,10 +108,6 @@ class CurrentActivityPalette(BasePalette):
             self._home_activity.get_window().activate( \
                 gtk.get_current_event_time())
 
-    def __active_window_changed_cb(self, screen, previous_window=None):
-        setup_view_source()
-        self._screen.disconnect(self._active_window_changed_sid)
-
     def __stop_activate_cb(self, menu_item):
         self._home_activity.get_window().close(1)
 
-- 
1.7.1



More information about the Sugar-devel mailing list