[gnome-packagekit/gnome-2-30] Ensure we wait for the users respnse when an application uses InstallMimeTypes. Fixes #28323



commit d8afb82e261de397389e5a1f7ae44c9132fba347
Author: Richard Hughes <richard hughsie com>
Date:   Tue Jun 1 14:08:49 2010 +0100

    Ensure we wait for the users respnse when an application uses InstallMimeTypes. Fixes #28323

 src/gpk-dbus-task.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/gpk-dbus-task.c b/src/gpk-dbus-task.c
index 00dce66..014dfef 100644
--- a/src/gpk-dbus-task.c
+++ b/src/gpk-dbus-task.c
@@ -1846,10 +1846,8 @@ gpk_dbus_task_mime_what_provides_cb (PkClient *client, GAsyncResult *res, GpkDbu
 		goto out;
 	}
 
-	/* populate a chooser */
+	/* populate a chooser and wait for response */
 	gpk_helper_chooser_show (dtask->priv->helper_chooser, array);
-
-	gpk_dbus_task_dbus_return_value (dtask, TRUE);
 out:
 	if (error_code != NULL)
 		g_object_unref (error_code);



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