public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ibus] autotool: Fixed Bug 711632 SEGV with no icon in oxygen-gtk icon theme.
@ 2026-05-31 2:05 Takao Fujiwara
0 siblings, 0 replies; only message in thread
From: Takao Fujiwara @ 2026-05-31 2:05 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-31 2:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31 2:05 [rpms/ibus] autotool: Fixed Bug 711632 SEGV with no icon in oxygen-gtk icon theme Takao Fujiwara
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox