[gnome-packagekit/gnome-2-28] Ignore generic errors such as org.freedesktop.PackageKit.Modify.Failed and do not show UI in this ca
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-packagekit/gnome-2-28] Ignore generic errors such as org.freedesktop.PackageKit.Modify.Failed and do not show UI in this ca
- Date: Fri, 6 Nov 2009 12:40:59 +0000 (UTC)
commit 1673b2dc9e919c34fdab5da9d83f9e81f2f0c32e
Author: Richard Hughes <richard hughsie com>
Date: Fri Oct 30 12:54:35 2009 +0000
Ignore generic errors such as org.freedesktop.PackageKit.Modify.Failed and do not show UI in this case
src/gpk-common.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-common.c b/src/gpk-common.c
index 2b88a8a..fad29d6 100644
--- a/src/gpk-common.c
+++ b/src/gpk-common.c
@@ -717,7 +717,8 @@ gpk_ignore_session_error (GError *error)
if (name == NULL)
goto out;
- if (g_str_has_prefix (name, "org.freedesktop.PackageKit.Modify.Cancelled")) {
+ if (g_str_has_prefix (name, "org.freedesktop.PackageKit.Modify.Cancelled") ||
+ g_str_has_prefix (name, "org.freedesktop.PackageKit.Modify.Failed")) {
ret = TRUE;
goto out;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]