Permalink
Browse files

Update_cell_renderer_attributes skipped in the icon view.

  • Loading branch information...
1 parent 996e7c2 commit 4de4ceaa2c8d635a83c5e90b6901264f776775b3 @simokivimaki committed Apr 16, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 gtk/gtkfilechooserdefault.c
@@ -10276,6 +10276,10 @@ update_cell_renderer_attributes (GtkFileChooserDefault *impl)
GList *walk, *list;
gboolean always_sensitive;
+ /* only applicable in the tree view (i.e. list view) */
+ if (!impl->browse_files_tree_view)
+ return
+
always_sensitive = impl->action != GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER &&
impl->action != GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER;

0 comments on commit 4de4cea

Please sign in to comment.