nautilus r15154 - in trunk: . src/file-manager
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r15154 - in trunk: . src/file-manager
- Date: Mon, 30 Mar 2009 14:08:13 +0000 (UTC)
Author: alexl
Date: Mon Mar 30 14:08:13 2009
New Revision: 15154
URL: http://svn.gnome.org/viewvc/nautilus?rev=15154&view=rev
Log:
2009-03-30 Alexander Larsson <alexl redhat com>
* src/file-manager/fm-error-reporting.c:
(fm_report_error_loading_directory):
Don't show error about not mounted when loading a directory, as
this will anyway automaticall trigger a mount operation (and possible
error from that).
Modified:
trunk/ChangeLog
trunk/src/file-manager/fm-error-reporting.c
Modified: trunk/src/file-manager/fm-error-reporting.c
==============================================================================
--- trunk/src/file-manager/fm-error-reporting.c (original)
+++ trunk/src/file-manager/fm-error-reporting.c Mon Mar 30 14:08:13 2009
@@ -51,6 +51,12 @@
return;
}
+ if (error->domain == G_IO_ERROR &&
+ error->code == G_IO_ERROR_NOT_MOUNTED) {
+ /* This case is retried automatically */
+ return;
+ }
+
file_name = nautilus_file_get_display_name (file);
if (error->domain == G_IO_ERROR) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]