After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 414645 - GstMixerTrack should make untranslated label available
GstMixerTrack should make untranslated label available
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other opensolaris
: Normal enhancement
: 0.10.13
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 377306
 
 
Reported: 2007-03-04 18:02 UTC by Tim-Philipp Müller
Modified: 2007-03-07 18:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
adds 'untranslated-label' property to GstMixerTrack (3.73 KB, patch)
2007-03-04 18:04 UTC, Tim-Philipp Müller
committed Details | Review
make alsamixer set the new 'untranslated-label' property (860 bytes, patch)
2007-03-04 18:06 UTC, Tim-Philipp Müller
committed Details | Review

Description Tim-Philipp Müller 2007-03-04 18:02:23 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.
Comment 1 Tim-Philipp Müller 2007-03-04 18:04:45 UTC
Created attachment 83905 [details] [review]
adds 'untranslated-label' property to GstMixerTrack
Comment 2 Tim-Philipp Müller 2007-03-04 18:06:23 UTC
Created attachment 83906 [details] [review]
make alsamixer set the new 'untranslated-label' property
Comment 3 Tim-Philipp Müller 2007-03-07 18:50:15 UTC
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>

        * gst-libs/gst/interfaces/mixertrack.c:
        (gst_mixer_track_class_init), (gst_mixer_track_get_property),
        (gst_mixer_track_set_property):
          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.