diff options
Diffstat (limited to 'redhat/tdebase/tdebase-3.5.13.2-kdesu-noignorebutton.patch')
-rw-r--r-- | redhat/tdebase/tdebase-3.5.13.2-kdesu-noignorebutton.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/redhat/tdebase/tdebase-3.5.13.2-kdesu-noignorebutton.patch b/redhat/tdebase/tdebase-3.5.13.2-kdesu-noignorebutton.patch new file mode 100644 index 000000000..41b081edc --- /dev/null +++ b/redhat/tdebase/tdebase-3.5.13.2-kdesu-noignorebutton.patch @@ -0,0 +1,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); |