[Bugs] #365 UNSP: Exposing shortcut for view source in the UI

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Wed Feb 18 17:20:50 EST 2009


#365: Exposing shortcut for view source in the UI
------------------------------------------+---------------------------------
    Reporter:  erikos                     |          Owner:  eben       
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.84       
   Component:  design                     |        Version:  Unspecified
    Severity:  Critical                   |     Resolution:             
    Keywords:                             |   Distribution:  Unspecified
Status_field:  Unconfimed                 |  
------------------------------------------+---------------------------------

Comment(by erikos):

 Exposing it in the activity palette has following issues:

 The design part:
 - open activity a and activity b
 - while activity b is open use the view source option in the palette of
 activity a
 - should activity a be resumed and the view source alert be displayed?

 Technical part:
 {{{
 def __view_source__cb(self, menu_item):
     import globalkey.viewsource
     globalkey.viewsource.handle_key_press('')
 }}}

 I can not import in the palette module directly. Not sure which is the
 right thing to do.

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


More information about the Bugs mailing list