[gedit] Fix string substitution error in error dislayed for unrecoverable saving error bar
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Fix string substitution error in error dislayed for unrecoverable saving error bar
- Date: Tue, 15 Feb 2011 17:17:37 +0000 (UTC)
commit 78287bd29c045d979e18531c9bd8f728a75cb876
Author: Julio Lajara <ju2wheels gmail com>
Date: Sat Feb 12 03:21:47 2011 -0500
Fix string substitution error in error dislayed for unrecoverable saving error bar
bgo#640319
gedit/gedit-io-error-info-bar.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gedit/gedit-io-error-info-bar.c b/gedit/gedit-io-error-info-bar.c
index 531d758..1fff9f8 100644
--- a/gedit/gedit-io-error-info-bar.c
+++ b/gedit/gedit-io-error-info-bar.c
@@ -1094,9 +1094,10 @@ gedit_unrecoverable_saving_error_info_bar_new (GFile *location,
}
else if (is_gio_error (error, G_IO_ERROR_INVALID_FILENAME))
{
- message_details = g_strdup (_("%s is not a valid location. "
- "Please check that you typed the "
- "location correctly and try again."));
+ message_details = g_strdup_printf (_("%s is not a valid location. "
+ "Please check that you typed the "
+ "location correctly and try again."),
+ uri_for_display);
}
else if (is_gio_error (error, G_IO_ERROR_PERMISSION_DENIED))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]