#7841 NORM 8.2.0 (: Replace CP auto-launch (software update) with non-modal alert

Zarro Boogs per Child bugtracker at laptop.org
Mon Aug 25 08:03:33 EDT 2008


#7841: Replace CP auto-launch (software update) with non-modal alert
-----------------------+----------------------------------------------------
   Reporter:  Eben     |       Owner:  cscott                           
       Type:  defect   |      Status:  new                              
   Priority:  normal   |   Milestone:  8.2.0 (was Update.2)             
  Component:  sugar    |     Version:  Development build as of this date
 Resolution:           |    Keywords:  8.2.0:+ r+                       
Next_action:  package  |    Verified:  0                                
  Blockedby:           |    Blocking:                                   
-----------------------+----------------------------------------------------
Changes (by erikos):

  * next_action:  diagnose => package


Comment:

 After discussing with marco I will just remove the set_size_request part.

 {{{
 diff --git a/src/sugar/graphics/alert.py b/src/sugar/graphics/alert.py
 index a4d2a5a..39c373c 100644
 --- a/src/sugar/graphics/alert.py
 +++ b/src/sugar/graphics/alert.py
 @@ -105,9 +105,6 @@ class Alert(gtk.EventBox):
              if self._msg != value:
                  self._msg = value
                  self._msg_label.set_markup(self._msg)
 -                width, height_ = self._msg_label.size_request()
 -                self._msg_label.set_size_request(width-
 style.DEFAULT_SPACING,
 -                                                 -1)
                  self._msg_label.set_line_wrap(True)
          elif pspec.name == 'icon':
              if self._icon != value:
 }}}

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


More information about the Bugs mailing list