krb5-auth-dialog r94 - in branches/pkinit: . src



Author: guidog
Date: Sun Jan  4 16:04:13 2009
New Revision: 94
URL: http://svn.gnome.org/viewvc/krb5-auth-dialog?rev=94&view=rev

Log:
add gconf schema

Added:
   branches/pkinit/src/krb5-auth-dialog.schemas.in
Modified:
   branches/pkinit/ChangeLog
   branches/pkinit/src/Makefile.am

Modified: branches/pkinit/src/Makefile.am
==============================================================================
--- branches/pkinit/src/Makefile.am	(original)
+++ branches/pkinit/src/Makefile.am	Sun Jan  4 16:04:13 2009
@@ -10,6 +10,13 @@
 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 @@
 
 EXTRA_DIST =		\
 	$(glade_DATA)   \
+	$(schama_in_files) \
 	$(autostart_in_files) \
 	krb5-auth-dialog.1.in
 
+CLEANFILES = $(schema_DATA)
 DISTCLEANFILES = krb5-auth-dialog.desktop

Added: branches/pkinit/src/krb5-auth-dialog.schemas.in
==============================================================================
--- (empty file)
+++ branches/pkinit/src/krb5-auth-dialog.schemas.in	Sun Jan  4 16:04:13 2009
@@ -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>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]