From adfc29286dee5690521f2cd177bc0e9f97cab2d4 Mon Sep 17 00:00:00 2001 From: albator Date: Sun, 4 Sep 2011 19:47:42 +0200 Subject: Initial KDEBASE build for RHEL 6 Versions 3.5.12 and 3.5.13 Including some RHEL/Fedora specific patches. --- .../kdebase-3.5.12-kdesu-noignorebutton.patch | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 redhat/kdebase/kdebase-3.5.12-kdesu-noignorebutton.patch (limited to 'redhat/kdebase/kdebase-3.5.12-kdesu-noignorebutton.patch') 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); -- cgit v1.2.1