By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 985
Collapse All | Expand All

(-)tdebase/tdesu/tdesu/sudlg.cpp (-4 / +1 lines)
Lines 14-20 Link Here
14
#include <tdesu/su.h>
14
#include <tdesu/su.h>
15
#include "sudlg.h"
15
#include "sudlg.h"
16
16
17
KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,const TQString& icon, bool withIgnoreButton, int timeout)
17
KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,const TQString& icon, int timeout)
18
     : KPasswordDialog(Password, enableKeep, 0, icon)
18
     : KPasswordDialog(Password, enableKeep, 0, icon)
19
{
19
{
20
    TDEConfig* config = TDEGlobal::config();
20
    TDEConfig* config = TDEGlobal::config();
Lines 42-50 Link Here
42
    }
42
    }
43
    setPrompt(prompt);
43
    setPrompt(prompt);
44
    setKeepWarning(i18n("<qt>The stored password will be:<br> * Kept for up to %1 minutes<br> * Destroyed on logout").arg(timeout/60));
44
    setKeepWarning(i18n("<qt>The stored password will be:<br> * Kept for up to %1 minutes<br> * Destroyed on logout").arg(timeout/60));
45
46
    if( withIgnoreButton )
47
	setButtonText(User1, i18n("&Ignore"));
48
}
45
}
49
46
50
47
(-)tdebase/tdesu/tdesu/sudlg.h (-1 / +1 lines)
Lines 15-21 Link Here
15
    Q_OBJECT
15
    Q_OBJECT
16
16
17
public:
17
public:
18
    KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep, const TQString& icon , bool withIgnoreButton=false, int timeout=-1);
18
    KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep, const TQString& icon, int timeout=-1);
19
    ~KDEsuDialog();
19
    ~KDEsuDialog();
20
20
21
    enum ResultCodes { AsUser = 10 };
21
    enum ResultCodes { AsUser = 10 };
(-)tdebase/tdesu/tdesu/tdesu.cpp (-3 / +1 lines)
Lines 64-70 Link Here
64
    { "r", I18N_NOOP("Use realtime scheduling"), 0 },
64
    { "r", I18N_NOOP("Use realtime scheduling"), 0 },
65
    { "nonewdcop", I18N_NOOP("Let command use existing dcopserver"), 0 },
65
    { "nonewdcop", I18N_NOOP("Let command use existing dcopserver"), 0 },
66
    { "comment <comment>", I18N_NOOP("Ignored"), "" },
66
    { "comment <comment>", I18N_NOOP("Ignored"), "" },
67
    { "noignorebutton", I18N_NOOP("Do not display ignore button"), 0 },
68
    { "i <icon name>", I18N_NOOP("Specify icon to use in the password dialog"), 0},
67
    { "i <icon name>", I18N_NOOP("Specify icon to use in the password dialog"), 0},
69
    { "d", I18N_NOOP("Do not show the command to be run in the dialog"), 0},
68
    { "d", I18N_NOOP("Do not show the command to be run in the dialog"), 0},
70
    TDECmdLineLastOption
69
    TDECmdLineLastOption
Lines 268-274 Link Here
268
    bool keep = !args->isSet("n") && have_daemon;
267
    bool keep = !args->isSet("n") && have_daemon;
269
    bool terminal = args->isSet("t");
268
    bool terminal = args->isSet("t");
270
    bool new_dcop = args->isSet("newdcop");
269
    bool new_dcop = args->isSet("newdcop");
271
    bool withIgnoreButton = args->isSet("ignorebutton");
272
    
270
    
273
    QCStringList env;
271
    QCStringList env;
274
    TQCString options;
272
    TQCString options;
Lines 352-358 Link Here
352
        TDEStartupInfoData data;
350
        TDEStartupInfoData data;
353
        data.setSilent( TDEStartupInfoData::Yes );
351
        data.setSilent( TDEStartupInfoData::Yes );
354
        TDEStartupInfo::sendChange( id, data );
352
        TDEStartupInfo::sendChange( id, data );
355
        KDEsuDialog dlg(user, auth_user, keep && !terminal,icon, withIgnoreButton, timeout);
353
        KDEsuDialog dlg(user, auth_user, keep && !terminal,icon, timeout);
356
	if (prompt)
354
	if (prompt)
357
	    dlg.addLine(i18n("Command:"), command);
355
	    dlg.addLine(i18n("Command:"), command);
358
        if ((priority != 50) || (scheduler != SuProcess::SchedNormal))
356
        if ((priority != 50) || (scheduler != SuProcess::SchedNormal))

Return to bug 985