diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/Makefile.am | 9 | ||||
-rw-r--r-- | src/krb5-auth-dialog.schemas.in | 55 |
3 files changed, 70 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Sun Jan 4 16:58:17 CET 2009 Guido Günther <agx@sigxcpu.org> + + add gconf schema + * src/Makefile.am: process, install and cleanup schema file + * src/krb5-auth-dialog.schemas.in: new file + Sun Jan 4 16:51:33 CET 2009 Guido Günther <agx@sigxcpu.org> move HAVE_LIBNOTIFY check into krb5-auth-notify.c and simplify diff --git a/src/Makefile.am b/src/Makefile.am index 066e582..2837be8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -10,6 +10,13 @@ autostart_in_files = krb5-auth-dialog.desktop.in autostart_DATA = $(autostart_in_files:.desktop.in=.desktop) @INTLTOOL_DESKTOP_RULE@ +schemadir = $(sysconfdir)/gconf/schemas +schema_in_files = $(PACKAGE).schemas.in +schema_DATA = $(PACKAGE).schemas + +%.schemas: $(srcdir)/%.schemas.in + sed -e "s,::PACKAGE::,$(PACKAGE)," < $< > $@ + krb5_auth_dialog_SOURCES = \ krb5-auth-dialog.c \ krb5-auth-dialog.h \ @@ -42,7 +49,9 @@ glade_DATA = \ EXTRA_DIST = \ $(glade_DATA) \ + $(schama_in_files) \ $(autostart_in_files) \ krb5-auth-dialog.1.in +CLEANFILES = $(schema_DATA) DISTCLEANFILES = krb5-auth-dialog.desktop diff --git a/src/krb5-auth-dialog.schemas.in b/src/krb5-auth-dialog.schemas.in new file mode 100644 index 0000000..2a3a707 --- /dev/null +++ b/src/krb5-auth-dialog.schemas.in @@ -0,0 +1,55 @@ +<gconfschemafile> + <schemalist> + <schema> + <key>/schemas/apps/::PACKAGE::/show_trayicon</key> + <applyto>/apps/::PACKAGE::/show_trayicon</applyto> + <owner>::PACKAGE::</owner> + <type>bool</type> + <default>1</default> + + <locale name="C"> + <short>Show trayicon</short> + <long>Show a trayicon in the status area of the panel</long> + </locale> + </schema> + + <schema> + <key>/schemas/apps/::PACKAGE::/principal</key> + <applyto>/apps/::PACKAGE::/principal</applyto> + <owner>::PACKAGE::</owner> + <type>string</type> + <default></default> + + <locale name="C"> + <short>Kerberos principal</short> + <long>The kerberos principal to acquire the ticket for</long> + </locale> + </schema> + + <schema> + <key>/schemas/apps/::PACKAGE::/pk_userid</key> + <applyto>/apps/::PACKAGE::/pk_userid</applyto> + <owner>::PACKAGE::</owner> + <type>string</type> + <default></default> + + <locale name="C"> + <short>Pkinit identifier</short> + <long>The principal's public/private/certificate identifier when using pkinit</long> + </locale> + </schema> + + <schema> + <key>/schemas/apps/::PACKAGE::/prompt_minutes</key> + <applyto>/apps/::PACKAGE::/prompt_minutes</applyto> + <owner>::PACKAGE::</owner> + <type>int</type> + <default>30</default> + + <locale name="C"> + <short>Prompt minutes before expiry</short> + <long>Start prompting/displaying notifications that many minutes before expiry</long> + </locale> + </schema> + </schemalist> +</gconfschemafile> |