Updated ibus-HEAD.patch for width of ibus-setup.
This commit is contained in:
parent
fbd634d1f4
commit
1096fc9fd8
148
ibus-HEAD.patch
148
ibus-HEAD.patch
@ -1 +1,149 @@
|
|||||||
|
From 0be4664b2ea3071c01ff479443033eb1accdfb03 Mon Sep 17 00:00:00 2001
|
||||||
|
From: fujiwarat <takao.fujiwara1@gmail.com>
|
||||||
|
Date: Fri, 2 May 2014 11:55:08 +0900
|
||||||
|
Subject: [PATCH] Set max-width-chars property in ibus-setup wrapped
|
||||||
|
GtkLabel.
|
||||||
|
|
||||||
|
If GtkWindow has 'resizable' property = FALSE, the wrap in GtkLabel
|
||||||
|
is not done automatically and need to set 'max-width-chars' property.
|
||||||
|
|
||||||
|
TEST=ibus-setup
|
||||||
|
|
||||||
|
Review URL: https://codereview.appspot.com/92940043
|
||||||
|
---
|
||||||
|
setup/setup.ui | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/setup/setup.ui b/setup/setup.ui
|
||||||
|
index 5ffbe47..bb78433 100644
|
||||||
|
--- a/setup/setup.ui
|
||||||
|
+++ b/setup/setup.ui
|
||||||
|
@@ -902,6 +902,7 @@
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="wrap">True</property>
|
||||||
|
+ <property name="max_width_chars">74</property>
|
||||||
|
<property name="label" translatable="yes"><small><i>The active input method can be switched around from the selected ones in the above list by pressing the keyboard shortcut keys or clicking the panel icon.</i></small></property>
|
||||||
|
<property name="use_markup">True</property>
|
||||||
|
</object>
|
||||||
|
--
|
||||||
|
1.8.5.3
|
||||||
|
|
||||||
|
From 318836a647460e28dcc682543a118567474f9854 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Eike Hein <hein@kde.org>
|
||||||
|
Date: Thu, 8 May 2014 11:16:02 +0900
|
||||||
|
Subject: [PATCH] Add the nodeadkeys variant of the German keyboard layout.
|
||||||
|
|
||||||
|
BUG=http://code.google.com/p/ibus/issues/detail?id=1710
|
||||||
|
|
||||||
|
Review URL: https://codereview.appspot.com/96040043
|
||||||
|
Patch from Eike Hein <hein@kde.org>.
|
||||||
|
---
|
||||||
|
engine/simple.xml.in | 12 ++++++++++++
|
||||||
|
1 file changed, 12 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/engine/simple.xml.in b/engine/simple.xml.in
|
||||||
|
index b3ac6a5..9736421 100644
|
||||||
|
--- a/engine/simple.xml.in
|
||||||
|
+++ b/engine/simple.xml.in
|
||||||
|
@@ -330,6 +330,18 @@
|
||||||
|
<icon>ibus-keyboard</icon>
|
||||||
|
<rank>99</rank>
|
||||||
|
</engine>
|
||||||
|
+ <engine>
|
||||||
|
+ <name>xkb:de:nodeadkeys:ger</name>
|
||||||
|
+ <language>ger</language>
|
||||||
|
+ <license>GPL</license>
|
||||||
|
+ <author>Peng Huang <shawn.p.huang@gmail.com></author>
|
||||||
|
+ <layout>de</layout>
|
||||||
|
+ <layout_variant>nodeadkeys</layout_variant>
|
||||||
|
+ <longname>German (eliminate dead keys)</longname>
|
||||||
|
+ <description>German (eliminate dead keys)</description>
|
||||||
|
+ <icon>ibus-keyboard</icon>
|
||||||
|
+ <rank>99</rank>
|
||||||
|
+ </engine>
|
||||||
|
<engine>
|
||||||
|
<name>xkb:gr::gre</name>
|
||||||
|
<language>gre</language>
|
||||||
|
--
|
||||||
|
1.8.5.3
|
||||||
|
|
||||||
|
From 386bafb0b91a61d51385e0bba2b3fc4b1e2d9013 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ryu Changwoo <ryu.changwoo@gmail.com>
|
||||||
|
Date: Thu, 8 May 2014 11:23:14 +0900
|
||||||
|
Subject: [PATCH] Delete Korean keymap.
|
||||||
|
|
||||||
|
BUG=http://code.google.com/p/ibus/issues/detail?id=1708
|
||||||
|
|
||||||
|
Review URL: https://codereview.appspot.com/92090043
|
||||||
|
Patch from Ryu Changwoo <ryu.changwoo@gmail.com>.
|
||||||
|
---
|
||||||
|
engine/simple.xml.in | 12 ------------
|
||||||
|
1 file changed, 12 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/engine/simple.xml.in b/engine/simple.xml.in
|
||||||
|
index 9736421..1b617f8 100644
|
||||||
|
--- a/engine/simple.xml.in
|
||||||
|
+++ b/engine/simple.xml.in
|
||||||
|
@@ -682,17 +682,5 @@
|
||||||
|
<icon>ibus-keyboard</icon>
|
||||||
|
<rank>99</rank>
|
||||||
|
</engine>
|
||||||
|
- <engine>
|
||||||
|
- <name>xkb:kr:kr104:kor</name>
|
||||||
|
- <language>kor</language>
|
||||||
|
- <license>GPL</license>
|
||||||
|
- <author>Peng Huang <shawn.p.huang@gmail.com></author>
|
||||||
|
- <layout>kr</layout>
|
||||||
|
- <layout_variant>kr104</layout_variant>
|
||||||
|
- <longname>Korean (101/104 key compatible)</longname>
|
||||||
|
- <description>Korean (101/104 key compatible)</description>
|
||||||
|
- <icon>ibus-keyboard</icon>
|
||||||
|
- <rank>99</rank>
|
||||||
|
- </engine>
|
||||||
|
</engines>
|
||||||
|
</component>
|
||||||
|
--
|
||||||
|
1.8.5.3
|
||||||
|
|
||||||
|
From 34692850bd58543e016e35ea7c863d311ca92519 Mon Sep 17 00:00:00 2001
|
||||||
|
From: fujiwarat <takao.fujiwara1@gmail.com>
|
||||||
|
Date: Fri, 9 May 2014 11:40:21 +0900
|
||||||
|
Subject: [PATCH] Let ibus-ui-gtk3 not to show zero-lenght preedit text.
|
||||||
|
|
||||||
|
preedit text is shown by ibus-ui-gtk3 on X11 applications
|
||||||
|
and do not have to show it likes GTK+ when the lenght is zero.
|
||||||
|
|
||||||
|
BUG=http://code.google.com/p/ibus/issues/detail?id=1709
|
||||||
|
TEST=ibus-ui-gtk3 with ibus-pinyin and x11 applications
|
||||||
|
|
||||||
|
Review URL: https://codereview.appspot.com/93150043
|
||||||
|
---
|
||||||
|
ui/gtk3/candidatepanel.vala | 11 +++++++++--
|
||||||
|
1 file changed, 9 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/ui/gtk3/candidatepanel.vala b/ui/gtk3/candidatepanel.vala
|
||||||
|
index e22135b..db2d5aa 100644
|
||||||
|
--- a/ui/gtk3/candidatepanel.vala
|
||||||
|
+++ b/ui/gtk3/candidatepanel.vala
|
||||||
|
@@ -112,8 +112,15 @@ public class CandidatePanel : Gtk.Box{
|
||||||
|
|
||||||
|
public void set_preedit_text(IBus.Text? text, uint cursor) {
|
||||||
|
if (text != null) {
|
||||||
|
- m_preedit_label.set_text(text.get_text());
|
||||||
|
- m_preedit_label.show();
|
||||||
|
+ var str = text.get_text();
|
||||||
|
+
|
||||||
|
+ if (str.length > 0) {
|
||||||
|
+ m_preedit_label.set_text(str);
|
||||||
|
+ m_preedit_label.show();
|
||||||
|
+ } else {
|
||||||
|
+ m_preedit_label.set_text("");
|
||||||
|
+ m_preedit_label.hide();
|
||||||
|
+ }
|
||||||
|
} else {
|
||||||
|
m_preedit_label.set_text("");
|
||||||
|
m_preedit_label.hide();
|
||||||
|
--
|
||||||
|
1.8.5.3
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
|
|
||||||
Name: ibus
|
Name: ibus
|
||||||
Version: 1.5.7
|
Version: 1.5.7
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Intelligent Input Bus for Linux OS
|
Summary: Intelligent Input Bus for Linux OS
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -49,6 +49,7 @@ Source2: %{name}.conf.5
|
|||||||
Source3: https://github.com/ibus/ibus-xkb/archive/ibus-xkb-%{ibus_xkb_version}.tar.gz
|
Source3: https://github.com/ibus/ibus-xkb/archive/ibus-xkb-%{ibus_xkb_version}.tar.gz
|
||||||
# Upstreamed patches.
|
# Upstreamed patches.
|
||||||
# Patch0: %%{name}-HEAD.patch
|
# Patch0: %%{name}-HEAD.patch
|
||||||
|
Patch0: %{name}-HEAD.patch
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=810211
|
# https://bugzilla.redhat.com/show_bug.cgi?id=810211
|
||||||
Patch1: %{name}-810211-no-switch-by-no-trigger.patch
|
Patch1: %{name}-810211-no-switch-by-no-trigger.patch
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=541492
|
# https://bugzilla.redhat.com/show_bug.cgi?id=541492
|
||||||
@ -248,6 +249,7 @@ The ibus-devel-docs package contains developer documentation for ibus
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
# %%patch0 -p1
|
# %%patch0 -p1
|
||||||
|
%patch0 -p1
|
||||||
%if (0%{?fedora} < 20 && 0%{?rhel} < 8)
|
%if (0%{?fedora} < 20 && 0%{?rhel} < 8)
|
||||||
%patch96 -p1 -b .passwd
|
%patch96 -p1 -b .passwd
|
||||||
%endif
|
%endif
|
||||||
@ -464,6 +466,9 @@ fi
|
|||||||
%{_datadir}/gtk-doc/html/*
|
%{_datadir}/gtk-doc/html/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 20 2014 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.7-2
|
||||||
|
- Updated ibus-HEAD.patch for width of ibus-setup.
|
||||||
|
|
||||||
* Wed Apr 30 2014 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.7-1
|
* Wed Apr 30 2014 Takao Fujiwara <tfujiwar@redhat.com> - 1.5.7-1
|
||||||
- Bumped to 1.5.7
|
- Bumped to 1.5.7
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user