summaryrefslogtreecommitdiffstats
path: root/tdesu
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-04-25 08:34:19 -0500
committerTimothy Pearson <[email protected]>2013-04-25 08:34:19 -0500
commit704eedf364cefe87cf5c63cb61a3c6051a37a585 (patch)
treeee1ba694ad783a3a4ab4fadbb831a2e98c8e3f73 /tdesu
parent33dc3f2d3960e4a7e5d51b00a6e511a7e326d36f (diff)
parent1c7bdfda1e7c768525a73d1ca104db53ff1cec10 (diff)
downloadtdebase-704eedf364cefe87cf5c63cb61a3c6051a37a585.tar.gz
tdebase-704eedf364cefe87cf5c63cb61a3c6051a37a585.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdebase
Diffstat (limited to 'tdesu')
-rw-r--r--tdesu/tdesu/sudlg.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/tdesu/tdesu/sudlg.cpp b/tdesu/tdesu/sudlg.cpp
index 713409631..e24bf325e 100644
--- a/tdesu/tdesu/sudlg.cpp
+++ b/tdesu/tdesu/sudlg.cpp
@@ -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)
{
TDEConfig* config = TDEGlobal::config();
config->setGroup("super-user-command");
@@ -34,12 +34,10 @@ KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,co
} 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);