From ca441f4c9d1189d01836b24cc2eea6b8e023ecbb Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Mon, 16 Mar 2009 21:50:54 +0000 Subject: [PATCH] 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 --- src/mainwindow.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mainwindow.cc b/src/mainwindow.cc index a25e416..de7aab8 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -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::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::iterator i = sourceWidgets.begin(); i != sourceWidgets.end(); ++i) { Gtk::TreeModel::Row row = *(sourceTree->append());