diff options
author | albator <albator@aria.vtf> | 2011-09-04 19:47:42 +0200 |
---|---|---|
committer | albator <albator@aria.vtf> | 2011-09-04 19:47:42 +0200 |
commit | adfc29286dee5690521f2cd177bc0e9f97cab2d4 (patch) | |
tree | 81eb356e4997844a54871335722f179fcecf62bf /redhat/kdebase/kdebase-3.5.12-kdesu-noignorebutton.patch | |
parent | 21debd86d012442ee121ce271d56967290343975 (diff) | |
download | tde-packaging-adfc29286dee5690521f2cd177bc0e9f97cab2d4.tar.gz tde-packaging-adfc29286dee5690521f2cd177bc0e9f97cab2d4.zip |
Initial KDEBASE build for RHEL 6
Versions 3.5.12 and 3.5.13
Including some RHEL/Fedora specific patches.
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); |