source-outputs: Source outputs do not support volume control, so hide the mute and lock channels buttons

This commit is contained in:
Colin Guthrie 2010-12-22 14:58:30 +00:00
parent f70ff92ecd
commit 73e57023ec
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,10 @@ SourceOutputWidget::SourceOutputWidget(BaseObjectType* cobject, const Glib::RefP
g_free(txt);
terminate.set_label(_("Terminate Recording"));
/* Source Outputs do not have volume controls */
muteToggleButton->hide();
lockToggleButton->hide();
}
SourceOutputWidget* SourceOutputWidget::create(MainWindow* mainWindow) {