--- nautilus/src/file-manager/fm-list-view.c	2007-05-20 23:51:35.000000000 +0800
+++ nautilus/src/file-manager/fm-list-view.c	2007-05-20 23:49:51.000000000 +0800
@@ -644,9 +644,11 @@
 			 * want that; we want the right click menu or single
 			 * click to apply to everything that's currently selected. */
 			
+			gboolean unselected_ground=FALSE;			
 			if (event->button == 3 && gtk_tree_selection_path_is_selected (selection, path)) {
 				call_parent = FALSE;
-			} 
+			} else if (event->button ==3)
+			        unselected_ground=TRUE;	
 			
 			if ((event->button == 1 || event->button == 2) &&
 			    ((event->state & GDK_CONTROL_MASK) != 0 ||
@@ -671,7 +673,7 @@
 				}
 			}
 		
-			if (call_parent) {
+			if (call_parent && !unselected_ground) {
 				tree_view_class->button_press_event (widget, event);
 			} else if (gtk_tree_selection_path_is_selected (selection, path)) {
 				gtk_widget_grab_focus (widget);
@@ -686,7 +688,11 @@
 			}
 			
 			if (event->button == 3) {
-				do_popup_menu (widget, view, event);
+				if (!unselected_ground)
+					do_popup_menu (widget, view, event);
+				else
+				        fm_directory_view_pop_up_background_context_menu (FM_DIRECTORY_VIEW (view), event);     
+				
 			}
 		}
 
