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
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
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"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user