[Bugs] #3902 untriaged UNSP: Fix Language section in Control Panel

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Sep 13 16:14:47 EDT 2012


#3902: Fix Language section in Control Panel
------------------------------------------+---------------------------------
    Reporter:  manuq                      |          Owner:  manuq      
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.98       
   Component:  untriaged                  |        Version:  Unspecified
    Severity:  Unspecified                |       Keywords:             
Distribution:  Unspecified                |   Status_field:  Unconfirmed
------------------------------------------+---------------------------------
 1. bug removing languages, fix:

 {{{
 --- a/extensions/cpsection/language/view.py
 +++ b/extensions/cpsection/language/view.py
 @@ -135,7 +135,7 @@ class Language(SectionView):

          if self._selected_lang_count > 1:
              previous_add_removes = self._add_remove_boxes[-2]
 -            previous_add_removes.hide_all()
 +            previous_add_removes.hide()

          self._determine_add_remove_visibility()
  }}}

 2. The view is expanded because of the description label "Add languages in
 the order you prefer...".  In the XO this is odd because you loose the X
 close buton and you are stuck in the control panel modal window.  From
 this testcase [1] it seems that removing set_width_chars(100) from the
 label help, but even removing that the container is expanded in Sugar.

 [1] http://dev.laptop.org/~manuq/shell-port/testchildexpand.py

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3902>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list