summaryrefslogtreecommitdiff
path: root/src/totem-subtitle-encoding.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2006-06-17 13:00:54 +0000
committerBastien Nocera <hadess@src.gnome.org>2006-06-17 13:00:54 +0000
commitc483313b76d8ff3b1bff5b1e0c7235fb554b3f27 (patch)
tree2403d4755e5242c1ce1df7ebaf334f50642c9ecd /src/totem-subtitle-encoding.h
parent6a3c6e7d8fbc1ea6b6c01823c4e532368d2196fe (diff)
downloadtotem-c483313b76d8ff3b1bff5b1e0c7235fb554b3f27.tar.gz
lower-case the encoding string, as it's the way xine-lib expects it
2006-06-17 Bastien Nocera <hadess@hadess.net> * src/Makefile.am: * src/backend/bacon-video-widget-xine.c: (bacon_video_widget_set_subtitle_encoding): lower-case the encoding string, as it's the way xine-lib expects it * src/totem-preferences.c: (on_encoding_set), (encoding_changed_cb), (totem_setup_preferences): * src/totem-subtitle-encoding.c: (find_encoding_by_charset), (subtitle_encoding_init), (subtitle_encoding_get_index), (subtitle_encoding_get_charset), (compare), (is_encoding_sensitive), (subtitle_encoding_create_store), (subtitle_encoding_combo_render), (totem_subtitle_encoding_get_selected), (totem_subtitle_encoding_set), (totem_subtitle_encoding_init): * src/totem-subtitle-encoding.h: * src/totem.c: Patch from Young-Ho Cha <ganadist at chollian net> to add subtitle selection to the Totem preferences (Closes: #342235) 2006-06-17 Bastien Nocera <hadess@hadess.net> * POTFILES.in: upd
Diffstat (limited to 'src/totem-subtitle-encoding.h')
-rw-r--r--src/totem-subtitle-encoding.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/totem-subtitle-encoding.h b/src/totem-subtitle-encoding.h
new file mode 100644
index 000000000..7283f003a
--- /dev/null
+++ b/src/totem-subtitle-encoding.h
@@ -0,0 +1,12 @@
+/* Encoding stuff */
+
+#ifndef TOTEM_SUBTITLE_ENCODING_H
+#define TOTEM_SUBTITLE_ENCODING_H
+
+#include <gtk/gtk.h>
+
+void totem_subtitle_encoding_init (GtkComboBox *combo);
+void totem_subtitle_encoding_set (GtkComboBox *combo, const char *encoding);
+const char * totem_subtitle_encoding_get_selected (GtkComboBox *combo);
+
+#endif /* SUBTITLE_ENCODING_H */