gtk+ r19983 - in branches/gtk-2-12: . gtk



Author: tbzatek
Date: Tue Apr  8 14:59:47 2008
New Revision: 19983
URL: http://svn.gnome.org/viewvc/gtk+?rev=19983&view=rev

Log:
2008-04-08  Tomas Bzatek  <tbzatek redhat com> 

        * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
        (gtk_file_system_volume_render_icon):
        Fix fallback icon rendering size



Modified:
   branches/gtk-2-12/ChangeLog
   branches/gtk-2-12/gtk/gtkfilesystem.c

Modified: branches/gtk-2-12/gtk/gtkfilesystem.c
==============================================================================
--- branches/gtk-2-12/gtk/gtkfilesystem.c	(original)
+++ branches/gtk-2-12/gtk/gtkfilesystem.c	Tue Apr  8 14:59:47 2008
@@ -306,7 +306,7 @@
       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 @@
   if (!pixbuf)
     pixbuf = gtk_widget_render_icon (widget,
                                      GTK_STOCK_HARDDISK,
-                                     GTK_ICON_SIZE_SMALL_TOOLBAR,
+                                     GTK_ICON_SIZE_MENU,
                                      NULL);
 
   return pixbuf;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]