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:
parent
206556d05f
commit
11ac91db58
|
@ -385,6 +385,8 @@ MainWindow::MainWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade:
|
||||||
|
|
||||||
sourcesVBox->set_reallocate_redraws(true);
|
sourcesVBox->set_reallocate_redraws(true);
|
||||||
monitorsVBox->set_reallocate_redraws(true);
|
monitorsVBox->set_reallocate_redraws(true);
|
||||||
|
streamsVBox->set_reallocate_redraws(true);
|
||||||
|
sinksVBox->set_reallocate_redraws(true);
|
||||||
|
|
||||||
Gdk::Color c("white");
|
Gdk::Color c("white");
|
||||||
titleEventBox->modify_bg(Gtk::STATE_NORMAL, c);
|
titleEventBox->modify_bg(Gtk::STATE_NORMAL, c);
|
||||||
|
@ -425,7 +427,7 @@ void MainWindow::updateSink(const pa_sink_info &info) {
|
||||||
w->onMuteToggleButton();
|
w->onMuteToggleButton();
|
||||||
|
|
||||||
updateLabels();
|
updateLabels();
|
||||||
w->check_resize();
|
w->queue_draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::updateSource(const pa_source_info &info) {
|
void MainWindow::updateSource(const pa_source_info &info) {
|
||||||
|
@ -454,7 +456,7 @@ void MainWindow::updateSource(const pa_source_info &info) {
|
||||||
w->onMuteToggleButton();
|
w->onMuteToggleButton();
|
||||||
|
|
||||||
updateLabels();
|
updateLabels();
|
||||||
w->check_resize();
|
w->queue_draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::updateSinkInput(const pa_sink_input_info &info) {
|
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);
|
w->setVolume(info.volume);
|
||||||
|
|
||||||
updateLabels();
|
updateLabels();
|
||||||
w->check_resize();
|
w->queue_draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::updateClient(const pa_client_info &info) {
|
void MainWindow::updateClient(const pa_client_info &info) {
|
||||||
|
|
Loading…
Reference in New Issue