summaryrefslogtreecommitdiff
path: root/firefox-1.5-gtk-key-theme-crash.patch
diff options
context:
space:
mode:
authorChristopher Aillon <caillon@fedoraproject.org>2006-09-27 06:35:56 +0000
committerChristopher Aillon <caillon@fedoraproject.org>2006-09-27 06:35:56 +0000
commite27e6fefc5135cada75665f6f9913324433293a2 (patch)
treefa5e7934671e6c631f61461544dcc690569f02d9 /firefox-1.5-gtk-key-theme-crash.patch
parent- Arrrr! Add Obsoletes: mozilla to avoid GRE conflicts, me hearties! (diff)
downloadlibrewolf-fedora-ff-e27e6fefc5135cada75665f6f9913324433293a2.tar.gz
librewolf-fedora-ff-e27e6fefc5135cada75665f6f9913324433293a2.tar.bz2
librewolf-fedora-ff-e27e6fefc5135cada75665f6f9913324433293a2.zip
- Fix crash when changing gtk key theme
- Fix gtkmozembed window visibility - Prevent UI freezes while changing GNOME theme - Remove verbiage about pango; no longer required by upstream.
Diffstat (limited to 'firefox-1.5-gtk-key-theme-crash.patch')
-rw-r--r--firefox-1.5-gtk-key-theme-crash.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/firefox-1.5-gtk-key-theme-crash.patch b/firefox-1.5-gtk-key-theme-crash.patch
new file mode 100644
index 0000000..a9175cd
--- /dev/null
+++ b/firefox-1.5-gtk-key-theme-crash.patch
@@ -0,0 +1,27 @@
+Index: widget/src/gtk2/nsWindow.cpp
+===================================================================
+RCS file: /cvsroot/mozilla/widget/src/gtk2/nsWindow.cpp,v
+retrieving revision 1.185
+diff -u -8 -p -r1.185 nsWindow.cpp
+--- widget/src/gtk2/nsWindow.cpp 20 Sep 2006 19:16:19 -0000 1.185
++++ widget/src/gtk2/nsWindow.cpp 22 Sep 2006 05:07:04 -0000
+@@ -2859,19 +2859,16 @@ nsWindow::NativeCreate(nsIWidget
+ g_signal_connect(G_OBJECT(mShell), "window_state_event",
+ G_CALLBACK(window_state_event_cb), NULL);
+
+ GtkSettings* default_settings = gtk_settings_get_default();
+ g_signal_connect_after(default_settings,
+ "notify::gtk-theme-name",
+ G_CALLBACK(theme_changed_cb), this);
+ g_signal_connect_after(default_settings,
+- "notify::gtk-key-theme-name",
+- G_CALLBACK(theme_changed_cb), this);
+- g_signal_connect_after(default_settings,
+ "notify::gtk-font-name",
+ G_CALLBACK(theme_changed_cb), this);
+ }
+
+ if (mContainer) {
+ g_signal_connect_after(G_OBJECT(mContainer), "size_allocate",
+ G_CALLBACK(size_allocate_cb), NULL);
+ g_signal_connect(G_OBJECT(mContainer), "expose_event",
bgstack15