changeset 1918:01d56efd488b

jp: fixed traceback shown on a normal quit when a progression is finished
author Goffi <goffi@goffi.org>
date Mon, 21 Mar 2016 19:44:16 +0100
parents 05a5a125a238
children d3354c80bd1f
files frontends/src/jp/base.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/frontends/src/jp/base.py	Mon Mar 21 19:44:16 2016 +0100
+++ b/frontends/src/jp/base.py	Mon Mar 21 19:44:16 2016 +0100
@@ -272,7 +272,7 @@
         /!\: return must be used after calling this method !
         """
         assert self._need_loop
-        # XXX: python-dbus will show a traceback if we exit in a signal handler with an error code
+        # XXX: python-dbus will show a traceback if we exit in a signal handler
         # so we use this little timeout trick to avoid it
         GLib.timeout_add(0, self.quit, errcode)
 
@@ -496,7 +496,7 @@
                 pass
             self.onProgressFinished(metadata)
             if self.host.quit_on_progress_end:
-                self.host.quit()
+                self.host.quitFromSignal()
 
     def progressErrorHandler(self, uid, message, profile):
         if profile != self.profile: