[anjuta] Exclude no reply error from packagekit dbus call since it takes long to install



commit 84208d9f4fddb4dc35fbdcde0cb81b6c611f319a
Author: Naba Kumar <naba gnome org>
Date:   Sun Jan 24 22:51:31 2010 +0200

    Exclude no reply error from packagekit dbus call since it takes long to install

 libanjuta/anjuta-utils.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libanjuta/anjuta-utils.c b/libanjuta/anjuta-utils.c
index d7c5257..c56e0aa 100644
--- a/libanjuta/anjuta-utils.c
+++ b/libanjuta/anjuta-utils.c
@@ -505,7 +505,8 @@ on_install_files_done (DBusGProxy *proxy, DBusGProxyCall *call_id,
 				error_message = _("You do not seem to have PackageKit installed. PackageKit is required for installing missing packages. Please install \"packagekit-gnome\" package from your distribution, or install the missing packages manually.");
 			}
 			/* General dbus error implies failure to call dbus method */
-			else if (error->code != DBUS_GERROR_REMOTE_EXCEPTION)
+			else if (error->code != DBUS_GERROR_REMOTE_EXCEPTION &&
+					 error->code != DBUS_GERROR_NO_REPLY)
 			{
 				error_message = error->message;
 			}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]