diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-09-05 13:53:08 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-09-05 13:53:08 -0500 |
commit | ed4fba5b52a126babf633ece832bed7cc50347e4 (patch) | |
tree | df4dda5b511fe6a3930c567d2391a9f574570618 /redhat/kdebase/kdebase-3.5.12-kdesu-noignorebutton.patch | |
parent | 9135c977131b957134d4b691542998b2dc397378 (diff) | |
parent | 3c86eeb8b77e5ea83ce7938d75c17b7bde9b31d5 (diff) | |
download | tde-packaging-ed4fba5b52a126babf633ece832bed7cc50347e4.tar.gz tde-packaging-ed4fba5b52a126babf633ece832bed7cc50347e4.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'redhat/kdebase/kdebase-3.5.12-kdesu-noignorebutton.patch')
-rw-r--r-- | redhat/kdebase/kdebase-3.5.12-kdesu-noignorebutton.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/redhat/kdebase/kdebase-3.5.12-kdesu-noignorebutton.patch b/redhat/kdebase/kdebase-3.5.12-kdesu-noignorebutton.patch new file mode 100644 index 000000000..bc3583e5e --- /dev/null +++ b/redhat/kdebase/kdebase-3.5.12-kdesu-noignorebutton.patch @@ -0,0 +1,45 @@ +diff -rcb kdebase.ORI/kdesu/kdesu/sudlg.cpp kdebase/kdesu/kdesu/sudlg.cpp +*** kdebase.ORI/kdesu/kdesu/sudlg.cpp 2010-12-17 22:55:07.725798945 +0100 +--- kdebase/kdesu/kdesu/sudlg.cpp 2010-12-17 22:55:49.378797283 +0100 +*************** +*** 15,21 **** + #include "sudlg.h" + + KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,const TQString& icon, bool withIgnoreButton) +! : KPasswordDialog(Password, enableKeep, (withIgnoreButton ? User1:NoDefault), icon) + { + KConfig* config = KGlobal::config(); + config->setGroup("super-user-command"); +--- 15,21 ---- + #include "sudlg.h" + + KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,const TQString& icon, bool withIgnoreButton) +! : KPasswordDialog(Password, enableKeep, 0, icon) + { + KConfig* config = KGlobal::config(); + config->setGroup("super-user-command"); +*************** +*** 34,45 **** + } 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."); + } 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(m_User); + } + } + setPrompt(prompt); +--- 34,43 ---- + } else { + if (m_User == "root") { + prompt = i18n("The action you requested needs root privileges. " +! "Please enter root's password below."); + } else { + prompt = i18n("The action you requested needs additional privileges. " +! "Please enter the password for \"%1\" below.").arg(m_User); + } + } + setPrompt(prompt); |