add Charset_Create_List_UTF8_Only()
authorJosh Coalson <jcoalson@users.sourceforce.net>
Sun, 26 Sep 2004 03:17:21 +0000 (03:17 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Sun, 26 Sep 2004 03:17:21 +0000 (03:17 +0000)
src/plugin_xmms/charset.c
src/plugin_xmms/charset.h

index 3caf75a..4ed3251 100644 (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
index 7d5e763..ad5ea95 100644 (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);