Re: List view visiting icon



On Tue, 2004-03-09 at 20:06, Luca Ferretti wrote:
> Is seems that in list view is used gnome-fs-directory-accept to show
> that a folder is opened in another (spatial) window.
> 
> In icon view is used gnome-fs-directory-visiting.
> 
> Is it a misbehavior?

Yeah. That is wrong.

Release team, is this patch ok to commit?

Index: src/file-manager/fm-list-model.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/file-manager/fm-list-model.c,v
retrieving revision 1.27
diff -u -p -r1.27 fm-list-model.c
--- src/file-manager/fm-list-model.c	27 Feb 2004 21:59:59 -0000	1.27
+++ src/file-manager/fm-list-model.c	10 Mar 2004 08:47:09 -0000
@@ -217,7 +217,7 @@ fm_list_model_get_value (GtkTreeModel *t
 				path_b = gtk_tree_model_get_path (tree_model, iter);
 
 				if (gtk_tree_path_compare (path_a, path_b) == 0) {
-					modifier = "visiting";
+					modifier = "accept";
 				}
 					
 				gtk_tree_path_free (path_a);
@@ -226,7 +226,7 @@ fm_list_model_get_value (GtkTreeModel *t
 		}
 		
 		if (nautilus_file_has_open_window (file)) {
-			modifier = "accept";
+			modifier = "visiting";
 		}
 		
 		icon = nautilus_icon_factory_get_pixbuf_for_file (file, modifier, icon_size);


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a benighted drug-addicted photographer moving from town to town, helping 
folk in trouble. She's a bloodthirsty punk college professor with only herself 
to blame. They fight crime! 




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