[nautilus] Make sure error dialog has a parent
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] Make sure error dialog has a parent
- Date: Tue, 7 Aug 2012 19:53:53 +0000 (UTC)
commit fbc739e05e759b292a8dcaa8bc675ceda7b573f9
Author: William Jon McCann <jmccann redhat com>
Date: Tue Aug 7 13:49:58 2012 -0400
Make sure error dialog has a parent
src/nautilus-window-manage-views.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-window-manage-views.c b/src/nautilus-window-manage-views.c
index 8e24b1a..4eb0300 100644
--- a/src/nautilus-window-manage-views.c
+++ b/src/nautilus-window-manage-views.c
@@ -1677,7 +1677,7 @@ display_view_selection_failure (NautilusWindow *window, NautilusFile *file,
detail_message = g_strdup_printf (_("Error: %s\nPlease select another viewer and try again."), error->message);
}
- eel_show_error_dialog (error_message, detail_message, NULL);
+ eel_show_error_dialog (error_message, detail_message, GTK_WINDOW (window));
g_free (uri_for_display);
g_free (error_message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]