summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2009-12-04 16:07:53 +0100
committerKarel Klic <kklic@redhat.com>2009-12-04 16:07:53 +0100
commit7b0292edc52d031db91ba6e38ff626a350959e2d (patch)
tree1bc0690042812a384de085c2c15d2c44dee7913f /src
parent6000bd05267dda6905f0324921d113167b7cc69d (diff)
parent917f59f0d812a3f01e3b6e6e0ab16ede041d2daf (diff)
downloadabrt-7b0292edc52d031db91ba6e38ff626a350959e2d.tar.gz
abrt-7b0292edc52d031db91ba6e38ff626a350959e2d.tar.xz
abrt-7b0292edc52d031db91ba6e38ff626a350959e2d.zip
Merge branch 'master' of git://git.fedorahosted.org/git/abrt
Diffstat (limited to 'src')
-rw-r--r--src/Daemon/CommLayerServerDBus.cpp6
-rw-r--r--src/Gui/CCMainWindow.py8
2 files changed, 4 insertions, 10 deletions
diff --git a/src/Daemon/CommLayerServerDBus.cpp b/src/Daemon/CommLayerServerDBus.cpp
index 8f3f504..27a18c2 100644
--- a/src/Daemon/CommLayerServerDBus.cpp
+++ b/src/Daemon/CommLayerServerDBus.cpp
@@ -315,11 +315,7 @@ static int handle_DeleteDebugDump(DBusMessage* call, DBusMessage* reply)
}
long unix_uid = get_remote_uid(call);
- bool argout1 = DeleteDebugDump(argin1, to_string(unix_uid).c_str());
-
- dbus_message_append_args(reply,
- DBUS_TYPE_BOOLEAN, &argout1,
- DBUS_TYPE_INVALID);
+ DeleteDebugDump(argin1, to_string(unix_uid).c_str());
send_flush_and_unref(reply);
return 0;
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py
index 88d931b..8e48050 100644
--- a/src/Gui/CCMainWindow.py
+++ b/src/Gui/CCMainWindow.py
@@ -257,11 +257,9 @@ class MainWindow():
# this should work until we keep the row object in the last position
dump = dumpsListStore.get_value(dumpsListStore.get_iter(path[0]), dumpsListStore.get_n_columns()-1)
try:
- if self.ccdaemon.DeleteDebugDump(dump.getUUID()):
- self.hydrate()
- treeview.emit("cursor-changed")
- else:
- print "Couldn't delete"
+ self.ccdaemon.DeleteDebugDump(dump.getUUID())
+ self.hydrate()
+ treeview.emit("cursor-changed")
except Exception, e:
print e