show radio buttons for the the sink menu items

git-svn-id: file:///home/lennart/svn/public/pavucontrol/trunk@67 c17c95f2-f111-0410-90bf-f30a9569010c
This commit is contained in:
Lennart Poettering 2007-11-20 02:14:59 +00:00
parent 95dc5fc4e9
commit 98a7f6c5d1
1 changed files with 58 additions and 57 deletions

View File

@ -174,6 +174,7 @@ public:
menuItem(label), menuItem(label),
index(i) { index(i) {
menuItem.set_active(active); menuItem.set_active(active);
menuItem.set_draw_as_radio(true);
menuItem.signal_toggled().connect(sigc::mem_fun(*this, &SinkMenuItem::onToggle)); menuItem.signal_toggled().connect(sigc::mem_fun(*this, &SinkMenuItem::onToggle));
} }