[gnome-packagekit] trivial: ensure we show and hide the GtkInfoBar for other updates in the right places
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit] trivial: ensure we show and hide the GtkInfoBar for other updates in the right places
- Date: Thu, 29 Apr 2010 08:14:04 +0000 (UTC)
commit 5602900324816fb88dfd55f0a4f41a9cd9e4623b
Author: Richard Hughes <richard hughsie com>
Date: Thu Apr 29 09:11:20 2010 +0100
trivial: ensure we show and hide the GtkInfoBar for other updates in the right places
src/gpk-update-viewer.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/gpk-update-viewer.c b/src/gpk-update-viewer.c
index cc0a30f..52384b2 100644
--- a/src/gpk-update-viewer.c
+++ b/src/gpk-update-viewer.c
@@ -1209,6 +1209,9 @@ gpk_update_viewer_button_install_cb (GtkWidget *widget, GpkUpdateViewer *update_
widget = GTK_WIDGET(gtk_builder_get_object (priv->builder, "viewport_upgrade"));
gtk_widget_hide (widget);
+ /* hide the held-back notice */
+ gtk_widget_hide (priv->info_updates);
+
egg_debug ("Doing the package updates");
/* no not allow to be unclicked at install time */
@@ -2603,7 +2606,7 @@ gpk_update_viewer_get_updates_cb (PkClient *client, GAsyncResult *res, GpkUpdate
"type", &message_type,
NULL);
if (message_type == PK_MESSAGE_ENUM_OTHER_UPDATES_HELD_BACK)
- gtk_widget_show (priv->info_mobile);
+ gtk_widget_show (priv->info_updates);
}
/* get data */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]