summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-10-01 13:34:28 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-10-01 13:34:28 +0200
commitbbdd4e4c4417895678c8b74a8d7cffb9980b0b35 (patch)
tree01486d10cd98f02da3f2cc9edbe1242a3189cde8 /src
parent410484dae63be34fe22fc344d7275cc3e88a563b (diff)
downloadabrt-bbdd4e4c4417895678c8b74a8d7cffb9980b0b35.tar.gz
abrt-bbdd4e4c4417895678c8b74a8d7cffb9980b0b35.tar.xz
abrt-bbdd4e4c4417895678c8b74a8d7cffb9980b0b35.zip
abrt-gui: partially remove job_id parameter
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src')
-rw-r--r--src/Gui/CCDBusBackend.py6
-rw-r--r--src/Gui/CCMainWindow.py2
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)