From 51c5c9deaabeeca84286890d4317c6dafd840d90 Mon Sep 17 00:00:00 2001 From: Peng Huang Date: Tue, 7 Apr 2009 06:31:43 +0000 Subject: [PATCH] Update default hotkeys --- ibus-default-hotkeys.patch | 32 ++++++++++++++++++++++++++++++++ ibus.spec | 7 ++++++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 ibus-default-hotkeys.patch diff --git a/ibus-default-hotkeys.patch b/ibus-default-hotkeys.patch new file mode 100644 index 0000000..7a4af7a --- /dev/null +++ b/ibus-default-hotkeys.patch @@ -0,0 +1,32 @@ +diff --git a/data/ibus.schemas.in b/data/ibus.schemas.in +index 9a6330d..9c0345f 100644 +--- a/data/ibus.schemas.in ++++ b/data/ibus.schemas.in +@@ -18,17 +18,11 @@ + ibus + list + string ++ [Control+space,Zenkaku_Hankaku,Alt+Zenkaku_Hankaku,Alt+grave,Hangul] + +- [Control+space] + Trigger Hotkey + Trigger hotkey for enable or disable input context + +- +- [Zenkaku_Hankaku,Alt+Zenkaku_Hankaku,Alt+grave] +- +- +- [Hangul,Shift+space] +- + + + /schemas/desktop/ibus/general/hotkey/next_engine +@@ -36,7 +30,7 @@ + ibus + list + string +- [] ++ [Alt+Shift_L] + + Next Engine Hotkey + Next engine hotkey for switch to next input method engine diff --git a/ibus.spec b/ibus.spec index 0fce72e..396bd18 100644 --- a/ibus.spec +++ b/ibus.spec @@ -8,7 +8,7 @@ Name: ibus Version: 1.1.0.20090407 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Intelligent Input Bus for Linux OS License: LGPLv2+ Group: System Environment/Libraries @@ -16,6 +16,7 @@ URL: http://code.google.com/p/ibus/ Source0: http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz Source1: xinput-ibus Patch0: ibus-HEAD.patch +Patch1: ibus-default-hotkeys.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -108,6 +109,7 @@ docs for ibus. # rm -rf docs/reference/ibus/ibus-sections.txt # %patch0 -p1 # ./autogen.sh --help +%patch1 -p1 %build %configure --disable-static \ @@ -218,6 +220,9 @@ fi %{_libdir}/pkgconfig/* %changelog +* Tue Apr 07 2009 Huang Peng - 1.1.0.20090407-2 +- Update default hotkey settings. + * Tue Apr 07 2009 Huang Peng - 1.1.0.20090407-1 - Update to ibus-1.1.0.20090407. - Fix bug 491042 - ibus default trigger hotkeys