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 --- ChangeLog | 5 +++++ src/krb5-auth-applet.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 10603e1..cab56f2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Jan 4 16:37:35 CET 2009 Guido Günther + + * src/krb5-auth-applet.c (ka_update_status): don't show a tooltip + about ticket expiry if ticket is renewable + Sun Jan 4 16:28:35 CET 2009 Guido Günther pkinit support 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