This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Volume Control" repository.
The master branch has been updated
from 97c9cc61974c273e8205b512608f50867e58e18b (commit)
- Log -----------------------------------------------------------------
73e5702 source-outputs: Source outputs do not support volume control, so hide
the mute and lock channels buttons
f70ff92 main: Format string fixes
-----------------------------------------------------------------------
Summary of changes:
src/pavucontrol.cc | 2 +-
src/sourceoutputwidget.cc | 4 ++++
2 files changed, 5 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
commit f70ff92ecd9062522a09c8d31d0e25043b177dc5
Author: Colin Guthrie <[email protected]>
Date: Thu Apr 22 02:04:19 2010 +0100
main: Format string fixes
diff --git a/src/pavucontrol.cc b/src/pavucontrol.cc
index 714844a..aa71b3e 100644
--- a/src/pavucontrol.cc
+++ b/src/pavucontrol.cc
@@ -595,7 +595,7 @@ int main(int argc, char *argv[]) {
pa_context_unref(context);
pa_glib_mainloop_free(m);
} catch ( const Glib::OptionError & e ) {
- fprintf(stderr, options.get_help().c_str());
+ fprintf(stderr, "%s", options.get_help().c_str());
return 1;
}
commit 73e57023ec925af42c8018da8c195e819eb288f7
Author: Colin Guthrie <[email protected]>
Date: Wed Dec 22 14:58:30 2010 +0000
source-outputs: Source outputs do not support volume control, so hide the
mute and lock channels buttons
diff --git a/src/sourceoutputwidget.cc b/src/sourceoutputwidget.cc
index cb995b5..7064b38 100644
--- a/src/sourceoutputwidget.cc
+++ b/src/sourceoutputwidget.cc
@@ -36,6 +36,10 @@ SourceOutputWidget::SourceOutputWidget(BaseObjectType*
cobject, const Glib::RefP
g_free(txt);
terminate.set_label(_("Terminate Recording"));
+
+ /* Source Outputs do not have volume controls */
+ muteToggleButton->hide();
+ lockToggleButton->hide();
}
SourceOutputWidget* SourceOutputWidget::create(MainWindow* mainWindow) {
--
hooks/post-receive
PulseAudio Volume Control
_______________________________________________
pulseaudio-commits mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-commits