public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus] autotool: Fixed Bug 1554813 - Enter key on numpad in Emojier
@ 2026-05-31  2:06 Takao Fujiwara
  0 siblings, 0 replies; only message in thread
From: Takao Fujiwara @ 2026-05-31  2:06 UTC (permalink / raw)
  To: git-commits

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-05-31  2:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31  2:06 [rpms/ibus] autotool: Fixed Bug 1554813 - Enter key on numpad in Emojier Takao Fujiwara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox