diff options
author | Matteo Pasotti <matteo.pasotti@gmail.com> | 2014-09-14 23:47:18 +0200 |
---|---|---|
committer | Matteo Pasotti <matteo.pasotti@gmail.com> | 2014-09-14 23:47:18 +0200 |
commit | 886f0e426c410b28bd36ccc9d65f8ed39ab37d2a (patch) | |
tree | 8994f526b06032de5dc593b6ebdf1a314626a5ff /lib | |
parent | 9f5c70691a909045c35172584a7c71303ca9f8f5 (diff) | |
download | manatools-886f0e426c410b28bd36ccc9d65f8ed39ab37d2a.tar manatools-886f0e426c410b28bd36ccc9d65f8ed39ab37d2a.tar.gz manatools-886f0e426c410b28bd36ccc9d65f8ed39ab37d2a.tar.bz2 manatools-886f0e426c410b28bd36ccc9d65f8ed39ab37d2a.tar.xz manatools-886f0e426c410b28bd36ccc9d65f8ed39ab37d2a.zip |
- use RadioButtons to list entries
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AdminPanel/Module/DisplayManager.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/AdminPanel/Module/DisplayManager.pm b/lib/AdminPanel/Module/DisplayManager.pm index 6fa61428..a246cf74 100644 --- a/lib/AdminPanel/Module/DisplayManager.pm +++ b/lib/AdminPanel/Module/DisplayManager.pm @@ -225,9 +225,13 @@ sub _manageProxyDialog { my $vbox_inputfields = $factory->createVBox($hbox_content); # list of desktop managers + my $rb_group = $factory->createRadioButtonGroup($vbox_labels_flags); + my $rbbox = $factory->createVBox($rb_group); foreach my $d (@{$self->dmlist()}) { - $factory->createLabel($vbox_labels_flags, $d->{NAME}); + my $rb = $factory->createRadioButton($factory->createHBox($factory->createLeft($rbbox)), $d->{NAME}); + $rb_group->addRadioButton($rb); + $rb->DISOWN(); } my $hbox_filler = $factory->createHBox($layout); $factory->createSpacing($hbox_filler,$yui::YD_VERT,2); |