public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Takao Fujiwara <tfujiwar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ibus] autotool: Fixed Bug 654260 - NULL of focused input context
Date: Sun, 31 May 2026 02:04:54 GMT	[thread overview]
Message-ID: <178019309442.1.3999530312393306367.rpms-ibus-08b90e8e9563@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : 08b90e8e9563507943b2e3a7d8a7d171fae574e7
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date   : 2010-11-18T13:19:48+09:00
Stats  : +33/-5 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/08b90e8e9563507943b2e3a7d8a7d171fae574e7?branch=autotool

Log:
Fixed Bug 654260 - NULL of focused input context

---
diff --git a/ibus-HEAD.patch b/ibus-HEAD.patch
index b34e136..96a3691 100644
--- a/ibus-HEAD.patch
+++ b/ibus-HEAD.patch
@@ -376,3 +376,29 @@ index 978b467..98fa1d1 100644
          self.__builder.add_from_file(gtk_builder_file);
          self.__bus = None
          self.__init_bus()
+diff --git a/ui/gtk/engineabout.py b/ui/gtk/engineabout.py
+index 3ac853a..a34e930 100644
+--- a/ui/gtk/engineabout.py
++++ b/ui/gtk/engineabout.py
+@@ -25,7 +25,7 @@ from gtk import gdk
+ import pango
+ import ibus
+ 
+-from i18n import *
++from i18n import _, N_
+ 
+ class EngineAbout(gtk.Dialog):
+     def __init__(self, enginedesc):
+diff --git a/bus/inputcontext.c b/bus/inputcontext.c
+index ec72dd1..8af3ccb 100644
+--- a/bus/inputcontext.c
++++ b/bus/inputcontext.c
+@@ -699,7 +699,7 @@ _ic_process_key_event  (BusInputContext       *context,
+         /* workaround: set focus if context does not have focus */
+         BusInputContext *focused_context = bus_ibus_impl_get_focused_input_context (BUS_DEFAULT_IBUS);
+         if (context == NULL ||
+-            focused_context->fake == TRUE ||
++            (focused_context != NULL && focused_context->fake == TRUE) ||
+             context->fake == FALSE) {
+             /* grab focus, if context is a real IC or current focused IC is fake */
+             bus_input_context_focus_in (context);

diff --git a/ibus.spec b/ibus.spec
index 2860160..86458cd 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -12,7 +12,7 @@
 
 Name:       ibus
 Version:    1.3.99.20101028
-Release:    2%{?dist}
+Release:    3%{?dist}
 Summary:    Intelligent Input Bus for Linux OS
 License:    LGPLv2+
 Group:      System Environment/Libraries
@@ -310,13 +310,15 @@ fi
 %{_datadir}/gtk-doc/html/*
 
 %changelog
-* Fri Oct 29 2010 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.99.20101028-2
+* Thu Nov 18 2010 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.99.20101028-3
 - Added ibus-652157-x11-ppc64.patch
-  Fixes Bug 652157 - Window position of ibus-x11 in ppc64
+  Fixed Bug 652157 - Window position of ibus-x11 in ppc64
 - Added ibus-530711-preload-sys.patch
-  Fixes Bug 530711 - Reload preloaded engines by login
+  Fixed Bug 530711 - Reload preloaded engines by login
 - Updated ibus-HEAD.patch
-  Fixes ibus.get_version & gettext domain for gtkbuilder
+  Fixed ibus.get_version & gettext domain for gtkbuilder
+  Fixed undefined '_' in EngineAbout
+  Fixed Bug 654260 - NULL of focused input context
 - Applied no-snooper for 'gnome-do,Do.*,firefox.*,.*chrome.*,.*chromium.*'
 
 * Fri Oct 29 2010 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.99.20101028-1

                 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=178019309442.1.3999530312393306367.rpms-ibus-08b90e8e9563@fedoraproject.org \
    --to=tfujiwar@redhat.com \
    --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