From 11ac91db587c2ffff33f26ad793d3e87e848fca9 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 1 Jun 2006 13:39:47 +0000 Subject: 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 --- src/pavucontrol.cc | 8 +++++--- 1 file 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::RefPtrset_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) { -- cgit