Update of /cvsroot/freevo/freevo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28934

Modified Files:
        main.py 
Log Message:
make it possible to shut down freevo on crash

Index: main.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/main.py,v
retrieving revision 1.125
retrieving revision 1.126
diff -C2 -d -r1.125 -r1.126
*** main.py     6 Jun 2004 08:31:15 -0000       1.125
--- main.py     6 Jun 2004 10:31:42 -0000       1.126
***************
*** 11,14 ****
--- 11,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.126  2004/06/06 10:31:42  dischi
+ # make it possible to shut down freevo on crash
+ #
  # Revision 1.125  2004/06/06 08:31:15  dischi
  # check for mmpython version
***************
*** 330,342 ****
                      if config.FREEVO_EVENTHANDLER_SANDBOX:
                          traceback.print_exc()
!                         from gui import AlertBox
!                         pop = AlertBox(text=_('Event \'%s\' crashed\n\nPlease take a 
' \
!                                               'look at the logfile and report the 
bug to ' \
!                                               'the Freevo mailing list. The state of 
'\
!                                               'Freevo may be corrupt now and this 
error '\
!                                               'could cause more errors until you 
restart '\
!                                               'Freevo.\n\nLogfile: %s\n\n') % \
!                                        (event, sys.stdout.logfile),
!                                        width=osd.width-2*config.OSD_OVERSCAN_X-50)
                          pop.show()
                      else:
--- 333,351 ----
                      if config.FREEVO_EVENTHANDLER_SANDBOX:
                          traceback.print_exc()
!                         from gui import ConfirmBox
!                         pop = ConfirmBox(text=_('Event \'%s\' crashed\n\nPlease take 
a ' \
!                                                 'look at the logfile and report the 
bug to ' \
!                                                 'the Freevo mailing list. The state 
of '\
!                                                 'Freevo may be corrupt now and this 
error '\
!                                                 'could cause more errors until you 
restart '\
!                                                 'Freevo.\n\nLogfile: %s\n\n') % \
!                                          (event, sys.stdout.logfile),
!                                          width=osd.width-2*config.OSD_OVERSCAN_X-50,
!                                          handler=shutdown,
!                                          handler_message = _('shutting down...'))
!                         pop.b0.set_text(_('Shutdown'))
!                         pop.b0.toggle_selected()
!                         pop.b1.set_text(_('Continue'))
!                         pop.b1.toggle_selected()
                          pop.show()
                      else:



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to