[Sugar-devel] [PATCH sugar v2 15/21] CurrentActivityPalette: remove dead code
Sascha Silbe
sascha-pgp at silbe.org
Fri Nov 19 16:13:23 EST 2010
__active_window_changed_cb() is not referenced anywhere and contains broken
code.
Reviewed-by: James Cameron <quozl at laptop.org>
CC: Aleksey Lim <alsroot at member.fsf.org>
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.2.3
More information about the Sugar-devel
mailing list