add Charset_Create_List_UTF8_Only()

This commit is contained in:
Josh Coalson
2004-09-26 03:17:21 +00:00
parent b445ebecab
commit cd6bc7c1f3
2 changed files with 9 additions and 0 deletions

View File

@@ -155,6 +155,14 @@ GList *Charset_Create_List (void)
return list;
}
GList *Charset_Create_List_UTF8_Only (void)
{
GList *list = NULL;
list = g_list_append(list,_(Charset_Get_Title_From_Name("UTF-8")));
return list;
}
/*
* Return charset_name from charset_title

View File

@@ -48,6 +48,7 @@ char *convert_from_utf8_to_user(const char *string);
char *convert_from_user_to_utf8(const char *string);
GList *Charset_Create_List (void);
GList *Charset_Create_List_UTF8_Only (void);
gchar *Charset_Get_Name_From_Title (gchar *charset_title);
gchar *Charset_Get_Title_From_Name (gchar *charset_name);