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
This commit is contained in:
Lennart Poettering 2006-06-01 13:39:47 +00:00
parent 206556d05f
commit 11ac91db58
1 changed files with 5 additions and 3 deletions

View File

@ -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) {