summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakperm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-20 18:03:06 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-20 18:03:06 +0000
commit6fb429fce3c1f5ed2a3d90288d4bef9b7817e7e9 (patch)
treeb1a38eb61110b6689d38ddaa70438b0211614bbc /perl-install/standalone/drakperm
parent973ed606639a31a4d3f8fe40d210e615154291ae (diff)
downloaddrakx-6fb429fce3c1f5ed2a3d90288d4bef9b7817e7e9.tar
drakx-6fb429fce3c1f5ed2a3d90288d4bef9b7817e7e9.tar.gz
drakx-6fb429fce3c1f5ed2a3d90288d4bef9b7817e7e9.tar.bz2
drakx-6fb429fce3c1f5ed2a3d90288d4bef9b7817e7e9.tar.xz
drakx-6fb429fce3c1f5ed2a3d90288d4bef9b7817e7e9.zip
fix "current" checkbox vs "group" and "user" pull-down menus
Diffstat (limited to 'perl-install/standalone/drakperm')
-rwxr-xr-xperl-install/standalone/drakperm7
1 files changed, 3 insertions, 4 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm
index 54bd65f5e..2798242d4 100755
--- a/perl-install/standalone/drakperm
+++ b/perl-install/standalone/drakperm
@@ -288,13 +288,12 @@ sub row_setting_dialog {
my $usr_check = gtksignal_connect(gtkset_tip($tips, Gtk2::CheckButton->new(N("Current user")),
N("When checked, owner and group won't be changed")),
- clicked => sub { $id_box->set_sensitive($_[0]->get_active) });
+ clicked => sub { $id_box->set_sensitive(!$_[0]->get_active) });
if ($iter && $model->get($iter, 2) eq 'current') {
$usr_check->set_active(1);
- $groups->set_sensitive(0);
- $users->set_sensitive(0);
- }
+ $id_box->set_sensitive(0)
+ } else { $usr_check->set_active(0) }
$browse->signal_connect(clicked => sub {
ry Vignaud2003-05-201-1/+1 | | | | | happenned in the translation * (find_exports) better behavior when regexp does not matchThierry Vignaud2003-05-201-1/+1 | * for whatever reason, the second part of detect_bootloader()Thierry Vignaud2003-05-201-1/+1 | | | | | consolidation didn't make up into the cvs * update french translationThierry Vignaud2003-05-201-67/+54 | * better explanation of the wp fieldThierry Vignaud2003-05-201-1/+1 | * fix #3960: divide by zero execptionThierry Vignaud2003-05-201-1/+1 | * perl_checker compliantDamien Chaumette2003-05-201-8/+7 | * first bits of 9.2-0.1mdkThierry Vignaud2003-05-201-2/+6 | * fix #3952: do not pass extra argument (gc alteredThierry Vignaud2003-05-201-1/+1 | | | | | | common::take_screenshot() api in r1.172 but forget to alter all callees) * - fix #3616 (draksec discarding changes)Thierry Vignaud2003-05-201-2/+2 | | | | | - add a end of line btw at the end of file to please cat * perl_checker fixThierry Vignaud2003-05-201-2/+2 | * add a bug referenceThierry Vignaud2003-05-191-1/+1 | * some drakconnect cleanupsThierry Vignaud2003-05-191-5/+2 | * in standalone drakboot, raise a wait message window so that the user can figureThierry Vignaud2003-05-191-0/+2 | | | | | out what occurs (lilo installation being quite long) * dialog window is already modalThierry Vignaud2003-05-191-1/+0 | * - (read_location, rip_location): simplify loop condition since once we getThierry Vignaud2003-05-191-5/+3 | | | | | | | $location_end, we exit it - (rip_location): simplify @location build when no existing one * - (get_cups_autoconf, set_cups_autoconf, get_usermode, set_usermode): simplifyThierry Vignaud2003-05-191-72/+13 | | | | | | | | | | a lot through getVarsFromSh() and setVarsInSh() - (set_jap_textmode) simplify a lot through substInFile() now all /etc/sysconfig/printing accesses get done by MDK::Common::File (until shell template from libconf is used) * (gimp::pop_spaces): consolidate skipping of lines that are space endedThierry Vignaud2003-05-191-8/+9 | * perl_checker fixesThierry Vignaud2003-05-198-308/+297 | * localize drive capabilites (aka burning, dvd managment, ...)Thierry Vignaud2003-05-191-0/+5 | * fix #3560 (drakboot not updating bootloader label): the only confusingThierry Vignaud2003-05-192-3/+15 | | | | | | | | | | | bug is that when one come back to drakboot main window after having altered the bootloader, the main window still list the old bootloader as the current bootloader. let update this label. btw consolidate bootloader detection in bootloader::detect_bootloader() * further fix #2826 (lilo failling to handle entry with spaces): replaceThierry Vignaud2003-05-191-0/+1 | | | | | | spaces by underscores in labels (image names are not likely to contain spaces) to prevent the error * when configuring to install grub bootloader, we first install lilo, then grub.Thierry Vignaud2003-05-191-1/+1 | | | | | | | | | | the logic is that we only reread /etc/lilo.conf[1], so we need to write /etc/lilo.conf. but when installing grub, we really do not need to run lilo, we only have to write its config file. [1] because grub/menu.lst lacks some data and because we do neither want to parse both config files nor to resolve conflicts between configuration * let further consolidate make_label_lilo_compatible()Thierry Vignaud2003-05-191-2/+2 | * fix network::netconnect::save_conf() calleeThierry Vignaud2003-05-191-1/+1 | * updated Spanish translationsFabián Mandelbaum2003-05-191-221/+176 | * simplifyThierry Vignaud2003-05-191-5/+2 | * do not drop return values from regexp but use them to ensure we do notThierry Vignaud2003-05-191-1/+1 | | | | | | reuse capture buffers from previous one, which is really bad and trully buggy * move expert stuff under the "advanced" button like in all other ↵Thierry Vignaud2003-05-191-7/+6 | | | | drakx/drakxtools code * %langs: first column is supposed to be localized in englishThierry Vignaud2003-05-191-3/+3 | * last 9.1-38mdk bitsThierry Vignaud2003-05-191-1/+7 | * update perl-gtk0 users list (drakcronat being ported to gtk+2)Thierry Vignaud2003-05-191-1/+4 | * first bits of 9.1-38mdkThierry Vignaud2003-05-161-2/+5 | * updated pot filePablo Saratxaga2003-05-16