Commit 618c8de2 authored by Loïc Minier's avatar Loïc Minier Committed by Loic Minier

Fix warnings and display of modified date / time in filechooser for some

2007-10-04  Loïc Minier  <lool@dooz.org>

       * gtk/gtkfilechooserdefault.c: (list_mtime_data_func): Fix warnings
       and display of modified date / time in filechooser for some locales as
       it was missing a locale to UTF-8 conversion. Fixes #482504.

svn path=/trunk/; revision=18880
parent afe6935e
2007-10-04 Loïc Minier <lool@dooz.org>
* gtk/gtkfilechooserdefault.c: (list_mtime_data_func): Fix warnings
and display of modified date / time in filechooser for some locales as
it was missing a locale to UTF-8 conversion. Fixes #482504.
2007-10-03 Xan Lopez <xan@gnome.org>
* gtk/gtknotebook.c: remove duplicated declaration of
......
......@@ -11144,7 +11144,7 @@ list_mtime_data_func (GtkTreeViewColumn *tree_column,
}
if (strftime (buf, sizeof (buf), format, &tm_mtime) != 0)
date_str = g_strdup (buf);
date_str = g_locale_to_utf8 (buf, -1, NULL, NULL, NULL);
else
date_str = g_strdup (_("Unknown"));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment