commit gedit-plugins for openSUSE:Factory
Hello community, here is the log from the commit of package gedit-plugins for openSUSE:Factory checked in at 2017-03-29 13:24:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gedit-plugins (Old) and /work/SRC/openSUSE:Factory/.gedit-plugins.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gedit-plugins" Wed Mar 29 13:24:36 2017 rev:44 rq:482353 version:3.22.0 Changes: -------- --- /work/SRC/openSUSE:Factory/gedit-plugins/gedit-plugins.changes 2016-10-03 09:37:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gedit-plugins.new/gedit-plugins.changes 2017-03-29 13:24:38.427866807 +0200 @@ -1,0 +2,7 @@ +Wed Mar 1 12:59:52 UTC 2017 - hillwood@opensuse.org + +- Add bracketcompletion-use-key-release-event-to-work-wi.patch: + Switch to use key release event for ibus pinyin input method + (bgo#778737, boo#1027448). + +------------------------------------------------------------------- New: ---- bracketcompletion-use-key-release-event-to-work-wi.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gedit-plugins.spec ++++++ --- /var/tmp/diff_new_pack.P49e0V/_old 2017-03-29 13:24:39.315741238 +0200 +++ /var/tmp/diff_new_pack.P49e0V/_new 2017-03-29 13:24:39.319740673 +0200 @@ -1,7 +1,7 @@ # # spec file for package gedit-plugins # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2009 Dominique Leuenberger, Almere, The Netherlands. # # All modifications and additions to the file contributed by third parties @@ -25,6 +25,8 @@ Release: 0 Source: http://download.gnome.org/sources/gedit-plugins/3.22/%{name}-%{version}.tar.xz Source1: gedit-plugins.SUSE +# PATCH-FIX-UPSTEAM bracketcompletion-use-key-release-event-to-work-wi.patch boo#1027448 bgo#778737 hillwood@opensuse.org -- Switch to use key release event for ibus pinyin input method +Patch0: bracketcompletion-use-key-release-event-to-work-wi.patch Url: http://live.gnome.org/GeditPlugins BuildRequires: fdupes BuildRequires: intltool @@ -272,6 +274,7 @@ %lang_package %prep %setup -q +%patch0 -p1 install %{S:1} . %if !0%{?is_opensuse} translation-update-upstream ++++++ bracketcompletion-use-key-release-event-to-work-wi.patch ++++++ From 7c2ce196a6bedeb903de840ca5416a06ca918b2b Mon Sep 17 00:00:00 2001 From: Peng Wu <alexepico@gmail.com> Date: Tue, 6 Sep 2016 11:13:19 +0800 Subject: [PATCH] bracketcompletion: use key release event to work with input method To work with ibus pinyin input method, switch to use key release event. https://bugzilla.gnome.org/show_bug.cgi?id=778737 --- plugins/bracketcompletion/bracketcompletion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/bracketcompletion/bracketcompletion.py b/plugins/bracketcompletion/bracketcompletion.py index 9da57c9..451db2e 100644 --- a/plugins/bracketcompletion/bracketcompletion.py +++ b/plugins/bracketcompletion/bracketcompletion.py @@ -248,7 +248,7 @@ class BracketCompletionPlugin(GObject.Object, Gedit.ViewActivatable): return False def on_event_after(self, view, event): - if event.type != Gdk.EventType.KEY_PRESS or \ + if event.type != Gdk.EventType.KEY_RELEASE or \ event.state & (Gdk.ModifierType.CONTROL_MASK | Gdk.ModifierType.MOD1_MASK) or \ event.keyval not in self._bracket_keyvals: return -- 2.9.3
participants (1)
-
root@hilbert.suse.de