rpms/gtk2/devel filechooser-auth.patch, NONE, 1.1 filechooser-iconsize.patch, NONE, 1.1 gtk2.spec, 1.286, 1.287

Matthias Clasen (mclasen) fedora-extras-commits at redhat.com
Wed Apr 9 17:44:39 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/gtk2/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13823

Modified Files:
	gtk2.spec 
Added Files:
	filechooser-auth.patch filechooser-iconsize.patch 
Log Message:
assorted gio fixes


filechooser-auth.patch:

--- NEW FILE filechooser-auth.patch ---
diff -up gtk+-2.12.9/gtk/gtkfilechooserdefault.c.filechooser-auth gtk+-2.12.9/gtk/gtkfilechooserdefault.c
--- gtk+-2.12.9/gtk/gtkfilechooserdefault.c.filechooser-auth	2008-04-09 13:39:03.000000000 -0400
+++ gtk+-2.12.9/gtk/gtkfilechooserdefault.c	2008-04-09 13:39:06.000000000 -0400
@@ -10377,7 +10377,7 @@ shortcuts_activate_get_info_cb (GtkFileS
 
   data->impl->shortcuts_activate_iter_handle = NULL;
 
-  if (cancelled)
+  if (cancelled || g_error_matches (error, G_FILE_ERROR, G_FILE_ERROR_INTR))
     goto out;
 
   if (!error && gtk_file_info_get_is_folder (info))

filechooser-iconsize.patch:

--- NEW FILE filechooser-iconsize.patch ---
diff -up gtk+-2.12.9/gtk/gtkfilesystem.c.iconsize gtk+-2.12.9/gtk/gtkfilesystem.c
--- gtk+-2.12.9/gtk/gtkfilesystem.c.iconsize	2008-04-09 12:32:53.000000000 -0400
+++ gtk+-2.12.9/gtk/gtkfilesystem.c	2008-04-09 12:34:15.000000000 -0400
@@ -306,7 +306,7 @@ gtk_file_info_render_icon (const GtkFile
       pixbuf = gtk_widget_render_icon (widget,
                                        gtk_file_info_get_is_folder (info)
                                         ? GTK_STOCK_DIRECTORY : GTK_STOCK_FILE,
-                                       GTK_ICON_SIZE_SMALL_TOOLBAR,
+                                       GTK_ICON_SIZE_MENU,
                                        NULL);
       if (!pixbuf && error)
         g_set_error (error,
@@ -670,7 +670,7 @@ gtk_file_system_volume_render_icon (GtkF
   if (!pixbuf)
     pixbuf = gtk_widget_render_icon (widget,
                                      GTK_STOCK_HARDDISK,
-                                     GTK_ICON_SIZE_SMALL_TOOLBAR,
+                                     GTK_ICON_SIZE_MENU,
                                      NULL);
 
   return pixbuf;


Index: gtk2.spec
===================================================================
RCS file: /cvs/extras/rpms/gtk2/devel/gtk2.spec,v
retrieving revision 1.286
retrieving revision 1.287
diff -u -r1.286 -r1.287
--- gtk2.spec	7 Apr 2008 18:25:08 -0000	1.286
+++ gtk2.spec	9 Apr 2008 17:42:09 -0000	1.287
@@ -16,7 +16,7 @@
 Summary: The GIMP ToolKit (GTK+), a library for creating GUIs for X
 Name: gtk2
 Version: %{base_version}
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 Source: http://download.gnome.org/sources/gtk+/2.12/gtk+-%{version}.tar.bz2
@@ -43,6 +43,11 @@
 # fixed upstream
 Patch6: implicit-g_fopen.patch
 
+# fixed upstream
+Patch7: filechooser-iconsize.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=521032
+Patch8: filechooser-auth.patch
+
 BuildRequires: atk-devel >= %{atk_version}
 BuildRequires: pango-devel >= %{pango_version}
 BuildRequires: glib2-devel >= %{glib2_version}
@@ -124,6 +129,8 @@
 %patch4 -p1 -b .im-setting
 %patch5 -p1 -b .foreign-cmap
 %patch6 -p1 -b .implicit-g_fopen
+%patch7 -p1 -b .filechooser-iconsize
+%patch8 -p1 -b .filechooser-auth
 
 for i in config.guess config.sub ; do
   test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i .
@@ -306,6 +313,11 @@
 %{_datadir}/gtk-2.0
 
 %changelog
+* Wed Apr  9 2008 Matthias Clasen  <mclasen at redhat.com> - 2.12.9-4
+- Make sure we use the right icon size for all icons in the
+  file chooser (Fix by Tomas Bzatek)
+- Improve the handling of auth dialogs in the file chooser (Tomas Bzatek)
+
 * Mon Apr  7 2008 Marek Kasik  <mkasik at redhat.com> - 2.12.9-3
 - Correction of "implicit declaration of function 'g_fopen'"
   warning




More information about the fedora-extras-commits mailing list