--- libnautilus-private/nautilus-desktop-link-monitor.c.original        2009-12-08 16:17:07.000000000 +0100                                                     
+++ libnautilus-private/nautilus-desktop-link-monitor.c 2010-11-02 20:28:06.000000000 +0100                                                                     
@@ -103,23 +103,9 @@                                                            
                g_free (display_name);                                          
                                                                                
                if (g_mount_can_eject (mount)) {                                
-                       eel_run_simple_dialog                                   
-                               (parent_view,                                   
-                                FALSE,                                         
-                                GTK_MESSAGE_ERROR,
-                                dialog_str,
-                                _("If you want to eject the volume, please use \"Eject\" in the "
-                                  "popup menu of the volume."),
-                                GTK_STOCK_OK, NULL);
+                       nautilus_file_operations_unmount_mount (parent_view, mount, TRUE, TRUE);
                } else {
-                       eel_run_simple_dialog
-                               (parent_view,
-                                FALSE,
-                                GTK_MESSAGE_ERROR,
-                                dialog_str,
-                                _("If you want to unmount the volume, please use \"Unmount Volume\" in the "
-                                  "popup menu of the volume."),
-                                GTK_STOCK_OK, NULL);
+                       nautilus_file_operations_unmount_mount (parent_view, mount, FALSE, TRUE);
                }

                g_object_unref (mount);
