[gnome-packagekit] Use pk_task* instead pk_client* to show more info
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] Use pk_task* instead pk_client* to show more info
- Date: Sun, 26 Sep 2010 07:28:07 +0000 (UTC)
commit f6cacd761a698bb177d2fccf0dc963cb8155218b
Author: Zhang Qiang <qiang z zhang intel com>
Date: Sun Sep 26 11:03:44 2010 +0800
Use pk_task* instead pk_client* to show more info
This patch use pk_task_refresh_cache_async instead of
pk_client_refresh_cache_async in gpk_application_menu_refresh_cb while
user execute refresh operation. More info dialog can be show to user,
such as signature info dialog would be show to user if new signature is
needed for special repo.
src/gpk-application.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-application.c b/src/gpk-application.c
index f6daea7..40207f9 100644
--- a/src/gpk-application.c
+++ b/src/gpk-application.c
@@ -2919,7 +2919,7 @@ static void
gpk_application_menu_refresh_cb (GtkAction *action, GpkApplication *application)
{
g_return_if_fail (GPK_IS_APPLICATION (application));
- pk_client_refresh_cache_async (PK_CLIENT(application->priv->task), TRUE, application->priv->cancellable,
+ pk_task_refresh_cache_async (application->priv->task, TRUE, application->priv->cancellable,
(PkProgressCallback) gpk_application_progress_cb, application,
(GAsyncReadyCallback) gpk_application_refresh_cache_cb, application);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]