diff options
author | guidog <guidog@517b70f8-ed25-0410-8bf6-f5db08f7b76e> | 2009-01-10 13:25:30 +0000 |
---|---|---|
committer | guidog <guidog@517b70f8-ed25-0410-8bf6-f5db08f7b76e> | 2009-01-10 13:25:30 +0000 |
commit | c6d317a94d1857eb17617d4f85874f5139c8c8bf (patch) | |
tree | 300e5a874c932c7026f8df084a4cc0aa095a589d /src/krb5-auth-dialog.c | |
parent | af9d2e62e392533987d17ada803bb6327c54afee (diff) |
don't popup the dialog if we have a tray icon
The user can happily refresh the credentials by left clicking on the
tray icon. When using libnotify we also remind him to do so every
NOTIFY_SECONDS (300).
git-svn-id: http://svn.gnome.org/svn/krb5-auth-dialog/trunk@104 517b70f8-ed25-0410-8bf6-f5db08f7b76e
Diffstat (limited to 'src/krb5-auth-dialog.c')
-rw-r--r-- | src/krb5-auth-dialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/krb5-auth-dialog.c b/src/krb5-auth-dialog.c index 1974465..1875598 100644 --- a/src/krb5-auth-dialog.c +++ b/src/krb5-auth-dialog.c @@ -404,7 +404,7 @@ credentials_expiring (gpointer *data) Krb5AuthApplet* applet = (Krb5AuthApplet*) data; KA_DEBUG("Checking expiry: %d", applet->pw_prompt_secs); - if (credentials_expiring_real (applet, &renewable) && is_online) { + if (credentials_expiring_real (applet, &renewable) && is_online && !applet->show_trayicon) { give_up = canceled && (creds_expiry == canceled_creds_expiry); if (!give_up) { do { |