[krb5-auth-dialog] Rename krb5-auth-applet.[ch]
- From: Guido Günther <guidog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [krb5-auth-dialog] Rename krb5-auth-applet.[ch]
- Date: Thu, 29 Apr 2010 08:29:58 +0000 (UTC)
commit 2a2b10c6d55ae13dbc4c0474005673950bf97f45
Author: Guido Günther <agx sigxcpu org>
Date: Wed Apr 28 17:48:14 2010 +0200
Rename krb5-auth-applet.[ch]
Rename krb5-auth-applet.h to ka-applet-priv.h since these parts
shouldn't be used by modules.
src/Makefile.am | 4 ++--
src/{krb5-auth-applet.h => ka-applet-priv.h} | 4 +++-
src/{krb5-auth-applet.c => ka-applet.c} | 7 +++----
src/ka-dbus.c | 2 +-
src/ka-dbus.h | 2 +-
src/ka-dialog.c | 2 +-
src/ka-dialog.h | 2 +-
src/ka-gconf.c | 2 +-
src/ka-gconf.h | 2 +-
src/ka-plugin-loader.c | 2 +-
src/ka-pwdialog.c | 2 +-
11 files changed, 16 insertions(+), 15 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index ae57ead..591c69f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -23,8 +23,8 @@ $(service_DATA): $(service_in_files) Makefile
krb5_auth_dialog_SOURCES = \
ka-dialog.c \
ka-dialog.h \
- krb5-auth-applet.c \
- krb5-auth-applet.h \
+ ka-applet.c \
+ ka-applet-priv.h \
ka-applet.h \
ka-pwdialog.c \
ka-pwdialog.h \
diff --git a/src/krb5-auth-applet.h b/src/ka-applet-priv.h
similarity index 95%
rename from src/krb5-auth-applet.h
rename to src/ka-applet-priv.h
index 528eae0..296fe5a 100644
--- a/src/krb5-auth-applet.h
+++ b/src/ka-applet-priv.h
@@ -1,6 +1,6 @@
/* Krb5 Auth Applet -- Acquire and release kerberos tickets
*
- * (C) 2008 Guido Guenther <agx sigxcpu org>
+ * (C) 2008,2010 Guido Guenther <agx sigxcpu org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -18,6 +18,8 @@
*
*/
+/* "Private" header - functions not exported to plugins */
+
#ifndef KRB5_AUTH_APPLET_H
#define KRB5_AUTH_APPLET_H
diff --git a/src/krb5-auth-applet.c b/src/ka-applet.c
similarity index 99%
rename from src/krb5-auth-applet.c
rename to src/ka-applet.c
index 45e6d23..472f4f5 100644
--- a/src/krb5-auth-applet.c
+++ b/src/ka-applet.c
@@ -22,7 +22,7 @@
#include <glib/gi18n.h>
-#include "krb5-auth-applet.h"
+#include "ka-applet-priv.h"
#include "ka-dialog.h"
#include "ka-gconf-tools.h"
#include "ka-gconf.h"
@@ -406,8 +406,8 @@ ka_applet_select_icon(KaApplet* applet, int remaining)
if (remaining > 0) {
if (remaining < applet->priv->pw_prompt_secs &&
!applet->priv->renewable)
- tray_icon = exp_icon;
- else
+ tray_icon = exp_icon;
+ else
tray_icon = val_icon;
}
@@ -940,4 +940,3 @@ ka_applet_create()
return applet;
}
-
diff --git a/src/ka-dbus.c b/src/ka-dbus.c
index 926530b..f8a00d6 100644
--- a/src/ka-dbus.c
+++ b/src/ka-dbus.c
@@ -21,7 +21,7 @@
#include "config.h"
#include <dbus/dbus-glib.h>
-#include "krb5-auth-applet.h"
+#include "ka-applet-priv.h"
#include "ka-dialog.h"
#include "ka-dbus.h"
#include "ka-dbus-glue.h"
diff --git a/src/ka-dbus.h b/src/ka-dbus.h
index 0d3acd0..369d1de 100644
--- a/src/ka-dbus.h
+++ b/src/ka-dbus.h
@@ -24,7 +24,7 @@
#include <glib.h>
#include <dbus/dbus-glib.h>
#include <dbus/dbus-glib-lowlevel.h>
-#include "krb5-auth-applet.h"
+#include "ka-applet-priv.h"
gboolean ka_dbus_connect(unsigned int* status);
gboolean ka_dbus_service(KaApplet* applet);
diff --git a/src/ka-dialog.c b/src/ka-dialog.c
index f5a9634..f8d0fea 100644
--- a/src/ka-dialog.c
+++ b/src/ka-dialog.c
@@ -37,7 +37,7 @@
#include "memory.h"
#include "ka-dialog.h"
-#include "krb5-auth-applet.h"
+#include "ka-applet-priv.h"
#include "ka-pwdialog.h"
#include "ka-dbus.h"
#include "ka-tools.h"
diff --git a/src/ka-dialog.h b/src/ka-dialog.h
index 2dc94fe..8aabb8e 100644
--- a/src/ka-dialog.h
+++ b/src/ka-dialog.h
@@ -21,7 +21,7 @@
#ifndef KRB5_AUTH_DIALOG
#define KRB5_AUTH_DIALOG
-#include "krb5-auth-applet.h"
+#include "ka-applet-priv.h"
gboolean ka_destroy_ccache (KaApplet* applet);
gboolean ka_grab_credentials(KaApplet* applet);
diff --git a/src/ka-gconf.c b/src/ka-gconf.c
index fa64f29..10ef703 100644
--- a/src/ka-gconf.c
+++ b/src/ka-gconf.c
@@ -22,7 +22,7 @@
#include <gconf/gconf-client.h>
#include <string.h>
-#include "krb5-auth-applet.h"
+#include "ka-applet-priv.h"
#include "ka-gconf-tools.h"
#include "ka-gconf.h"
diff --git a/src/ka-gconf.h b/src/ka-gconf.h
index e4c3b5a..3e0c656 100644
--- a/src/ka-gconf.h
+++ b/src/ka-gconf.h
@@ -22,7 +22,7 @@
#define KRB5_AUTH_GCONF_H
#include <gconf/gconf-client.h>
-#include "krb5-auth-applet.h"
+#include "ka-applet-priv.h"
GConfClient* ka_gconf_init (KaApplet* applet);
diff --git a/src/ka-plugin-loader.c b/src/ka-plugin-loader.c
index fcced74..2321215 100644
--- a/src/ka-plugin-loader.c
+++ b/src/ka-plugin-loader.c
@@ -20,7 +20,7 @@
#include "ka-plugin-loader.h"
#include "ka-plugin.h"
-#include "krb5-auth-applet.h"
+#include "ka-applet-priv.h"
#include "ka-gconf-tools.h"
#include <gmodule.h>
diff --git a/src/ka-pwdialog.c b/src/ka-pwdialog.c
index 7f94fbc..2f8463c 100644
--- a/src/ka-pwdialog.c
+++ b/src/ka-pwdialog.c
@@ -22,7 +22,7 @@
#include <glib/gi18n.h>
-#include "krb5-auth-applet.h"
+#include "ka-applet-priv.h"
#include "ka-dialog.h"
#include "ka-pwdialog.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]