krb5-auth-dialog r91 - in branches/pkinit: . src



Author: guidog
Date: Sun Jan  4 16:04:06 2009
New Revision: 91
URL: http://svn.gnome.org/viewvc/krb5-auth-dialog?rev=91&view=rev

Log:
don't show a tooltip about ticket expiry if ticket is renewable

Modified:
   branches/pkinit/ChangeLog
   branches/pkinit/src/krb5-auth-applet.c

Modified: branches/pkinit/src/krb5-auth-applet.c
==============================================================================
--- branches/pkinit/src/krb5-auth-applet.c	(original)
+++ branches/pkinit/src/krb5-auth-applet.c	Sun Jan  4 16:04:06 2009
@@ -60,7 +60,8 @@
 						_("Network credentials valid"),
 						_("Your Kerberos credentials have been refreshed."), NULL);
 			expiry_notified = FALSE;
-		} else if (remaining < applet->pw_prompt_secs && (now - last_warn) > NOTIFY_SECONDS) {
+		} else if (remaining < applet->pw_prompt_secs && (now - last_warn) > NOTIFY_SECONDS &&
+		           !applet->renewable) {
 			ka_send_event_notification (applet, NOTIFY_URGENCY_NORMAL,
 						_("Network credentials expiring"),
 						expiry_text, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]