[Frugalware-git] frugal-tweak: *should confirm for remove user

bouleetbil bouleetbil at frogdev.info
Sat Nov 13 17:49:26 CET 2010


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugal-tweak.git;a=commitdiff;h=3ff449d813ccf29e2bcebd0fce9d583eaac4e62c

commit 3ff449d813ccf29e2bcebd0fce9d583eaac4e62c
Author: bouleetbil <bouleetbil at frogdev.info>
Date:   Sat Nov 13 17:45:53 2010 +0100

*should confirm for remove user

diff --git a/frugal-mono-tools/Pictures/WID_Users.cs b/frugal-mono-tools/Pictures/WID_Users.cs
index b9f22dc..a572c0d 100644
--- a/frugal-mono-tools/Pictures/WID_Users.cs
+++ b/frugal-mono-tools/Pictures/WID_Users.cs
@@ -194,6 +194,7 @@ namespace frugalmonotools
protected virtual void OnBTNRemoveClicked (object sender, System.EventArgs e)
{
if(UserSelect=="") return;
+			if(!Outils.Ask("Remove "+UserSelect+" ?") )return;
Outils.ExcecuteAsRoot("/usr/sbin/userdel "+GroupSelect,true);
_InitUsers();
}


More information about the Frugalware-git mailing list