mirror of
https://gitlab.freedesktop.org/pulseaudio/pavucontrol.git
synced 2026-05-07 20:08:20 +02:00
Remove the 'Default [Out|In]put' option from the combo for now.
It will be restored when it's actually possible to set/clear the default stream restore db
This commit is contained in:
parent
0667b9d5ea
commit
ca441f4c9d
1 changed files with 5 additions and 0 deletions
|
|
@ -186,10 +186,12 @@ void MainWindow::rebuildSinkCombo() {
|
|||
sinkTree->clear();
|
||||
sinkTreeIndexes.clear();
|
||||
|
||||
/*
|
||||
row = *(sinkTree->append());
|
||||
idx++;
|
||||
row[deviceColumns.index] = -1;
|
||||
row[deviceColumns.name] = "Default Output";
|
||||
*/
|
||||
|
||||
for (std::map<uint32_t, SinkWidget*>::iterator i = sinkWidgets.begin(); i != sinkWidgets.end(); ++i) {
|
||||
Gtk::TreeModel::Row row = *(sinkTree->append());
|
||||
|
|
@ -359,10 +361,13 @@ void MainWindow::rebuildSourceCombo() {
|
|||
|
||||
sourceTree->clear();
|
||||
sourceTreeIndexes.clear();
|
||||
|
||||
/*
|
||||
row = *(sourceTree->append());
|
||||
idx++;
|
||||
row[deviceColumns.index] = -1;
|
||||
row[deviceColumns.name] = "Default Input";
|
||||
*/
|
||||
|
||||
for (std::map<uint32_t, SourceWidget*>::iterator i = sourceWidgets.begin(); i != sourceWidgets.end(); ++i) {
|
||||
Gtk::TreeModel::Row row = *(sourceTree->append());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue