+++ /dev/null
-From 282bf68d2064972fd24de109e0280fd48c299c9c Mon Sep 17 00:00:00 2001
-From: Peng Huang <shawn.p.huang@gmail.com>
-Date: Thu, 25 Nov 2010 14:22:12 +0900
-Subject: [PATCH] Fix selected text be deleted problem.
-
----
- qtim/ibus-input-context.cpp | 13 ++++++++++++-
- 1 files changed, 12 insertions(+), 1 deletions(-)
-
-diff --git a/qtim/ibus-input-context.cpp b/qtim/ibus-input-context.cpp
-index c47fce6..fdfd34a 100644
---- a/qtim/ibus-input-context.cpp
-+++ b/qtim/ibus-input-context.cpp
-@@ -722,11 +722,22 @@ IBusInputContext::displayPreeditText (const TextPointer &text, uint cursor_pos,
- void
- IBusInputContext::slotUpdatePreeditText (const TextPointer &text, uint cursor_pos, bool visible)
- {
-+ // set visible to false, if text is empty
-+ visible = visible && !text->text ().isEmpty ();
-+
-+ // set cursor at end, if pos is greater than the text length
-+ if (cursor_pos > (uint)text->text ().length ())
-+ cursor_pos = text->text ().length ();
-+
-+ bool update = (m_preedit_visible != visible) || visible;
-+
- m_preedit = text;
- m_preedit_visible = visible;
- m_preedit_cursor_pos = cursor_pos;
-
-- displayPreeditText (m_preedit, m_preedit_cursor_pos, visible);
-+ if (update) {
-+ displayPreeditText (m_preedit, m_preedit_cursor_pos, visible);
-+ }
- }
-
- void
---
-1.7.2.1
-
Summary: Qt IBus library and Qt input method plugin
Summary(pl.UTF-8): Biblioteka Qt IBus oraz wtyczka metody wprowadzania znaków dla Qt
Name: ibus-qt
-Version: 1.3.1
-Release: 3
+Version: 1.3.2
+Release: 1
License: GPL v2+
Group: Libraries
#Source0Download: http://code.google.com/p/ibus/downloads/list
Source0: http://ibus.googlecode.com/files/%{name}-%{version}-Source.tar.gz
-# Source0-md5: 769e8872ca8a59327b2073ce2f142589
-Patch0: %{name}-HEAD.patch
+# Source0-md5: e53cb59f993d0c93ba968330dbc62c22
URL: http://code.google.com/p/ibus/
BuildRequires: QtCore-devel >= 4.5
BuildRequires: QtDBus-devel >= 4.5
%prep
%setup -q -n %{name}-%{version}-Source
-%patch0 -p1
%build
%cmake \