[gnome-packagekit] Ensure the native and newest filters are synced at startup



commit 3e943b52e9ceccfe7e2bc93a216076310cb1bde8
Author: Richard Hughes <richard hughsie com>
Date:   Mon May 28 17:23:38 2012 +0100

    Ensure the native and newest filters are synced at startup

 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 a26bcab..5d56c4b 100644
--- a/src/gpk-application.c
+++ b/src/gpk-application.c
@@ -3472,6 +3472,10 @@ gpk_application_startup_cb (GtkApplication *application, GpkApplicationPrivate *
 	priv->action = GPK_ACTION_NONE;
 	gpk_application_change_queue_status (priv);
 
+	/* sync toggles */
+	gpk_application_key_changed_cb (priv->settings, "filter-newest", priv);
+	gpk_application_key_changed_cb (priv->settings, "filter-arch", priv);
+
 	/* hide details */
 	gpk_application_clear_details (priv);
 out:



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