#11691 NORM 12.1.0: Name-this-Journal-Entry dialog does not show progress nor wait spinner while saving

Zarro Boogs per Child bugtracker at laptop.org
Mon May 7 08:19:23 EDT 2012


#11691: Name-this-Journal-Entry dialog does not show progress nor wait spinner
while saving
---------------------------------------+------------------------------------
           Reporter:  martin.langhoff  |       Owner:  erikos       
               Type:  defect           |      Status:  new          
           Priority:  normal           |   Milestone:  12.1.0       
          Component:  sugar-toolkit    |     Version:  not specified
         Resolution:                   |    Keywords:               
        Next_action:  code             |    Verified:  0            
Deployment_affected:                   |   Blockedby:               
           Blocking:                   |  
---------------------------------------+------------------------------------
Changes (by erikos):

  * next_action:  design => code


Comment:

 A simple spinner for an activity would be:

 {{{
 diff --git a/src/sugar/activity/activity.py
 b/src/sugar/activity/activity.py
 index fdf9827..34e9729 100644
 --- a/src/sugar/activity/activity.py
 +++ b/src/sugar/activity/activity.py
 @@ -897,6 +897,7 @@ class Activity(Window, gtk.Container):
          if not self.can_close():
              return

 +        self.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.WATCH))
          self.emit('_closing')

          if not self._closing:
 }}}

 and for the toolkit-gtk3 respectively:
 "self.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.WATCH))"

 Ihave applied it here locally and will report back how it feels like.

-- 
Ticket URL: <http://dev.laptop.org/ticket/11691#comment:4>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list