From 02b316fcba8a112e528a0bddfcb93cf6f3179168 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sat, 13 Jun 2009 19:15:02 +0100 Subject: More changes in the UI to try and make things neater. This abandons the combo box approach an instead partially reverts to the popup. We now display a suffix after the stream title saying " on " or " from " where the part looks like a hyperlink and, when clicked, shows the popup to change the device. If there is only one device available, we suppress the whole thing and thus avoid confusion. --- src/rolewidget.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/rolewidget.cc') diff --git a/src/rolewidget.cc b/src/rolewidget.cc index 54c64d5..4da818f 100644 --- a/src/rolewidget.cc +++ b/src/rolewidget.cc @@ -32,7 +32,8 @@ RoleWidget::RoleWidget(BaseObjectType* cobject, const Glib::RefPtrhide(); - streamControlHBox->hide(); + directionLabel->hide(); + deviceButton->hide(); } RoleWidget* RoleWidget::create() { @@ -48,9 +49,6 @@ void RoleWidget::onMuteToggleButton() { executeVolumeUpdate(); } -void RoleWidget::onDeviceChange() { -} - void RoleWidget::executeVolumeUpdate() { pa_ext_stream_restore_info info; -- cgit