Ignore:
Timestamp:
11/05/12 13:48:23 (18 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Added user settings/preferences dialog.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/main.py

    r11183 r11250  
    6161                      help="Don't show splash screen.") 
    6262    parser.add_option("-l", "--log-level", 
    63                       help="Logging level (0, 1, 2, 3)", 
     63                      help="Logging level (0, 1, 2, 3, 4)", 
    6464                      type="int", default=1) 
    6565    parser.add_option("--no-redirect", 
     
    7979 
    8080    levels = [logging.CRITICAL, 
     81              logging.ERROR, 
    8182              logging.WARN, 
    8283              logging.INFO, 
     
    165166 
    166167    want_splash = \ 
    167         settings.value("startup/show-splash-screen", True).toPyObject() and \ 
     168        settings.value("startup/show-splash-screen", True).toBool() and \ 
    168169        not options.no_splash 
    169170 
     
    202203 
    203204    want_welcome = \ 
    204         settings.value("welcomedialog/show-at-startup", True).toBool() \ 
     205        settings.value("startup/show-welcome-screen", True).toBool() \ 
    205206        and not options.no_welcome 
    206207 
Note: See TracChangeset for help on using the changeset viewer.