[gnome-packagekit] Don't get the update list when we are in the process of quitting



commit 1c41c961ccae87f9d7e2eb529a3ca5799cd1333d
Author: Richard Hughes <richard hughsie com>
Date:   Sun Apr 19 11:58:37 2009 +0100

    Don't get the update list when we are in the process of quitting
---
 src/gpk-update-viewer.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index d3225dd..0cde03f 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -1693,13 +1693,6 @@ gpk_update_viewer_finished_cb (PkClient *client, PkExitEnum exit, guint runtime,
 		g_main_loop_quit (loop);
 	}
 
-	/* check if we need to refresh list */
-	if (exit != PK_EXIT_ENUM_SUCCESS &&
-	    (role == PK_ROLE_ENUM_UPDATE_SYSTEM ||
-	     role == PK_ROLE_ENUM_UPDATE_PACKAGES)) {
-		gpk_update_viewer_get_new_update_list ();
-	}
-
 	/* we pressed cancel */
 	if (exit != PK_EXIT_ENUM_SUCCESS) {
 		gpk_update_viewer_undisable_packages ();



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