diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2009-09-05 13:28:32 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-09-05 13:28:32 (GMT) |
commit | dc0c2cc7cbc9517acd386d369a037ed18540fc65 (patch) | |
tree | b64583566a75612fbf0a39567b822fdb50d67de0 /tawindow.py | |
parent | 05a5e01669c082e9d864508ab9bc93de3446fc8c (diff) |
refactoring toolbars again
Diffstat (limited to 'tawindow.py')
-rw-r--r-- | tawindow.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tawindow.py b/tawindow.py index 842d044..503d8cd 100644 --- a/tawindow.py +++ b/tawindow.py @@ -98,6 +98,7 @@ def twNew(win, path, lang, parent=None): tw.window = win tw.path = os.path.join(path,'images') tw.path_lang = os.path.join(path,'images',lang) + tw.path_en = os.path.join(path,'images/en') # en as fallback tw.load_save_folder = os.path.join(path,'samples') tw.save_folder = None tw.save_file_name = None @@ -213,12 +214,12 @@ def hideshow_palette(tw,state): if state is False: tw.palette == False if hasattr(tw,'activity'): - tw.activity.project_toolbar.do_hidepalette() + tw.activity.do_hidepalette() hide_palette(tw) else: tw.palette == True if hasattr(tw,'activity'): - tw.activity.project_toolbar.do_showpalette() + tw.activity.do_showpalette() show_palette(tw) def show_palette(tw): |