summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-04-22 00:45:40 +0000
committerLennart Poettering <lennart@poettering.net>2008-04-22 00:45:40 +0000
commit93aa980ebc17d3c57d22f91971c25cbc7510b4ef (patch)
tree83f461d871fc2b6cc9e602ca29c9e1b35eed9a48
parent99cad6b3ea2231d1d9657d92272a13a67ff80d49 (diff)
properly initialize source output type dropdown; show string for record streams properly
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@77 c17c95f2-f111-0410-90bf-f30a9569010c
-rw-r--r--src/pavucontrol.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pavucontrol.cc b/src/pavucontrol.cc
index 7af11d0..b378507 100644
--- a/src/pavucontrol.cc
+++ b/src/pavucontrol.cc
@@ -810,6 +810,7 @@ MainWindow::MainWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade:
Gtk::Window(cobject),
showSinkInputType(SINK_INPUT_CLIENT),
showSinkType(SINK_ALL),
+ showSourceOutputType(SOURCE_OUTPUT_CLIENT),
showSourceType(SOURCE_NO_MONITOR) {
x->get_widget("streamsVBox", streamsVBox);
@@ -828,6 +829,7 @@ MainWindow::MainWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade:
sourcesVBox->set_reallocate_redraws(true);
streamsVBox->set_reallocate_redraws(true);
+ recsVBox->set_reallocate_redraws(true);
sinksVBox->set_reallocate_redraws(true);
sinkInputTypeComboBox->set_active((int) showSinkInputType);
@@ -1081,6 +1083,8 @@ void MainWindow::updateDeviceVisibility() {
if (is_empty)
noStreamsLabel->show();
+ is_empty = true;
+
for (std::map<uint32_t, SourceOutputWidget*>::iterator i = sourceOutputWidgets.begin(); i != sourceOutputWidgets.end(); ++i) {
SourceOutputWidget* w = i->second;