GNOME Bugzilla – Bug 414645
GstMixerTrack should make untranslated label available
Last modified: 2007-03-07 18:50:15 UTC
+++ This bug was initially created as a clone of Bug #377306 +++
Some applications, e.g. gnome-volume-control, look at the mixer track label to find out what kind of icon they should show for it, if any.
The mixer track label, however, is a translated string, so this doesn't work very well for most languages.
Therefore, it would be good if GstMixerTrack made the untranslated track label available as well somehow.
Created attachment 83905 [details] [review]
adds 'untranslated-label' property to GstMixerTrack
Created attachment 83906 [details] [review]
make alsamixer set the new 'untranslated-label' property
Committed with minor fixes (update 'since', make alsamixeroptions implement it too, add unit test):
2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
Add "untranslated-label" property which should be set by implementations
at construct time (#414645).
* ext/alsa/gstalsamixeroptions.c: (gst_alsa_mixer_options_new):
* ext/alsa/gstalsamixertrack.c: (gst_alsa_mixer_track_new):
Set "untranslated-label" when constructing mixer track objects.
* tests/check/elements/alsa.c: (GST_START_TEST), (alsa_suite):
Unit test to check the above.