krb5-auth-dialog r108 - in trunk: . src



Author: guidog
Date: Sat Jan 10 13:25:38 2009
New Revision: 108
URL: http://svn.gnome.org/viewvc/krb5-auth-dialog?rev=108&view=rev

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

Modified:
   trunk/ChangeLog
   trunk/src/krb5-auth-applet.c

Modified: trunk/src/krb5-auth-applet.c
==============================================================================
--- trunk/src/krb5-auth-applet.c	(original)
+++ trunk/src/krb5-auth-applet.c	Sat Jan 10 13:25:38 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]