projects
/
platform
/
upstream
/
ibus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8f3616
)
Always save the content-type cache for gnome-shell password.
master
author
fujiwarat
<takao.fujiwara1@gmail.com>
Wed, 2 Oct 2013 01:58:36 +0000
(10:58 +0900)
committer
fujiwarat
<takao.fujiwara1@gmail.com>
Wed, 2 Oct 2013 01:58:36 +0000
(10:58 +0900)
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
patch
|
blob
|
history
diff --git
a/bus/engineproxy.c
b/bus/engineproxy.c
index 19c286167f788268ea557442a0908509f5484b04..efd95867cf9d91a74ad6026958a029c69f57bcb1 100644
(file)
--- a/
bus/engineproxy.c
+++ b/
bus/engineproxy.c
@@
-1159,6
+1159,11
@@
bus_engine_proxy_set_content_type (BusEngineProxy *engine,
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)