[Sugar-devel] [PATCH] [PATCH] Shutdown and Logout menu items should activate the buzzy cursor (SL#2151)

Tomeu Vizoso tomeu at sugarlabs.org
Mon Sep 20 05:37:24 EDT 2010


On Sun, Sep 19, 2010 at 19:51, Anurag Chowdhury <anurag at seeta.in> wrote:
> Shutdown (and Logout) menu items should activate the buzzy cursor (or provide some other visual feedback, perhaps dimming/locking the UI from use).
> ---
>  src/jarabe/view/buddymenu.py |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/src/jarabe/view/buddymenu.py b/src/jarabe/view/buddymenu.py
> index 0ba6cc1..6a60c71 100644
> --- a/src/jarabe/view/buddymenu.py
> +++ b/src/jarabe/view/buddymenu.py
> @@ -98,14 +98,17 @@ class BuddyMenu(Palette):
>         item.show()
>
>     def __logout_activate_cb(self, menu_item):
> +        self.window.get_window(set_cursor( gtk.gdk.Cursor(gtk.gdk.WATCH)))

I don't understand why this patch is being resubmitted without taking
into account the feedback given earlier.

Even more, has this patch been tested?

Please see the mailing list archives for the earlier discussion.

Regards,

Tomeu

>         session_manager = get_session_manager()
>         session_manager.logout()
>
>     def __reboot_activate_cb(self, menu_item):
> +        self.window.get_window(set_cursor( gtk.gdk.Cursor(gtk.gdk.WATCH)))
>         session_manager = get_session_manager()
>         session_manager.reboot()
>
>     def __shutdown_activate_cb(self, menu_item):
> +        self.window.get_window(set_cursor( gtk.gdk.Cursor(gtk.gdk.WATCH)))
>         session_manager = get_session_manager()
>         session_manager.shutdown()
>
> --
> 1.7.2.2
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>


More information about the Sugar-devel mailing list