Accepting request 205379 from 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) (forwarded request 205368 from tiwai) OBS-URL: https://build.opensuse.org/request/show/205379 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ibus?expand=0&rev=43
This commit is contained in:
commit
35f5a3e16a
30
Always-save-the-content-type-cache-for-gnome-shell-p.patch
Normal file
30
Always-save-the-content-type-cache-for-gnome-shell-p.patch
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
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)
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 31 14:46:37 CET 2013 - tiwai@suse.de
|
||||||
|
|
||||||
|
- 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)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 17 07:13:31 UTC 2013 - i@marguerite.su
|
Thu Oct 17 07:13:31 UTC 2013 - i@marguerite.su
|
||||||
|
|
||||||
|
@ -41,6 +41,8 @@ Patch2: reload-preload-engines-until-users-customize-the-list.patch
|
|||||||
%endif
|
%endif
|
||||||
# PATCH-FIX-OPENSUSE reload-preload-engines-until-users-customize-the-list.patch ftake@geeko.jp
|
# PATCH-FIX-OPENSUSE reload-preload-engines-until-users-customize-the-list.patch ftake@geeko.jp
|
||||||
Patch3: show-input-mode-icon.patch
|
Patch3: show-input-mode-icon.patch
|
||||||
|
# PATCH-FIX-UPSTREAM Always-save-the-content-type-cache-for-gnome-shell-p.patch bnc#847718
|
||||||
|
Patch4: Always-save-the-content-type-cache-for-gnome-shell-p.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
PreReq: /usr/bin/touch
|
PreReq: /usr/bin/touch
|
||||||
Provides: locale(ja;ko;zh)
|
Provides: locale(ja;ko;zh)
|
||||||
@ -188,6 +190,7 @@ rm -f data/dconf/00-upstream-settings
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%patch3 -p1
|
%patch3 -p1
|
||||||
|
%patch4 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
|
Loading…
Reference in New Issue
Block a user