--- eel/eel-open-with-dialog.c.old	2006-03-21 23:54:26.000000000 +0100
+++ eel/eel-open-with-dialog.c	2006-06-22 19:10:56.000000000 +0200
@@ -593,8 +600,8 @@
 		GMenuTreeEntry *entry = l->data;
 		GtkTreeIter     iter;
 		GtkTreePath    *path;
-
-		if (prev_name && strcmp (gmenu_tree_entry_get_name (entry), prev_name) == 0) {
+		const char *name = gmenu_tree_entry_get_name (entry);
+		if (!name || (prev_name && strcmp (name, prev_name) == 0)) {
 			gmenu_tree_item_unref (entry);
 			continue;
 		}
