aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorcaillon <caillon@517b70f8-ed25-0410-8bf6-f5db08f7b76e>2004-08-29 19:55:25 +0000
committercaillon <caillon@517b70f8-ed25-0410-8bf6-f5db08f7b76e>2004-08-29 19:55:25 +0000
commit6129bf9e4b9fa1aafd4ff1f59ff6f4315d7ec6fa (patch)
tree9e195854e91554a46c392981e80f665dfb2b6f44 /src
parentd29e54be9e7444782ed826a1b8796c9ae4b1d4af (diff)
2004-08-28 Diego Gonzalez <diego@pemas.net>
* configure.ac: add --with-heimdal * krb5-auth-dialog: modify to support heimdal if enabled * krb5-auth-dialog.glade: center the dialog git-svn-id: http://svn.gnome.org/svn/krb5-auth-dialog/trunk@21 517b70f8-ed25-0410-8bf6-f5db08f7b76e
Diffstat (limited to 'src')
-rw-r--r--src/krb5-auth-dialog.c3
-rw-r--r--src/krb5-auth-dialog.glade2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/krb5-auth-dialog.c b/src/krb5-auth-dialog.c
index 807fe0f..0b0c5ac 100644
--- a/src/krb5-auth-dialog.c
+++ b/src/krb5-auth-dialog.c
@@ -117,7 +117,6 @@ setup_dialog (GladeXML *xml,
}
static krb5_error_code
-KRB5_CALLCONV
krb5_gtk_prompter (krb5_context ctx,
void *data,
const char *name,
@@ -230,7 +229,9 @@ credentials_expiring_real (void)
{
if ((code = krb5_cc_end_seq_get(kcontext, cache, &cur)))
exit(1);
+#ifndef HEIMDAL
flags = KRB5_TC_OPENCLOSE; /* turns on OPENCLOSE mode, from klist.c */
+#endif
if ((code = krb5_cc_set_flags(kcontext, cache, flags)))
exit(1);
#ifdef KRB5_KRB4_COMPAT
diff --git a/src/krb5-auth-dialog.glade b/src/krb5-auth-dialog.glade
index c385131..2cf3e2c 100644
--- a/src/krb5-auth-dialog.glade
+++ b/src/krb5-auth-dialog.glade
@@ -9,7 +9,7 @@
<property name="visible">False</property>
<property name="title" translatable="yes">Network Authentication</property>
<property name="type">GTK_WINDOW_TOPLEVEL</property>
- <property name="window_position">GTK_WIN_POS_NONE</property>
+ <property name="window_position">GTK_WIN_POS_CENTER</property>
<property name="modal">False</property>
<property name="resizable">False</property>
<property name="destroy_with_parent">False</property>