--- /home/marcus/temp/svn/nautilus-2.26.2/src/file-manager/fm-directory-view.c	2009-04-11 20:34:35.000000000 +0200
+++ src/file-manager/fm-directory-view.c	2009-06-29 21:43:52.000000000 +0200
@@ -4253,6 +4253,7 @@
 	char *action_name;
 	char *escaped_app;
 	GtkAction *action;
+	GIcon *app_icon;
 
 	launch_parameters = application_launch_parameters_new 
 		(application, files, view);
@@ -4271,6 +4272,17 @@
 				 tip,
 				 NULL);
 	
+	
+	app_icon = g_object_ref (g_app_info_get_icon (application));
+
+	if (app_icon == NULL)
+		app_icon = g_themed_icon_new (GTK_STOCK_OPEN);
+
+	gtk_action_set_gicon (action, app_icon);
+
+	g_object_unref (app_icon);
+
+
 	g_signal_connect_data (action, "activate",
 			       G_CALLBACK (open_with_launch_application_callback),
 			       launch_parameters, 
