#7836 BLOC 8.2.0 (: Greyscreen on home view after looking at list view

Zarro Boogs per Child bugtracker at laptop.org
Wed Aug 6 12:49:42 EDT 2008


#7836: Greyscreen on home view after looking at list view
-------------------------+--------------------------------------------------
   Reporter:  Charlie    |       Owner:  marco                            
       Type:  defect     |      Status:  new                              
   Priority:  blocker    |   Milestone:  8.2.0 (was Update.2)             
  Component:  sugar      |     Version:  Development build as of this date
 Resolution:             |    Keywords:                                   
Next_action:  never set  |    Verified:  0                                
  Blockedby:             |    Blocking:                                   
-------------------------+--------------------------------------------------

Comment(by erikos):

 sorry this should be better:

 {{{

 diff --git a/src/view/home/favoritesview.py
 b/src/view/home/favoritesview.py
 index 5910404..b549b12 100644
 --- a/src/view/home/favoritesview.py
 +++ b/src/view/home/favoritesview.py
 @@ -157,7 +157,9 @@ class FavoritesView(hippo.Canvas):

      def enable_xo_palette(self):
          self._my_icon.enable_palette()
 -        self._my_icon.register_menu.connect('activate',
 self.__register_activate_cb)
 +        if self._my_icon.register_menu is not None:
 +            self._my_icon.register_menu.connect('activate',
 +
 self.__register_activate_cb)

      # TODO: Dnd methods. This should be merged somehow inside hippo-
 canvas.
      def __button_press_event_cb(self, widget, event):

 }}}

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


More information about the Bugs mailing list