aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog5
-rw-r--r--src/krb5-auth-applet.c3
2 files changed, 7 insertions, 1 deletions
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 <agx@sigxcpu.org>
+
+ * 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 <agx@sigxcpu.org>
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);