gnome-utils r8141 - in trunk/baobab: . src



Author: marzocca
Date: Sat Oct  4 14:01:54 2008
New Revision: 8141
URL: http://svn.gnome.org/viewvc/gnome-utils?rev=8141&view=rev

Log:
#fixes 554996

Modified:
   trunk/baobab/ChangeLog
   trunk/baobab/src/baobab-treeview.c

Modified: trunk/baobab/src/baobab-treeview.c
==============================================================================
--- trunk/baobab/src/baobab-treeview.c	(original)
+++ trunk/baobab/src/baobab-treeview.c	Sat Oct  4 14:01:54 2008
@@ -114,9 +114,9 @@
 		GFile *file;
 
 		file = g_file_parse_name (baobab.selected_path);
-
-		popupmenu_list (path, event, can_trash_file (file));
-
+		if (g_file_query_exists (file, NULL)) {
+		     popupmenu_list (path, event, can_trash_file (file));
+		}
 		gtk_tree_path_free (path);
 		g_object_unref (file);
 



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