~gtg-user/gtg/tomboy-backend

« back to all changes in this revision

Viewing changes to GTG/gtg.py

  • Committer: Bryce Harrington
  • Date: 2010-08-02 22:32:40 UTC
  • Revision ID: bryce@canonical.com-20100802223240-op77srxe6p38qpka
Add a --no-crash-handler option to disable apport, to be used by debug.sh

(Looks like someone temporarily disabled apport anyway, but not sure
why, so left it disabled for now.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
    #main loop
102
102
    #To be more user friendly and get the logs of crashes, we show an apport
103
103
    # hooked window upon crashes
104
 
    #with signal_catcher(manager.close_browser):
 
104
    import sys
 
105
    if options.no_crash_handler == False:
 
106
        #FIXME: Why is this disabled?  Please comment when disabling functionality so we know. :-)
 
107
        #with signal_catcher(manager.close_browser):
 
108
        pass
105
109
    manager.main()
106
110
    core_main_quit(config, ds)
107
111