diff --git a/fix-file-chooser-button.patch b/fix-file-chooser-button.patch new file mode 100644 index 0000000..0fab5ea --- /dev/null +++ b/fix-file-chooser-button.patch @@ -0,0 +1,16 @@ +diff -up gtk+-2.14.3/gtk/gtkfilechooserdefault.c.fix-file-chooser-button gtk+-2.14.3/gtk/gtkfilechooserdefault.c +--- gtk+-2.14.3/gtk/gtkfilechooserdefault.c.fix-file-chooser-button 2008-10-08 01:57:49.000000000 -0400 ++++ gtk+-2.14.3/gtk/gtkfilechooserdefault.c 2008-10-08 01:58:21.000000000 -0400 +@@ -6906,10 +6906,10 @@ update_current_folder_get_info_cb (GCanc + g_object_unref (impl->current_folder); + + impl->current_folder = g_object_ref (data->file); +- +- impl->reload_state = RELOAD_HAS_FOLDER; + } + ++ impl->reload_state = RELOAD_HAS_FOLDER; ++ + /* Update the widgets that may trigger a folder change themselves. */ + + if (!impl->changing_folder) diff --git a/gtk2.spec b/gtk2.spec index 4c237ac..e438dab 100644 --- a/gtk2.spec +++ b/gtk2.spec @@ -16,7 +16,7 @@ Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X Name: gtk2 Version: %{base_version} -Release: 5%{?dist} +Release: 6%{?dist} License: LGPLv2+ Group: System Environment/Libraries Source: http://download.gnome.org/sources/gtk+/2.14/gtk+-%{version}.tar.bz2 @@ -34,6 +34,8 @@ Patch2: workaround.patch # http://bugzilla.gnome.org/show_bug.cgi?id=554950 Patch3: gail-make-resident.patch +Patch4: fix-file-chooser-button.patch + BuildRequires: atk-devel >= %{atk_version} BuildRequires: pango-devel >= %{pango_version} BuildRequires: glib2-devel >= %{glib2_version} @@ -120,6 +122,7 @@ docs for the GTK+ widget toolkit. %patch1 -p1 -b .set-invisible-char-to-bullet %patch2 -p1 -b .workaround %patch3 -p1 -b .gail-make-resident +%patch4 -p1 -b .fix-file-chooser-button for i in config.guess config.sub ; do test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i . @@ -301,6 +304,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gtk-2.0 %changelog +* Wed Oct 8 2008 Matthias Clasen - 2.14.3-6 +- Fix a problem with file chooser buttons + * Fri Oct 3 2008 Matthias Clasen - 2.14.3-5 - Prevent unloading of the gail module