diff options
author | George Mocanu <mocanu.geo98@gmail.com> | 2018-05-20 12:09:48 +0300 |
---|---|---|
committer | George Mocanu <mocanu.geo98@gmail.com> | 2018-10-27 12:08:06 +0300 |
commit | 569c1acecbe01815a98cd42cfca5a4840b0e2754 (patch) | |
tree | a963f6e64c7235b54982c569948da891b0b91bed /src/nautilus-mime-actions.c | |
parent | 9d8f1a7bb82de8b22e5dd4cf650f862938e587f8 (diff) | |
download | nautilus-569c1acecbe01815a98cd42cfca5a4840b0e2754.tar.gz |
general: Fix the error dialog not showing
Since commit c1bb594d, a dialog error wouldn't be shown if
there was an error when renaming a file or setting permissions
to a file.
The user should be informed through a error dialog if something
went wrong in the above-mentioned use-cases.
This patch solves the issue by using the parent, instead of NULL.
Closes #705
Diffstat (limited to 'src/nautilus-mime-actions.c')
-rw-r--r-- | src/nautilus-mime-actions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c index baa22f37f..252dfea81 100644 --- a/src/nautilus-mime-actions.c +++ b/src/nautilus-mime-actions.c @@ -2125,7 +2125,7 @@ activation_mountable_started (NautilusFile *file, { show_dialog (_("Unable to start location"), error->message, - NULL, + parameters->parent_window, GTK_MESSAGE_ERROR); } |