diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-06-01 13:39:47 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-06-01 13:39:47 +0000 |
commit | 11ac91db587c2ffff33f26ad793d3e87e848fca9 (patch) | |
tree | a77ad5be7ceaac47aec8e79d9540f7f3624398cc | |
parent | 206556d05f8d5576799b11e3ae4a1dbd708983d9 (diff) |
use gtk_widget_queue_redraw() to try to workaround an issues that the sources are not shown
git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@21 c17c95f2-f111-0410-90bf-f30a9569010c
-rw-r--r-- | src/pavucontrol.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/pavucontrol.cc b/src/pavucontrol.cc index d6a7414..9b0fe96 100644 --- a/src/pavucontrol.cc +++ b/src/pavucontrol.cc @@ -385,6 +385,8 @@ MainWindow::MainWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade: sourcesVBox->set_reallocate_redraws(true); monitorsVBox->set_reallocate_redraws(true); + streamsVBox->set_reallocate_redraws(true); + sinksVBox->set_reallocate_redraws(true); Gdk::Color c("white"); titleEventBox->modify_bg(Gtk::STATE_NORMAL, c); @@ -425,7 +427,7 @@ void MainWindow::updateSink(const pa_sink_info &info) { w->onMuteToggleButton(); updateLabels(); - w->check_resize(); + w->queue_draw(); } void MainWindow::updateSource(const pa_source_info &info) { @@ -454,7 +456,7 @@ void MainWindow::updateSource(const pa_source_info &info) { w->onMuteToggleButton(); updateLabels(); - w->check_resize(); + w->queue_draw(); } void MainWindow::updateSinkInput(const pa_sink_input_info &info) { @@ -479,7 +481,7 @@ void MainWindow::updateSinkInput(const pa_sink_input_info &info) { w->setVolume(info.volume); updateLabels(); - w->check_resize(); + w->queue_draw(); } void MainWindow::updateClient(const pa_client_info &info) { |