Ticket #2986 (closed defect: fixed)
TurtleArt fails to launch due to keyboard shortcut workaround
| Reported by: | dsd | Owned by: | walter |
|---|---|---|---|
| Priority: | Unspecified by Maintainer | Milestone: | Unspecified by Release Team |
| Component: | Turtleart | Version: | Unspecified |
| Severity: | Unspecified | Keywords: | |
| Cc: | Distribution/OS: | Unspecified | |
| Bug Status: | Unconfirmed |
Description
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):
Change History
Note: See
TracTickets for help on using
tickets.
