- Bug 493706: ibus-hangul Hanja arrow keys are wrong
- Bug 493509: ibus-hangul missing right Ctrl for Hanja button These fixes are not ideal, but they make it usable for Fedora 11. These must become configurable in a future version.
This commit is contained in:
parent
1e66040994
commit
ffa41249af
27
ibus-hangul-1.1.0.20090328-hanja-arrow-keys.patch
Normal file
27
ibus-hangul-1.1.0.20090328-hanja-arrow-keys.patch
Normal file
@ -0,0 +1,27 @@
|
||||
diff -urN ibus-hangul-1.1.0.20090328.orig/src/engine.c ibus-hangul-1.1.0.20090328/src/engine.c
|
||||
--- ibus-hangul-1.1.0.20090328.orig/src/engine.c 2009-04-06 16:21:46.663081165 -0400
|
||||
+++ ibus-hangul-1.1.0.20090328/src/engine.c 2009-04-06 16:50:00.163321101 -0400
|
||||
@@ -384,19 +384,19 @@
|
||||
|
||||
ibus_hangul_engine_commit_current_candidate (hangul);
|
||||
ibus_hangul_engine_close_lookup_table (hangul);
|
||||
- } else if (keyval == IBUS_Left) {
|
||||
+ } else if (keyval == IBUS_Up) {
|
||||
ibus_lookup_table_cursor_up (hangul->table);
|
||||
ibus_hangul_engine_update_lookup_table (hangul);
|
||||
ibus_hangul_engine_update_auxiliary_text (hangul);
|
||||
- } else if (keyval == IBUS_Right) {
|
||||
+ } else if (keyval == IBUS_Down) {
|
||||
ibus_lookup_table_cursor_down (hangul->table);
|
||||
ibus_hangul_engine_update_lookup_table (hangul);
|
||||
ibus_hangul_engine_update_auxiliary_text (hangul);
|
||||
- } else if (keyval == IBUS_Up) {
|
||||
+ } else if (keyval == IBUS_Left) {
|
||||
ibus_lookup_table_page_up (hangul->table);
|
||||
ibus_hangul_engine_update_lookup_table (hangul);
|
||||
ibus_hangul_engine_update_auxiliary_text (hangul);
|
||||
- } else if (keyval == IBUS_Down) {
|
||||
+ } else if (keyval == IBUS_Right) {
|
||||
ibus_lookup_table_page_down (hangul->table);
|
||||
ibus_hangul_engine_update_lookup_table (hangul);
|
||||
ibus_hangul_engine_update_auxiliary_text (hangul);
|
12
ibus-hangul-1.1.0.20090328-right-ctrl-hanja.patch
Normal file
12
ibus-hangul-1.1.0.20090328-right-ctrl-hanja.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -urN ibus-hangul-1.1.0.20090328.orig/src/engine.c ibus-hangul-1.1.0.20090328/src/engine.c
|
||||
--- ibus-hangul-1.1.0.20090328.orig/src/engine.c 2009-03-26 01:50:18.000000000 -0400
|
||||
+++ ibus-hangul-1.1.0.20090328/src/engine.c 2009-04-06 16:20:44.935321507 -0400
|
||||
@@ -450,7 +450,7 @@
|
||||
if (keyval == IBUS_Shift_L || keyval == IBUS_Shift_R)
|
||||
return FALSE;
|
||||
|
||||
- if (keyval == IBUS_F9 || keyval == IBUS_Hangul_Hanja) {
|
||||
+ if (keyval == IBUS_F9 || keyval == IBUS_Hangul_Hanja || keyval == IBUS_Control_R) {
|
||||
ibus_hangul_engine_toggle_lookup_table (hangul);
|
||||
return TRUE;
|
||||
}
|
@ -1,11 +1,13 @@
|
||||
Name: ibus-hangul
|
||||
Version: 1.1.0.20090328
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: The Hangul engine for IBus input platform
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: http://code.google.com/p/ibus/
|
||||
Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
|
||||
Patch0: ibus-hangul-1.1.0.20090328-right-ctrl-hanja.patch
|
||||
Patch1: ibus-hangul-1.1.0.20090328-hanja-arrow-keys.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
@ -23,6 +25,8 @@ libhangul.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
@ -47,6 +51,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/ibus/component/*
|
||||
|
||||
%changelog
|
||||
* Sun Apr 12 2009 Warren Togami <wtogami@redhat.com> - 1.1.0.20090330-2
|
||||
- Bug 493706: ibus-hangul Hanja arrow keys are wrong
|
||||
- Bug 493509: ibus-hangul missing right Ctrl for Hanja button
|
||||
These fixes are not ideal, but they make it usable for Fedora 11.
|
||||
These must become configurable in a future version.
|
||||
|
||||
* Mon Mar 30 2009 Huang Peng <shawn.p.huang@gmail.com> - 1.1.0.20090330-1
|
||||
- Update version to 1.1.0.20090330.
|
||||
- Fix bug 486056 - missing options for 2bul, 3bul and other Korean layouts
|
||||
|
Loading…
Reference in New Issue
Block a user