summaryrefslogtreecommitdiff
path: root/src/nautilus-error-reporting.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-error-reporting.c')
-rw-r--r--src/nautilus-error-reporting.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/nautilus-error-reporting.c b/src/nautilus-error-reporting.c
index 50a979d93..547edb904 100644
--- a/src/nautilus-error-reporting.c
+++ b/src/nautilus-error-reporting.c
@@ -30,6 +30,8 @@
#include <eel/eel-string.h>
#include <eel/eel-stock-dialogs.h>
+#include "nautilus-ui-utilities.h"
+
#define DEBUG_FLAG NAUTILUS_DEBUG_DIRECTORY_VIEW
#include "nautilus-debug.h"
@@ -110,7 +112,7 @@ nautilus_report_error_loading_directory (NautilusFile *file,
message = g_strdup (error->message);
}
- eel_show_error_dialog (_("This location could not be displayed."), message, parent_window);
+ show_error_dialog (_("This location could not be displayed."), message, parent_window);
}
void
@@ -162,7 +164,7 @@ nautilus_report_error_setting_group (NautilusFile *file,
}
- eel_show_error_dialog (_("The group could not be changed."), message, parent_window);
+ show_error_dialog (_("The group could not be changed."), message, parent_window);
}
void
@@ -186,7 +188,7 @@ nautilus_report_error_setting_owner (NautilusFile *file,
message = g_strdup_printf (_("Sorry, could not change the owner of ā€œ%sā€: %s"),
truncated_name, truncated_error_message);
- eel_show_error_dialog (_("The owner could not be changed."), message, parent_window);
+ show_error_dialog (_("The owner could not be changed."), message, parent_window);
}
void
@@ -210,7 +212,7 @@ nautilus_report_error_setting_permissions (NautilusFile *file,
message = g_strdup_printf (_("Sorry, could not change the permissions of ā€œ%sā€: %s"),
truncated_name, truncated_error_message);
- eel_show_error_dialog (_("The permissions could not be changed."), message, parent_window);
+ show_error_dialog (_("The permissions could not be changed."), message, parent_window);
}
typedef struct _NautilusRenameData
@@ -311,7 +313,7 @@ nautilus_report_error_renaming_file (NautilusFile *file,
truncated_error_message);
}
- eel_show_error_dialog (_("The item could not be renamed."), message, parent_window);
+ show_error_dialog (_("The item could not be renamed."), message, parent_window);
}
static void