From 9596aea2e2df4cd3ac9b795ad9f354723cf83317 Mon Sep 17 00:00:00 2001 From: fujiwarat Date: Wed, 2 Oct 2013 10:58:36 +0900 Subject: [PATCH] Always save the content-type cache for gnome-shell password. GDBusProxy updates the cache immediatelly with the first call only and has to save the next call in the cache by manual. BUG=RH#1013948 TEST=password on gnome-shell 3.10. Review URL: https://codereview.appspot.com/14196043 --- bus/engineproxy.c | 5 +++++ 1 file changed, 5 insertions(+) --- a/bus/engineproxy.c +++ b/bus/engineproxy.c @@ -1159,6 +1159,11 @@ bus_engine_proxy_set_content_type (BusEn NULL, NULL, NULL); + + /* Need to update the cache by manual since there is a timing issue. */ + g_dbus_proxy_set_cached_property ((GDBusProxy *) engine, + "ContentType", + content_type); } if (cached_content_type != NULL)