<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Microphone port switch"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81580#c20">Comment # 20</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Microphone port switch"
href="https://bugs.freedesktop.org/show_bug.cgi?id=81580">bug 81580</a>
from <span class="vcard"><a class="email" href="mailto:superquad.vortex2@gmail.com" title="Raymond <superquad.vortex2@gmail.com>"> <span class="fn">Raymond</span></a>
</span></b>
<pre><a href="http://bazaar.launchpad.net/~unity-settings-daemon-team/unity-settings-daemon/trunk/view/head:/plugins/media-keys/what-did-you-plug-in/dialog-window.c">http://bazaar.launchpad.net/~unity-settings-daemon-team/unity-settings-daemon/trunk/view/head:/plugins/media-keys/what-did-you-plug-in/dialog-window.c</a>
one of the reason may be
the program logic assume headphone mode always supported
d->hp_btn = create_icon_button(WDYPI_DIALOG_HEADPHONES, _("Headphones"),
"audio-headphones");
gtk_box_pack_start(GTK_BOX(d->icon_box), d->hp_btn, FALSE, TRUE, 0);
if (show_headset) {
d->hs_btn = create_icon_button(WDYPI_DIALOG_HEADSET, _("Headset"),
"audio-headset");
gtk_box_pack_start(GTK_BOX(d->icon_box), d->hs_btn, FALSE, TRUE, 0);
}
if (show_mic) {
d->mic_btn = create_icon_button(WDYPI_DIALOG_MICROPHONE,
_("Microphone"), "audio-input-microphone");
gtk_box_pack_start(GTK_BOX(d->icon_box), d->mic_btn, FALSE, TRUE, 0);
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>