summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase/tdebase-3.5.13.2-kdesu-noignorebutton.patch
blob: 41b081edcb34593b9369ad84948a23d18c8998b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- trinity-tdebase-3.5.13.2~pre102+43d29f86/kdesu/kdesu/sudlg.cpp.kdesu_no_ignore	2013-05-16 22:59:53.633425236 +0200
+++ trinity-tdebase-3.5.13.2~pre102+43d29f86/kdesu/kdesu/sudlg.cpp	2013-05-16 23:00:04.685200151 +0200
@@ -15,7 +15,7 @@
 #include "sudlg.h"
 
 KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,const TQString& icon, bool withIgnoreButton, int timeout)
-     : KPasswordDialog(Password, enableKeep, (withIgnoreButton ? User1:NoDefault), icon)
+     : KPasswordDialog(Password, enableKeep, 0, icon)
 {
     KConfig* config = KGlobal::config();
     config->setGroup("super-user-command");
@@ -34,12 +34,10 @@
     } else {
         if (m_User == "root") {
 	    prompt = i18n("The action you requested needs root privileges. "
-	    "Please enter root's password below or click "
-	    "Ignore to continue with your current privileges.");
+	    "Please enter root's password below.");
         } else {
 	    prompt = i18n("The action you requested needs additional privileges. "
-		"Please enter the password for \"%1\" below or click "
-		"Ignore to continue with your current privileges.").arg(static_cast<const char *>(m_User));
+		"Please enter the password for \"%1\" below.").arg(static_cast<const char *>(m_User));
 	}
     }
     setPrompt(prompt);