rpms/ibus-rawcode/F-12 bug-546521.patch, NONE, 1.1 ibus-rawcode.spec, 1.5, 1.6
Pravin Satpute
pravins at fedoraproject.org
Fri Dec 11 06:47:23 UTC 2009
Author: pravins
Update of /cvs/pkgs/rpms/ibus-rawcode/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6364
Modified Files:
ibus-rawcode.spec
Added Files:
bug-546521.patch
Log Message:
* Fri Dec 11 2009 Pravin Satpute <psatpute at redhat.com> - @VERSON at -4
- resolved bug 546521
bug-546521.patch:
engine.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- NEW FILE bug-546521.patch ---
diff -rup ibus-rawcode-1.2.0.20090703/src/engine.c ibus-rawcode-1.2.0.20090703_mod/src/engine.c
--- ibus-rawcode-1.2.0.20090703/src/engine.c 2009-07-03 10:58:00.000000000 +0530
+++ ibus-rawcode-1.2.0.20090703_mod/src/engine.c 2009-12-11 12:11:53.000000000 +0530
@@ -273,7 +273,7 @@ ibus_rawcode_engine_process_key_event (I
}
if(keyval==IBUS_Up) {
- if(rawcode->table) {
+ if(rawcode->table->candidates->len != 0) {
// g_debug("print len %d", rawcode->table->len);
ibus_lookup_table_cursor_up(rawcode->table);
ibus_engine_update_lookup_table ((IBusEngine *)rawcode, rawcode->table, TRUE);
@@ -283,7 +283,7 @@ ibus_rawcode_engine_process_key_event (I
if(keyval==IBUS_Down) {
- if(rawcode->table) {
+ if(rawcode->table->candidates->len != 0) {
ibus_lookup_table_cursor_down(rawcode->table);
ibus_engine_update_lookup_table ((IBusEngine *)rawcode, rawcode->table, TRUE);
return TRUE;
@@ -291,7 +291,7 @@ ibus_rawcode_engine_process_key_event (I
}
if(keyval==IBUS_Return) {
- if(rawcode->table) {
+ if(rawcode->table->candidates->len != 0) {
IBusText *text;
text = ibus_lookup_table_get_candidate(rawcode->table, rawcode->table->cursor_pos);
ibus_engine_commit_text ((IBusEngine *)rawcode, text);
@@ -303,7 +303,7 @@ ibus_rawcode_engine_process_key_event (I
ibus_engine_update_preedit_text ((IBusEngine *)rawcode, text, 0, FALSE);
g_object_unref (text);
- return FALSE;
+ return TRUE;
}
}
Index: ibus-rawcode.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ibus-rawcode/F-12/ibus-rawcode.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- ibus-rawcode.spec 17 Nov 2009 06:38:01 -0000 1.5
+++ ibus-rawcode.spec 11 Dec 2009 06:47:23 -0000 1.6
@@ -1,6 +1,6 @@
Name: ibus-rawcode
Version: 1.2.0.20090703
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: The Rawcode engine for IBus input platform
License: GPLv2+
Group: System Environment/Libraries
@@ -15,7 +15,8 @@ BuildRequires: pkgconfig
BuildRequires: ibus-devel
Requires: ibus
-Patch1: bug-531989.patch
+Patch1: bug-531989.patch
+Patch2: bug-546521.patch
%description
The Rawcode engine for IBus platform.
@@ -23,6 +24,7 @@ The Rawcode engine for IBus platform.
%prep
%setup -q
%patch1 -p1 -b .1-crash-resolve
+%patch2 -p1 -b .2-handled-up-down-key
%build
%configure --disable-static
@@ -47,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/ibus/component/*
%changelog
+* Fri Dec 11 2009 Pravin Satpute <psatpute at redhat.com> - @VERSON at -4
+- resolved bug 546521
+
* Tue Nov 17 2009 Pravin Satpute <psatpute at redhat.com> - @VERSON at -3
- resolved bug 531989
More information about the fedora-extras-commits
mailing list