[Bugs] #2986 UNSP: TurtleArt fails to launch due to keyboard shortcut workaround

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Jul 18 08:50:54 EDT 2011


#2986: TurtleArt fails to launch due to keyboard shortcut workaround
------------------------------------------+---------------------------------
    Reporter:  dsd                        |          Owner:  walter                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Turtleart                  |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 With the latest sugar-toolkit master and 0.92 that includes
 http://cgit.sugarlabs.org/sugar-
 toolkit/mainline.git/commit/?id=880e60bddaed0d5258afb4f53e135e55745245ac

 TurtleArt fails to launch.

 Gonzalo suggests the fix:

 {{{
 diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py
 index 69bb506..ba0e60c 100644
 --- a/TurtleArtActivity.py
 +++ b/TurtleArtActivity.py
 @@ -589,13 +589,7 @@ class TurtleArtActivity(activity.Activity):
          self._toolbox.show()
          # Setup palette toolbar only *after* initializing the plugins

 -        if self.has_toolbarbox:
 -            # Hack as a workaround for #2050
 -            edit_toolbar_button.set_expanded(True)
 -            edit_toolbar_button.set_expanded(False)
 -
 -            self._palette_toolbar_button.set_expanded(True)
 -        else:
 +        if not self.has_toolbarbox:
              self._toolbox.set_current_toolbar(1)

      def _setup_palette_toolbar(self):
 }}}

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


More information about the Bugs mailing list