public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Takao Fujiwara <tfujiwar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Fixed Bug 1554813 - Enter key on numpad in Emojier
Date: Sun, 31 May 2026 02:06:48 GMT	[thread overview]
Message-ID: <178019320898.1.16166362378064620645.rpms-ibus-76af58317c37@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : 76af58317c37d1cfa7018fc9214aed4cc50428ac
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date   : 2018-03-15T17:38:34+09:00
Stats  : +81/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/76af58317c37d1cfa7018fc9214aed4cc50428ac?branch=autotool

Log:
Fixed Bug 1554813 - Enter key on numpad in Emojier

---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index e69de29..b7299df 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -0,0 +1,74 @@
+From c6439d74d5472c95de4d5c2cdc6487bfd508e3d8 Mon Sep 17 00:00:00 2001
+From: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Thu, 15 Mar 2018 16:57:02 +0900
+Subject: [PATCH] ui/gtk3: Add num pad Enter, Down, Up, Left, Right on Emojier
+
+BUG=rhbz#1554813
+R=Shawn.P.Huang@gmail.com
+
+Review URL: https://codereview.appspot.com/337690043
+---
+ ui/gtk3/emojier.vala | 25 +++++++++++++++++--------
+ 1 file changed, 17 insertions(+), 8 deletions(-)
+
+diff --git a/ui/gtk3/emojier.vala b/ui/gtk3/emojier.vala
+index 8707e432..24029703 100644
+--- a/ui/gtk3/emojier.vala
++++ b/ui/gtk3/emojier.vala
+@@ -1918,6 +1918,7 @@ public class IBusEmojier : Gtk.ApplicationWindow {
+                 return true;
+             break;
+         case Gdk.Key.Return:
++        case Gdk.Key.KP_Enter:
+             key_press_enter();
+             return true;
+         case Gdk.Key.BackSpace:
+@@ -1959,29 +1960,37 @@ public class IBusEmojier : Gtk.ApplicationWindow {
+             }
+             return true;
+         case Gdk.Key.Right:
+-            key_press_cursor_horizontal(keyval, modifiers);
++        case Gdk.Key.KP_Right:
++            key_press_cursor_horizontal(Gdk.Key.Right, modifiers);
+             return true;
+         case Gdk.Key.Left:
+-            key_press_cursor_horizontal(keyval, modifiers);
++        case Gdk.Key.KP_Left:
++            key_press_cursor_horizontal(Gdk.Key.Left, modifiers);
+             return true;
+         case Gdk.Key.Down:
+-            key_press_cursor_vertical(keyval, modifiers);
++        case Gdk.Key.KP_Down:
++            key_press_cursor_vertical(Gdk.Key.Down, modifiers);
+             return true;
+         case Gdk.Key.Up:
+-            key_press_cursor_vertical(keyval, modifiers);
++        case Gdk.Key.KP_Up:
++            key_press_cursor_vertical(Gdk.Key.Up, modifiers);
+             return true;
+         case Gdk.Key.Page_Down:
+-            key_press_cursor_vertical(keyval, modifiers);
++        case Gdk.Key.KP_Page_Down:
++            key_press_cursor_vertical(Gdk.Key.Page_Down, modifiers);
+             return true;
+         case Gdk.Key.Page_Up:
+-            key_press_cursor_vertical(keyval, modifiers);
++        case Gdk.Key.KP_Page_Up:
++            key_press_cursor_vertical(Gdk.Key.Page_Up, modifiers);
+             return true;
+         case Gdk.Key.Home:
+-            if (key_press_cursor_home_end(keyval, modifiers))
++        case Gdk.Key.KP_Home:
++            if (key_press_cursor_home_end(Gdk.Key.Home, modifiers))
+                 return true;
+             break;
+         case Gdk.Key.End:
+-            if (key_press_cursor_home_end(keyval, modifiers))
++        case Gdk.Key.KP_End:
++            if (key_press_cursor_home_end(Gdk.Key.End, modifiers))
+                 return true;
+             break;
+         case Gdk.Key.Insert:
+-- 
+2.14.3
+

diff --git a/ibus.spec b/ibus.spec
index 2bdeb2b..9e8360a 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -30,7 +30,7 @@
 
 Name:           ibus
 Version:        1.5.18
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Intelligent Input Bus for Linux OS
 License:        LGPLv2+
 Group:          System Environment/Libraries
@@ -41,6 +41,7 @@ Source2:        %{name}.conf.5
 # Will remove the annotation tarball once the rpm is available on Fedora
 # Upstreamed patches.
 # Patch0:         %%{name}-HEAD.patch
+Patch0:         %{name}-HEAD.patch
 %if %with_emoji_harfbuzz
 # Under testing self rendering until Pango, Fontconfig, Cairo are stable
 Patch1:         %{name}-xx-emoji-harfbuzz.patch
@@ -248,6 +249,7 @@ The ibus-devel-docs package contains developer documentation for IBus
 %prep
 %setup -q
 # %%patch0 -p1
+%patch0 -p1
 # cp client/gtk2/ibusimcontext.c client/gtk3/ibusimcontext.c ||
 %if %with_emoji_harfbuzz
 %patch1 -p1 -z .hb
@@ -429,8 +431,11 @@ dconf update || :
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Thu Mar 15 2018 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.18-3
+- Fixed Bug 1554813 - Enter key on numpad in Emojier
+
 * Fri Mar 09 2018 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.18-2
-= Rebuilt for cldr-emoji-annotation-32.90.0_1 and unicode-emoji-10.90.20180207
+- Rebuilt for cldr-emoji-annotation-32.90.0_1 and unicode-emoji-10.90.20180207
 
 * Fri Mar 02 2018 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.18-1
 - Bumped to 1.5.18

                 reply	other threads:[~2026-05-31  2:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178019320898.1.16166362378064620645.rpms-ibus-76af58317c37@fedoraproject.org \
    --to=tfujiwar@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox