fix a problem with file chooser buttons

This commit is contained in:
Matthias Clasen 2008-10-08 06:00:04 +00:00
parent c96fb87e0a
commit 7b4c4afe35
2 changed files with 23 additions and 1 deletions

View File

@ -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)

View File

@ -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 <mclasen@redhat.com> - 2.14.3-6
- Fix a problem with file chooser buttons
* Fri Oct 3 2008 Matthias Clasen <mclasen@redhat.com> - 2.14.3-5
- Prevent unloading of the gail module