[gnome-settings-daemon] media-keys: don't show label for analog-output ports
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] media-keys: don't show label for analog-output ports
- Date: Mon, 4 Mar 2013 20:35:09 +0000 (UTC)
commit 20b782840f476105e81db56bf15b26a79342957c
Author: William Jon McCann <william jon mccann gmail com>
Date: Sat Mar 2 10:30:08 2013 -0500
media-keys: don't show label for analog-output ports
https://bugzilla.gnome.org/show_bug.cgi?id=694989
plugins/media-keys/gsd-media-keys-manager.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index 3d1f95b..ed1b18b 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -1049,7 +1049,8 @@ update_dialog (GsdMediaKeysManager *manager,
icon = get_icon_name_for_volume (!GVC_IS_MIXER_SINK (stream), muted, vol);
port = gvc_mixer_stream_get_port (stream);
if (g_strcmp0 (gvc_mixer_stream_get_form_factor (stream), "internal") != 0 ||
- g_strcmp0 (port->port, "analog-output-speaker") != 0) {
+ (g_strcmp0 (port->port, "analog-output-speaker") != 0 &&
+ g_strcmp0 (port->port, "analog-output") != 0)) {
device = gvc_mixer_control_lookup_device_from_stream (manager->priv->volume, stream);
show_osd (manager, icon,
gvc_mixer_ui_device_get_description (device), vol);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]