[gimp] Bug 589674 – "Send by Email" does not update "Filename"
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Bug 589674 – "Send by Email" does not update "Filename"
- Date: Sat, 1 Aug 2009 16:40:09 +0000 (UTC)
commit f712a316dfde34facdc604a29e082bc54882a83f
Author: Michael Natterer <mitch gimp org>
Date: Sat Aug 1 18:39:18 2009 +0200
Bug 589674 â?? "Send by Email" does not update "Filename"
Use g_filename_display_basename() so it doesn't choke on non-utf8
filenames.
plug-ins/common/mail.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/mail.c b/plug-ins/common/mail.c
index 717245c..8f5625a 100644
--- a/plug-ins/common/mail.c
+++ b/plug-ins/common/mail.c
@@ -237,7 +237,7 @@ run (const gchar *name,
if (filename)
{
- gchar *basename = g_path_get_basename (filename);
+ gchar *basename = g_filename_display_basename (filename);
g_strlcpy (mail_info.filename, basename, BUFFER_SIZE);
g_free (basename);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]