ibus/Always-save-the-content-type-cache-for-gnome-shell-p.patch
Fuminobu Takeyama cb03dc643a Accepting request 205368 from home:tiwai:branches:M17N
- Always-save-the-content-type-cache-for-gnome-shell-p.patch:
  This is an additional fix patch for ibus to avoid the wrong
  IBus.InputPurpose.PASSWORD advertisement, which leads to the
  password text appearance on GNOME3 (bnc#847718)

OBS-URL: https://build.opensuse.org/request/show/205368
OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=83
2013-10-31 15:36:41 +00:00

31 lines
1.0 KiB
Diff

From 9596aea2e2df4cd3ac9b795ad9f354723cf83317 Mon Sep 17 00:00:00 2001
From: fujiwarat <takao.fujiwara1@gmail.com>
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)