[nautilus] Properly handle G_IO_ERROR_FAILED_HANDLED (#601096).



commit ae1e7474830fb98eea93e1f4aadbf6e2b6caefc2
Author: Marcus Carlson <marcus mejlamej nu>
Date:   Sat Jul 3 20:04:28 2010 +0200

    Properly handle G_IO_ERROR_FAILED_HANDLED (#601096).
    
    This avoid showing an useless message dialog when the user did not give
    authorization for mounting a device.

 src/nautilus-window-manage-views.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/nautilus-window-manage-views.c b/src/nautilus-window-manage-views.c
index 82ce5d1..941f3ab 100644
--- a/src/nautilus-window-manage-views.c
+++ b/src/nautilus-window-manage-views.c
@@ -1925,6 +1925,7 @@ display_view_selection_failure (NautilusWindow *window, NautilusFile *file,
 			detail_message = g_strdup (_("Check that the spelling is correct and that your proxy settings are correct."));
 			break;
 		case G_IO_ERROR_CANCELLED:
+		case G_IO_ERROR_FAILED_HANDLED:
 			g_free (uri_for_display);
 			return;
 			



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