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 711632 SEGV with no icon in oxygen-gtk icon theme.
Date: Sun, 31 May 2026 02:05:11 GMT	[thread overview]
Message-ID: <178019311118.1.2901702842463806071.rpms-ibus-7c25acb4a81f@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ibus
Branch : autotool
Commit : 7c25acb4a81f9e04d7a19de471bedc5cba0fd659
Author : Takao Fujiwara <tfujiwar@redhat.com>
Date   : 2011-06-08T15:14:48+09:00
Stats  : +33/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/ibus/c/7c25acb4a81f9e04d7a19de471bedc5cba0fd659?branch=autotool

Log:
Fixed Bug 711632 SEGV with no icon in oxygen-gtk icon theme.

---
diff --git a/ibus-711632-fedora-fallback-icon.patch b/ibus-711632-fedora-fallback-icon.patch
new file mode 100644
index 0000000..8ad9e9a
--- /dev/null
+++ b/ibus-711632-fedora-fallback-icon.patch
@@ -0,0 +1,23 @@
+--- ibus/ui/gtk/main.py.orig	2011-04-25 12:33:39.296999692 +0900
++++ ibus/ui/gtk/main.py	2011-06-08 11:53:44.027232075 +0900
+@@ -86,6 +86,9 @@ class UIApplication:
+             pass
+ 
+ def launch_panel(replace):
++    settings = gtk.settings_get_default()
++    if settings.get_property('gtk-fallback-icon-theme') == None:
++        settings.set_property('gtk-fallback-icon-theme', 'gnome')
+     # gtk.settings_get_default().props.gtk_theme_name = "/home/phuang/.themes/aud-Default/gtk-2.0/gtkrc"
+     # gtk.rc_parse("./themes/default/gtkrc")
+     UIApplication(replace).run()
+--- ibus/ui/gtk/panel.py.orig	2011-06-08 12:16:40.107577438 +0900
++++ ibus/ui/gtk/panel.py	2011-06-08 12:17:00.440460268 +0900
+@@ -507,7 +507,7 @@ class Panel(ibus.PanelBase):
+             menu = gtk.Menu()
+             item = gtk.ImageMenuItem(_("No input window"))
+             size = gtk.icon_size_lookup(gtk.ICON_SIZE_MENU)
+-            item.set_image(_icon.IconWidget("gtk-info", size[0]))
++            item.set_image(_icon.IconWidget("gtk-dialog-info", size[0]))
+             menu.add(item)
+             menu.show_all()
+         else:

diff --git a/ibus.spec b/ibus.spec
index 6e3049e..15a20f6 100644
--- a/ibus.spec
+++ b/ibus.spec
@@ -13,7 +13,7 @@
 
 Name:       ibus
 Version:    1.3.99.20110419
-Release:    1%{?dist}
+Release:    2%{?dist}
 Summary:    Intelligent Input Bus for Linux OS
 License:    LGPLv2+
 Group:      System Environment/Libraries
@@ -30,6 +30,9 @@ Patch2:     ibus-541492-xkb.patch
 Patch3:     ibus-530711-preload-sys.patch
 Patch4:     ibus-xx-setup-frequent-lang.patch
 
+# Workaround for oxygen-gtk icon theme until bug 699103 is fixed.
+Patch91:    ibus-711632-fedora-fallback-icon.patch
+
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 
@@ -160,6 +163,8 @@ cp client/gtk2/ibusimcontext.c client/gtk3/ibusimcontext.c
 %patch3 -p1 -b .preload-sys
 %patch4 -p1 -b .setup-frequent-lang
 
+%patch91 -p1 -b .fallback-icon
+
 %build
 %if %have_libxkbfile
 aclocal -I m4
@@ -332,6 +337,10 @@ fi
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Wed Jun 08 2011 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.99.20110419-2
+- Added ibus-711632-fedora-fallback-icon.patch
+  Fixed SEGV with no icon in oxygen-gtk icon theme.
+
 * Thu May 26 2011 Takao Fujiwara <tfujiwar@redhat.com> - 1.3.99.20110419-1
 - Updated to 1.3.99.20110419
 - Added ibus-HEAD.patch

                 reply	other threads:[~2026-05-31  2:05 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=178019311118.1.2901702842463806071.rpms-ibus-7c25acb4a81f@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