public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peng Huang <phuang@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Fix bug 516145
Date: Sun, 31 May 2026 02:04:26 GMT	[thread overview]
Message-ID: <178019306605.1.14796569823982247905.rpms-ibus-0f8a6e118c18@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : 0f8a6e118c182c8209cda1286ee57c79d88f6c57
Author : Peng Huang <phuang@fedoraproject.org>
Date   : 2009-08-07T06:47:16+00:00
Stats  : +37/-4 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/0f8a6e118c182c8209cda1286ee57c79d88f6c57?branch=autotool

Log:
Fix bug 516145

---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index 8b13789..88eca00 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -1 +1,30 @@
-
+diff --git a/client/gtk2/ibusimcontext.c b/client/gtk2/ibusimcontext.c
+index 68a77d8..d914eae 100644
+--- a/client/gtk2/ibusimcontext.c
++++ b/client/gtk2/ibusimcontext.c
+@@ -774,14 +774,22 @@ _ibus_context_update_preedit_text_cb (IBusInputContext  *ibuscontext,
+     ibusimcontext->preedit_visible = visible;
+ 
+     if (ibusimcontext->preedit_visible) {
+-        if (flag)
++        if (flag) {
++            /* invisible => visible */
+             g_signal_emit (ibusimcontext, _signal_preedit_start_id, 0);
++        }
+         g_signal_emit (ibusimcontext, _signal_preedit_changed_id, 0);
+     }
+     else {
+-        g_signal_emit (ibusimcontext, _signal_preedit_changed_id, 0);
+-        if (flag)
++        if (flag) {
++            /* visible => invisible */
++            g_signal_emit (ibusimcontext, _signal_preedit_changed_id, 0);
+             g_signal_emit (ibusimcontext, _signal_preedit_end_id, 0);
++        }
++        else {
++            /* still invisible */
++            /* do nothing */
++        }
+     }
+ }
+ 

diff --git a/ibus.spec b/ibus.spec
index b5351d1..8175d1b 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -8,14 +8,14 @@
 
 Name:       ibus
 Version:    1.2.0.20090807
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    Intelligent Input Bus for Linux OS
 License:    LGPLv2+
 Group:      System Environment/Libraries
 URL:        http://code.google.com/p/ibus/
 Source0:    http://ibus.googlecode.com/files/%{name}-%{version}.tar.gz
 Source1:    xinput-ibus
-# Patch0:     ibus-HEAD.patch
+Patch0:     ibus-HEAD.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -114,7 +114,7 @@ The ibus-devel-docs package contains developer documentation for ibus
 
 %prep
 %setup -q
-# %patch0 -p1
+%patch0 -p1
 # ./autogen.sh --help
 
 %build
@@ -228,6 +228,10 @@ fi
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Fri Aug 07 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20090807-2
+- Update ibus-HEAD.patch
+- Fix bug 516154.
+
 * Fri Aug 07 2009 Peng Huang <shawn.p.huang@gmail.com> - 1.2.0.20090807-1
 - Update to 1.2.0.20090807
 

                 reply	other threads:[~2026-05-31  2:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178019306605.1.14796569823982247905.rpms-ibus-0f8a6e118c18@fedoraproject.org \
    --to=phuang@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox