[Sugar-devel] [PATCH sugar v2 15/21] CurrentActivityPalette: remove dead code
Simon Schampijer
simon at schampijer.de
Wed Nov 24 13:15:41 EST 2010
Reviewed-by: Simon Schampijer<simon at schampijer.de>
On 11/19/2010 10:13 PM, Sascha Silbe wrote:
> __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)
>
More information about the Sugar-devel
mailing list