From f81f08a04fbafc5d84819bb95397aff41bef45c5 Mon Sep 17 00:00:00 2001 From: Jiri Moskovcak Date: Tue, 23 Nov 2010 22:51:37 +0100 Subject: GUI: handle crashdir parameter in crash_cb - crashdir in now in Crash signal, so we need to modify crash_cb to know about it, otherwise it ends up with exception and gui is not refreshed when crash happens while the gui is open --- src/gui/CCDBusBackend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/CCDBusBackend.py b/src/gui/CCDBusBackend.py index b983d141..3fa95eb9 100644 --- a/src/gui/CCDBusBackend.py +++ b/src/gui/CCDBusBackend.py @@ -141,7 +141,7 @@ class DBusManager(gobject.GObject): # dummy function for async method call to workaround the timeout pass - def crash_cb(self, package, uuid, uid=""): + def crash_cb(self, package, uuid, crashdir, uid="",): self.emit("crash", package, uuid, uid) def update_cb(self, message): -- cgit