aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorguidog <guidog@517b70f8-ed25-0410-8bf6-f5db08f7b76e>2009-01-10 13:25:38 +0000
committerguidog <guidog@517b70f8-ed25-0410-8bf6-f5db08f7b76e>2009-01-10 13:25:38 +0000
commita1275b6432e6da3b1675275aa1c8d22d9f43e7ab (patch)
treefa18bc77cba65fe17f7926fdd0a8e8fdc8da9d41 /src
parent17ef9e8f0731a2c1cb88d70374d5832c25465e87 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/krb5-auth-applet.c3
1 files changed, 2 insertions, 1 deletions
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);