From a1275b6432e6da3b1675275aa1c8d22d9f43e7ab Mon Sep 17 00:00:00 2001 From: guidog Date: Sat, 10 Jan 2009 13:25:38 +0000 Subject: don't show a tooltip about ticket expiry if ticket is renewable git-svn-id: http://svn.gnome.org/svn/krb5-auth-dialog/trunk@108 517b70f8-ed25-0410-8bf6-f5db08f7b76e --- src/krb5-auth-applet.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/krb5-auth-applet.c b/src/krb5-auth-applet.c index 4a11d09..cffa81c 100644 --- a/src/krb5-auth-applet.c +++ b/src/krb5-auth-applet.c @@ -60,7 +60,8 @@ ka_update_status(Krb5AuthApplet* applet, krb5_timestamp expiry) _("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); -- cgit v1.2.3