From d8e1ce857bedb9d018ae0918b4c90686d604c2df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 24 Jun 2013 19:58:32 +0200 Subject: RPM Packaging: add 3.5.13.2 build patches --- .../tdebase-3.5.13.2-kdesu-noignorebutton.patch | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 redhat/tdebase/tdebase-3.5.13.2-kdesu-noignorebutton.patch (limited to 'redhat/tdebase/tdebase-3.5.13.2-kdesu-noignorebutton.patch') 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(m_User)); ++ "Please enter the password for \"%1\" below.").arg(static_cast(m_User)); + } + } + setPrompt(prompt); -- cgit v1.2.1