[gnome-packagekit] Don't clear the welcome screen when starting gpk-application



commit 3142b4ffcd7fc7e989f87e223b57778e77a70f22
Author: Richard Hughes <richard hughsie com>
Date:   Tue Aug 16 15:26:23 2011 +0100

    Don't clear the welcome screen when starting gpk-application

 src/gpk-application.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-application.c b/src/gpk-application.c
index 890df52..6a90275 100644
--- a/src/gpk-application.c
+++ b/src/gpk-application.c
@@ -1718,6 +1718,10 @@ gpk_application_perform_search (gpointer user_data)
 	if (search_in_progress == TRUE)
 		return;
 
+	/* just shown the welcome screen */
+	if (search_mode == GPK_MODE_UNKNOWN)
+		return;
+
 	if (search_mode == GPK_MODE_NAME_DETAILS_FILE ||
 	    search_mode == GPK_MODE_GROUP ||
 	    search_mode == GPK_MODE_SELECTED) {



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