Add 2023 Era
- Fix PageDown/PageUp
This commit is contained in:
parent
242b59bae4
commit
21a2a0fda2
@ -366,3 +366,115 @@ index 33b2a31..404aa09 100644
|
|||||||
--
|
--
|
||||||
2.35.3
|
2.35.3
|
||||||
|
|
||||||
|
From d1e6853dc4f3cd26b5846b6e4e255bfcaf4e381a Mon Sep 17 00:00:00 2001
|
||||||
|
From: fujiwarat <takao.fujiwara1@gmail.com>
|
||||||
|
Date: Thu, 26 Jan 2023 19:11:16 +0900
|
||||||
|
Subject: [PATCH] engine: Fix page_up/page_down class methods (#27)
|
||||||
|
|
||||||
|
---
|
||||||
|
engine/python2/engine.py | 6 +++---
|
||||||
|
engine/python3/engine.py | 6 +++---
|
||||||
|
2 files changed, 6 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/engine/python2/engine.py b/engine/python2/engine.py
|
||||||
|
index 218b485..56c0cd5 100644
|
||||||
|
--- a/engine/python2/engine.py
|
||||||
|
+++ b/engine/python2/engine.py
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
# ibus-anthy - The Anthy engine for IBus
|
||||||
|
#
|
||||||
|
# Copyright (c) 2007-2008 Peng Huang <shawn.p.huang@gmail.com>
|
||||||
|
-# Copyright (c) 2010-2022 Takao Fujiwara <takao.fujiwara1@gmail.com>
|
||||||
|
+# Copyright (c) 2010-2023 Takao Fujiwara <takao.fujiwara1@gmail.com>
|
||||||
|
# Copyright (c) 2007-2018 Red Hat, Inc.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
@@ -1536,14 +1536,14 @@ class Engine(IBus.EngineSimple):
|
||||||
|
if self.__preedit_ja_string.is_empty():
|
||||||
|
return False
|
||||||
|
if self.__lookup_table_visible == True:
|
||||||
|
- self.do_page_up()
|
||||||
|
+ self.__page_up(self)
|
||||||
|
return True
|
||||||
|
|
||||||
|
def __on_key_page_down(self):
|
||||||
|
if self.__preedit_ja_string.is_empty():
|
||||||
|
return False
|
||||||
|
if self.__lookup_table_visible == True:
|
||||||
|
- self.do_page_down()
|
||||||
|
+ self.__page_down(self)
|
||||||
|
return True
|
||||||
|
|
||||||
|
'''def __on_key_left(self):
|
||||||
|
diff --git a/engine/python3/engine.py b/engine/python3/engine.py
|
||||||
|
index abb9c02..2ebf894 100644
|
||||||
|
--- a/engine/python3/engine.py
|
||||||
|
+++ b/engine/python3/engine.py
|
||||||
|
@@ -4,7 +4,7 @@
|
||||||
|
# ibus-anthy - The Anthy engine for IBus
|
||||||
|
#
|
||||||
|
# Copyright (c) 2007-2008 Peng Huang <shawn.p.huang@gmail.com>
|
||||||
|
-# Copyright (c) 2010-2022 Takao Fujiwara <takao.fujiwara1@gmail.com>
|
||||||
|
+# Copyright (c) 2010-2023 Takao Fujiwara <takao.fujiwara1@gmail.com>
|
||||||
|
# Copyright (c) 2007-2018 Red Hat, Inc.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
@@ -1531,14 +1531,14 @@ class Engine(IBus.EngineSimple):
|
||||||
|
if self.__preedit_ja_string.is_empty():
|
||||||
|
return False
|
||||||
|
if self.__lookup_table_visible == True:
|
||||||
|
- self.do_page_up()
|
||||||
|
+ self.__page_up(self)
|
||||||
|
return True
|
||||||
|
|
||||||
|
def __on_key_page_down(self):
|
||||||
|
if self.__preedit_ja_string.is_empty():
|
||||||
|
return False
|
||||||
|
if self.__lookup_table_visible == True:
|
||||||
|
- self.do_page_down()
|
||||||
|
+ self.__page_down(self)
|
||||||
|
return True
|
||||||
|
|
||||||
|
'''def __on_key_left(self):
|
||||||
|
--
|
||||||
|
2.38.1
|
||||||
|
|
||||||
|
From 227ec140cdf4ffcc4f129f59d9ca7db2076554b2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: fujiwarat <takao.fujiwara1@gmail.com>
|
||||||
|
Date: Thu, 26 Jan 2023 19:42:25 +0900
|
||||||
|
Subject: [PATCH] data: Update era.t with 2023
|
||||||
|
|
||||||
|
---
|
||||||
|
data/era.t | 5 ++++-
|
||||||
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/data/era.t b/data/era.t
|
||||||
|
index 686271f..7f7bd1b 100644
|
||||||
|
--- a/data/era.t
|
||||||
|
+++ b/data/era.t
|
||||||
|
@@ -2,7 +2,7 @@
|
||||||
|
#
|
||||||
|
# ibus-anthy - The Anthy engine for IBus
|
||||||
|
#
|
||||||
|
-# Copyright (c) 2010-2022 Takao Fujiwara <takao.fujiwara1@gmail.com>
|
||||||
|
+# Copyright (c) 2010-2023 Takao Fujiwara <takao.fujiwara1@gmail.com>
|
||||||
|
# Copyright (c) 2010-2013 Red Hat, Inc.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
@@ -340,6 +340,8 @@
|
||||||
|
れいわ3 #T35*500 2021
|
||||||
|
れいわ4 #T35*500 令和4
|
||||||
|
れいわ4 #T35*500 2022
|
||||||
|
+れいわ5 #T35*500 令和5
|
||||||
|
+れいわ5 #T35*500 2023
|
||||||
|
1868 #T35*500 明治1
|
||||||
|
1869 #T35*500 明治2
|
||||||
|
1870 #T35*500 明治3
|
||||||
|
@@ -499,3 +501,4 @@
|
||||||
|
2020 #T35*500 令和2
|
||||||
|
2021 #T35*500 令和3
|
||||||
|
2022 #T35*500 令和4
|
||||||
|
+2023 #T35*500 令和5
|
||||||
|
--
|
||||||
|
2.38.1
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
Name: ibus-anthy
|
Name: ibus-anthy
|
||||||
Version: 1.5.14
|
Version: 1.5.14
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: The Anthy engine for IBus input platform
|
Summary: The Anthy engine for IBus input platform
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
URL: https://github.com/ibus/ibus/wiki
|
URL: https://github.com/ibus/ibus/wiki
|
||||||
@ -156,6 +156,10 @@ make -C data check
|
|||||||
%{_datadir}/installed-tests/%{name}
|
%{_datadir}/installed-tests/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 26 2023 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.14-10
|
||||||
|
- Add 2023 Era
|
||||||
|
- Fix PageDown/PageUp
|
||||||
|
|
||||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.14-9
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.14-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user