[Bugs] #407 UNSP: Set keyboard layout from control panel

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Thu Aug 20 07:06:45 EDT 2009


#407: Set keyboard layout from control panel
------------------------------------------+---------------------------------
    Reporter:  alsroot                    |          Owner:  erikos           
        Type:  defect                     |         Status:  assigned         
    Priority:  Unspecified by Maintainer  |      Milestone:  0.86             
   Component:  sugar                      |        Version:  Git as of bugdate
    Severity:  Unspecified                |     Resolution:                   
    Keywords:  r!                         |   Distribution:  SoaS             
Status_field:  New                        |  
------------------------------------------+---------------------------------

Comment(by erikos):

 Model:

 {{{
 class XKB(gobject.GObject)
 }}}
 I think we can derive from 'object' here. Not sure xkb is the best naming
 for the class, maybe we can use another name to avoid name clashes.

 {{{
 self._configreg = xklavier.ConfigRegistry(self._engine)
 }}}
 Maybe you just call it self._registry if self._config_registry is too
 long.

 {{{
 def _populate_one(self, c_reg, item, store)
 }}}
 Abbreviation

 {{{
 def get_options_grp(self)
 }}}
 Abbreviation
 (and some more in the code)


 General: We do not have a command line option (get, set in the model)
 anymore for the keyboard. Though, as this is problematic when one have
 messed up his keyboard, I think this is a good thing.

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/407#comment:12>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list