summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase/tdebase-3.5.13.2-kdesu-noignorebutton.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:58:32 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:58:32 +0200
commitd8e1ce857bedb9d018ae0918b4c90686d604c2df (patch)
tree111a8759c0599ce2be8d25946d21dee4f69923b9 /redhat/tdebase/tdebase-3.5.13.2-kdesu-noignorebutton.patch
parent8743b3f65cd27e30aefe49f127105aa305a86051 (diff)
downloadtde-packaging-d8e1ce857bedb9d018ae0918b4c90686d604c2df.tar.gz
tde-packaging-d8e1ce857bedb9d018ae0918b4c90686d604c2df.zip
RPM Packaging: add 3.5.13.2 build patches
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.patch26
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);