diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Gui/CCDBusBackend.py | 6 | ||||
-rw-r--r-- | src/Gui/CCMainWindow.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Gui/CCDBusBackend.py b/src/Gui/CCDBusBackend.py index ef8d82e9..9c745935 100644 --- a/src/Gui/CCDBusBackend.py +++ b/src/Gui/CCDBusBackend.py @@ -108,11 +108,11 @@ class DBusManager(gobject.GObject): self.emit("crash") def update_cb(self, message, job_id=0): - print "Update >>%s<< for job: %s" % (message, job_id) - self.emit("update", message, job_id) + print "Update >>%s<<" % message + self.emit("update", message) def warning_cb(self, message, job_id=0): - print "Warning >>%s<< for job: %s" % (message, job_id) + print "Warning >>%s<<" % message self.emit("warning", message) # Seems to be not needed at all. Not only that, it is actively harmful diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py index 9bfc9500..f8a20545 100644 --- a/src/Gui/CCMainWindow.py +++ b/src/Gui/CCMainWindow.py @@ -177,7 +177,7 @@ class MainWindow(): pass gui_error_message(_("Unable to finish current task!\n%s" % message), parent_dialog=self.window) - def update_cb(self, daemon, message, job_id): + def update_cb(self, daemon, message): message = message.replace('\n',' ') self.wTree.get_widget("lStatus").set_text(message) |