aboutsummaryrefslogtreecommitdiff
path: root/src/krb5-auth-applet.h
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2009-03-27 15:39:26 +0100
committerGuido Günther <agx@sigxcpu.org>2009-03-27 15:39:26 +0100
commit89329f60dcdf4d09a2731ce6bb53ea8058eb0ae7 (patch)
tree0e48a8511c80cb4bf3f1aec55d81c335965d99fb /src/krb5-auth-applet.h
parentImported Upstream version 0.8+svn128 (diff)
downloadkrb5-auth-dialog-89329f60dcdf4d09a2731ce6bb53ea8058eb0ae7.tar.gz
krb5-auth-dialog-89329f60dcdf4d09a2731ce6bb53ea8058eb0ae7.tar.bz2
krb5-auth-dialog-89329f60dcdf4d09a2731ce6bb53ea8058eb0ae7.zip
Imported Upstream version 0.8+svn136
Diffstat (limited to 'src/krb5-auth-applet.h')
-rw-r--r--src/krb5-auth-applet.h21
1 files changed, 5 insertions, 16 deletions
diff --git a/src/krb5-auth-applet.h b/src/krb5-auth-applet.h
index a33be55..93830a5 100644
--- a/src/krb5-auth-applet.h
+++ b/src/krb5-auth-applet.h
@@ -21,17 +21,13 @@
#ifndef KRB5_AUTH_APPLET_H
#define KRB5_AUTH_APPLET_H
-#include <glib.h>
#include <glib-object.h>
#include <glib/gprintf.h>
-#include <gtk/gtk.h>
#include <glade/glade.h>
-#ifdef HAVE_LIBNOTIFY
-#include <libnotify/notify.h>
-#endif /* HAVE_LIBNOTIFY */
#include <krb5.h>
#include "config.h"
+#include "krb5-auth-pwdialog.h"
G_BEGIN_DECLS
@@ -52,28 +48,21 @@ typedef struct _KaAppletClass KaAppletClass;
typedef struct _KaAppletPrivate KaAppletPrivate;
GType ka_applet_get_type (void);
-KaApplet* ka_applet_new(void) G_GNUC_MALLOC;
/* public functions */
gboolean ka_applet_get_show_trayicon(const KaApplet* applet);
void ka_applet_set_tgt_renewable(KaApplet* applet, gboolean renewable);
gboolean ka_applet_get_tgt_renewable(const KaApplet* applet);
guint ka_applet_get_pw_prompt_secs(const KaApplet* applet);
-
-/* password dialog */
-gint ka_applet_run_pw_dialog(const KaApplet* applet);
-GladeXML* ka_applet_get_pwdialog_xml(const KaApplet* applet);
-void ka_applet_hide_pw_dialog(KaApplet* applet, gboolean force);
-GtkWidget* ka_applet_get_pw_label(const KaApplet* applet);
-void ka_applet_set_pw_dialog_persist(KaApplet* applet, gboolean persist);
-
-G_END_DECLS
+KaPwDialog* ka_applet_get_pwdialog(const KaApplet* applet);
/* create the applet */
-KaApplet* ka_applet_create();
+KaApplet* ka_applet_create(GladeXML* xml);
/* update tooltip and icon */
int ka_applet_update_status(KaApplet* applet, krb5_timestamp expiry);
+G_END_DECLS
+
#ifdef ENABLE_DEBUG
#define KA_DEBUG(fmt,...) \
g_printf ("DEBUG: %s: " fmt "\n", __func__, ##__VA_ARGS__)
bgstack15