Skip to content

Commit

Permalink
Snowberry: Restore profiles before setting up UI
Browse files Browse the repository at this point in the history
Data in the profiles includes the language chosen by the user. This way
everything can be created using the correct language strings.
  • Loading branch information
skyjake committed Feb 26, 2013
1 parent a0ec9a1 commit 6a61072
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions snowberry/.tm_properties
@@ -1,2 +1,3 @@
excludeDirectories = {build,template-image,dist}
excludeInFolderSearch = {build,template-image,dist}
encoding = latin1
6 changes: 3 additions & 3 deletions snowberry/snowberry.py
Expand Up @@ -29,12 +29,12 @@ def main():
# Load all plugins.
plugins.loadAll()

# Prepare window layout and contents.
ui.prepareWindows()

# Load all profiles from disk.
sb.profdb.restore()

# Prepare window layout and contents.
ui.prepareWindows()

# Start the main loop.
#import profile
#profile.run('ui.startMainLoop()', 'prof.log')
Expand Down

0 comments on commit 6a61072

Please sign in to comment.