|
|
|
@ -196,7 +196,7 @@ void TopLevel::updateMenu() {
|
|
|
|
|
for (it = m_ticketList.begin(); it != m_ticketList.end(); ++it) {
|
|
|
|
|
KerberosTicketInfo ticket = *it;
|
|
|
|
|
TQDateTime now = TQDateTime::currentDateTime();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TQString label = ticket.serverPrincipal;
|
|
|
|
|
if (ticket.validEndTime > now) {
|
|
|
|
|
label = label + i18n("(Active)");
|
|
|
|
@ -355,7 +355,7 @@ void TopLevel::paintEvent(TQPaintEvent *) {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void TopLevel::timerEvent(TQTimerEvent *) {
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/** update ToolTip */
|
|
|
|
@ -419,7 +419,7 @@ void TopLevel::menuAction(int index) {
|
|
|
|
|
listText += addTicketInfo("", ticket);
|
|
|
|
|
|
|
|
|
|
listText += "</qt>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (KMessageBox::warningYesNo(this, listText, i18n("Kerberos Ticket Information"), TQString("Destroy this Ticket"), TQString("Cancel")) == KMessageBox::Yes) {
|
|
|
|
|
TQString errorstring;
|
|
|
|
|
if (LDAPManager::destroyKerberosTicket(ticket.serverPrincipal, &errorstring) != 0) {
|
|
|
|
|