From d911517dc2f9c4c3ce57529ac4d64c17185544e9 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 25 May 2009 18:39:27 +0200 Subject: Imported Upstream version 0.10 --- preferences/Makefile.am | 37 +- preferences/Makefile.in | 114 +++-- preferences/krb5-auth-dialog-preferences.c | 31 +- preferences/krb5-auth-dialog-preferences.glade | 620 ----------------------- preferences/krb5-auth-dialog-preferences.xml | 657 +++++++++++++++++++++++++ 5 files changed, 769 insertions(+), 690 deletions(-) delete mode 100644 preferences/krb5-auth-dialog-preferences.glade create mode 100644 preferences/krb5-auth-dialog-preferences.xml (limited to 'preferences') diff --git a/preferences/Makefile.am b/preferences/Makefile.am index 83541ea..56d93cb 100644 --- a/preferences/Makefile.am +++ b/preferences/Makefile.am @@ -1,26 +1,33 @@ NULL = -INCLUDES = \ - -I $(top_srcdir)/src/ \ - -DKA_DATA_DIR=\""$(pkgdatadir)"\" \ - -DLOCALE_DIR=\""$(localedir)/"\" \ - $(NULL) - bin_PROGRAMS = krb5-auth-dialog-preferences -schemadir = $(sysconfdir)/gconf/schemas - krb5_auth_dialog_preferences_SOURCES = \ krb5-auth-dialog-preferences.c \ - ../src/krb5-auth-gconf-tools.c \ - ../src/krb5-auth-gconf-tools.h \ + $(top_srcdir)/src/krb5-auth-gconf-tools.c \ + $(top_srcdir)/src/krb5-auth-gconf-tools.h \ $(NULL) +krb5_auth_dialog_preferences_CPPFLAGS = \ + -I$(top_srcdir)/src \ + -DKA_DATA_DIR=\""$(pkgdatadir)"\" \ + -DLOCALE_DIR=\""$(localedir)/"\" + $(AM_CPPFLAGS) + +krb5_auth_dialog_preferences_CFLAGS = \ + $(GTK_CFLAGS) \ + $(GCONF_CFLAGS) \ + $(AM_CFLAGS) + + krb5_auth_dialog_preferences_LDADD = \ - @GCONF_LIBS@ \ - @GLADE_LIBS@ \ - @GTK_LIBS@ \ - $(NULL) + $(GCONF_LIBS) \ + $(GTK_LIBS) \ + $(NULL) + +AM_CPPFLAGS = \ + $(DISABLE_DEPRECATED) \ + $(NULL) desktopdir = $(datadir)/applications desktop_in_files = krb5-auth-dialog-preferences.desktop.in @@ -30,7 +37,7 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) pkgdatadir = $(datadir)/krb5-auth-dialog pkgdata_DATA = \ - krb5-auth-dialog-preferences.glade + krb5-auth-dialog-preferences.xml CLEANFILES = \ $(desktop_DATA) \ diff --git a/preferences/Makefile.in b/preferences/Makefile.in index ab8a609..decfae8 100644 --- a/preferences/Makefile.in +++ b/preferences/Makefile.in @@ -48,13 +48,18 @@ am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(desktopdir)" \ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am__objects_1 = -am_krb5_auth_dialog_preferences_OBJECTS = \ - krb5-auth-dialog-preferences.$(OBJEXT) \ - krb5-auth-gconf-tools.$(OBJEXT) $(am__objects_1) +am_krb5_auth_dialog_preferences_OBJECTS = krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.$(OBJEXT) \ + krb5_auth_dialog_preferences-krb5-auth-gconf-tools.$(OBJEXT) \ + $(am__objects_1) krb5_auth_dialog_preferences_OBJECTS = \ $(am_krb5_auth_dialog_preferences_OBJECTS) am__DEPENDENCIES_1 = -krb5_auth_dialog_preferences_DEPENDENCIES = $(am__DEPENDENCIES_1) +krb5_auth_dialog_preferences_DEPENDENCIES = $(am__DEPENDENCIES_1) \ + $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) +krb5_auth_dialog_preferences_LINK = $(LIBTOOL) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(krb5_auth_dialog_preferences_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ + $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles @@ -98,10 +103,6 @@ CFLAGS = @CFLAGS@ COMPILER_FLAGS = @COMPILER_FLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DBUS_CFLAGS = @DBUS_CFLAGS@ @@ -109,21 +110,23 @@ DBUS_LIBS = @DBUS_LIBS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DSYMUTIL = @DSYMUTIL@ -ECHO = @ECHO@ +DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ -F77 = @F77@ -FFLAGS = @FFLAGS@ +FGREP = @FGREP@ +GCONFTOOL = @GCONFTOOL@ GCONF_CFLAGS = @GCONF_CFLAGS@ GCONF_LIBS = @GCONF_LIBS@ +GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ +GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ +GIO_CFLAGS = @GIO_CFLAGS@ +GIO_LIBS = @GIO_LIBS@ GIO_UNIX_CFLAGS = @GIO_UNIX_CFLAGS@ GIO_UNIX_LIBS = @GIO_UNIX_LIBS@ -GLADE_CFLAGS = @GLADE_CFLAGS@ -GLADE_LIBS = @GLADE_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ @@ -143,6 +146,7 @@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ KRB5_CFLAGS = @KRB5_CFLAGS@ KRB5_CONFIG = @KRB5_CONFIG@ KRB5_LIBS = @KRB5_LIBS@ +LD = @LD@ LDFLAGS = @LDFLAGS@ LEX = @LEX@ LEXLIB = @LEXLIB@ @@ -153,6 +157,7 @@ LIBNOTIFY_LIBS = @LIBNOTIFY_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ @@ -164,8 +169,12 @@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ NETWORK_MANAGER_CFLAGS = @NETWORK_MANAGER_CFLAGS@ NETWORK_MANAGER_LIBS = @NETWORK_MANAGER_LIBS@ +NM = @NM@ NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ @@ -196,8 +205,7 @@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_F77 = @ac_ct_F77@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ @@ -229,6 +237,7 @@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ +lt_ECHO = @lt_ECHO@ mandir = @mandir@ minimum_lifetime = @minimum_lifetime@ mkdir_p = @mkdir_p@ @@ -246,30 +255,36 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ NULL = -INCLUDES = \ - -I $(top_srcdir)/src/ \ - -DKA_DATA_DIR=\""$(pkgdatadir)"\" \ - -DLOCALE_DIR=\""$(localedir)/"\" \ - $(NULL) - -schemadir = $(sysconfdir)/gconf/schemas krb5_auth_dialog_preferences_SOURCES = \ krb5-auth-dialog-preferences.c \ - ../src/krb5-auth-gconf-tools.c \ - ../src/krb5-auth-gconf-tools.h \ + $(top_srcdir)/src/krb5-auth-gconf-tools.c \ + $(top_srcdir)/src/krb5-auth-gconf-tools.h \ $(NULL) +krb5_auth_dialog_preferences_CPPFLAGS = \ + -I$(top_srcdir)/src \ + -DKA_DATA_DIR=\""$(pkgdatadir)"\" \ + -DLOCALE_DIR=\""$(localedir)/"\" + +krb5_auth_dialog_preferences_CFLAGS = \ + $(GTK_CFLAGS) \ + $(GCONF_CFLAGS) \ + $(AM_CFLAGS) + krb5_auth_dialog_preferences_LDADD = \ - @GCONF_LIBS@ \ - @GLADE_LIBS@ \ - @GTK_LIBS@ \ - $(NULL) + $(GCONF_LIBS) \ + $(GTK_LIBS) \ + $(NULL) + +AM_CPPFLAGS = \ + $(DISABLE_DEPRECATED) \ + $(NULL) desktopdir = $(datadir)/applications desktop_in_files = krb5-auth-dialog-preferences.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) pkgdata_DATA = \ - krb5-auth-dialog-preferences.glade + krb5-auth-dialog-preferences.xml CLEANFILES = \ $(desktop_DATA) \ @@ -343,7 +358,7 @@ clean-binPROGRAMS: done krb5-auth-dialog-preferences$(EXEEXT): $(krb5_auth_dialog_preferences_OBJECTS) $(krb5_auth_dialog_preferences_DEPENDENCIES) @rm -f krb5-auth-dialog-preferences$(EXEEXT) - $(LINK) $(krb5_auth_dialog_preferences_OBJECTS) $(krb5_auth_dialog_preferences_LDADD) $(LIBS) + $(krb5_auth_dialog_preferences_LINK) $(krb5_auth_dialog_preferences_OBJECTS) $(krb5_auth_dialog_preferences_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) @@ -351,8 +366,8 @@ mostlyclean-compile: distclean-compile: -rm -f *.tab.c -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/krb5-auth-dialog-preferences.Po@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/krb5-auth-gconf-tools.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/krb5_auth_dialog_preferences-krb5-auth-gconf-tools.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< @@ -375,19 +390,33 @@ distclean-compile: @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< -krb5-auth-gconf-tools.o: ../src/krb5-auth-gconf-tools.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT krb5-auth-gconf-tools.o -MD -MP -MF $(DEPDIR)/krb5-auth-gconf-tools.Tpo -c -o krb5-auth-gconf-tools.o `test -f '../src/krb5-auth-gconf-tools.c' || echo '$(srcdir)/'`../src/krb5-auth-gconf-tools.c -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/krb5-auth-gconf-tools.Tpo $(DEPDIR)/krb5-auth-gconf-tools.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/krb5-auth-gconf-tools.c' object='krb5-auth-gconf-tools.o' libtool=no @AMDEPBACKSLASH@ +krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.o: krb5-auth-dialog-preferences.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(krb5_auth_dialog_preferences_CPPFLAGS) $(CPPFLAGS) $(krb5_auth_dialog_preferences_CFLAGS) $(CFLAGS) -MT krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.o -MD -MP -MF $(DEPDIR)/krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.Tpo -c -o krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.o `test -f 'krb5-auth-dialog-preferences.c' || echo '$(srcdir)/'`krb5-auth-dialog-preferences.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.Tpo $(DEPDIR)/krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='krb5-auth-dialog-preferences.c' object='krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(krb5_auth_dialog_preferences_CPPFLAGS) $(CPPFLAGS) $(krb5_auth_dialog_preferences_CFLAGS) $(CFLAGS) -c -o krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.o `test -f 'krb5-auth-dialog-preferences.c' || echo '$(srcdir)/'`krb5-auth-dialog-preferences.c + +krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.obj: krb5-auth-dialog-preferences.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(krb5_auth_dialog_preferences_CPPFLAGS) $(CPPFLAGS) $(krb5_auth_dialog_preferences_CFLAGS) $(CFLAGS) -MT krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.obj -MD -MP -MF $(DEPDIR)/krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.Tpo -c -o krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.obj `if test -f 'krb5-auth-dialog-preferences.c'; then $(CYGPATH_W) 'krb5-auth-dialog-preferences.c'; else $(CYGPATH_W) '$(srcdir)/krb5-auth-dialog-preferences.c'; fi` +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.Tpo $(DEPDIR)/krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='krb5-auth-dialog-preferences.c' object='krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(krb5_auth_dialog_preferences_CPPFLAGS) $(CPPFLAGS) $(krb5_auth_dialog_preferences_CFLAGS) $(CFLAGS) -c -o krb5_auth_dialog_preferences-krb5-auth-dialog-preferences.obj `if test -f 'krb5-auth-dialog-preferences.c'; then $(CYGPATH_W) 'krb5-auth-dialog-preferences.c'; else $(CYGPATH_W) '$(srcdir)/krb5-auth-dialog-preferences.c'; fi` + +krb5_auth_dialog_preferences-krb5-auth-gconf-tools.o: $(top_srcdir)/src/krb5-auth-gconf-tools.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(krb5_auth_dialog_preferences_CPPFLAGS) $(CPPFLAGS) $(krb5_auth_dialog_preferences_CFLAGS) $(CFLAGS) -MT krb5_auth_dialog_preferences-krb5-auth-gconf-tools.o -MD -MP -MF $(DEPDIR)/krb5_auth_dialog_preferences-krb5-auth-gconf-tools.Tpo -c -o krb5_auth_dialog_preferences-krb5-auth-gconf-tools.o `test -f '$(top_srcdir)/src/krb5-auth-gconf-tools.c' || echo '$(srcdir)/'`$(top_srcdir)/src/krb5-auth-gconf-tools.c +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/krb5_auth_dialog_preferences-krb5-auth-gconf-tools.Tpo $(DEPDIR)/krb5_auth_dialog_preferences-krb5-auth-gconf-tools.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(top_srcdir)/src/krb5-auth-gconf-tools.c' object='krb5_auth_dialog_preferences-krb5-auth-gconf-tools.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o krb5-auth-gconf-tools.o `test -f '../src/krb5-auth-gconf-tools.c' || echo '$(srcdir)/'`../src/krb5-auth-gconf-tools.c +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(krb5_auth_dialog_preferences_CPPFLAGS) $(CPPFLAGS) $(krb5_auth_dialog_preferences_CFLAGS) $(CFLAGS) -c -o krb5_auth_dialog_preferences-krb5-auth-gconf-tools.o `test -f '$(top_srcdir)/src/krb5-auth-gconf-tools.c' || echo '$(srcdir)/'`$(top_srcdir)/src/krb5-auth-gconf-tools.c -krb5-auth-gconf-tools.obj: ../src/krb5-auth-gconf-tools.c -@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT krb5-auth-gconf-tools.obj -MD -MP -MF $(DEPDIR)/krb5-auth-gconf-tools.Tpo -c -o krb5-auth-gconf-tools.obj `if test -f '../src/krb5-auth-gconf-tools.c'; then $(CYGPATH_W) '../src/krb5-auth-gconf-tools.c'; else $(CYGPATH_W) '$(srcdir)/../src/krb5-auth-gconf-tools.c'; fi` -@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/krb5-auth-gconf-tools.Tpo $(DEPDIR)/krb5-auth-gconf-tools.Po -@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='../src/krb5-auth-gconf-tools.c' object='krb5-auth-gconf-tools.obj' libtool=no @AMDEPBACKSLASH@ +krb5_auth_dialog_preferences-krb5-auth-gconf-tools.obj: $(top_srcdir)/src/krb5-auth-gconf-tools.c +@am__fastdepCC_TRUE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(krb5_auth_dialog_preferences_CPPFLAGS) $(CPPFLAGS) $(krb5_auth_dialog_preferences_CFLAGS) $(CFLAGS) -MT krb5_auth_dialog_preferences-krb5-auth-gconf-tools.obj -MD -MP -MF $(DEPDIR)/krb5_auth_dialog_preferences-krb5-auth-gconf-tools.Tpo -c -o krb5_auth_dialog_preferences-krb5-auth-gconf-tools.obj `if test -f '$(top_srcdir)/src/krb5-auth-gconf-tools.c'; then $(CYGPATH_W) '$(top_srcdir)/src/krb5-auth-gconf-tools.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/krb5-auth-gconf-tools.c'; fi` +@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/krb5_auth_dialog_preferences-krb5-auth-gconf-tools.Tpo $(DEPDIR)/krb5_auth_dialog_preferences-krb5-auth-gconf-tools.Po +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$(top_srcdir)/src/krb5-auth-gconf-tools.c' object='krb5_auth_dialog_preferences-krb5-auth-gconf-tools.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o krb5-auth-gconf-tools.obj `if test -f '../src/krb5-auth-gconf-tools.c'; then $(CYGPATH_W) '../src/krb5-auth-gconf-tools.c'; else $(CYGPATH_W) '$(srcdir)/../src/krb5-auth-gconf-tools.c'; fi` +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(krb5_auth_dialog_preferences_CPPFLAGS) $(CPPFLAGS) $(krb5_auth_dialog_preferences_CFLAGS) $(CFLAGS) -c -o krb5_auth_dialog_preferences-krb5-auth-gconf-tools.obj `if test -f '$(top_srcdir)/src/krb5-auth-gconf-tools.c'; then $(CYGPATH_W) '$(top_srcdir)/src/krb5-auth-gconf-tools.c'; else $(CYGPATH_W) '$(srcdir)/$(top_srcdir)/src/krb5-auth-gconf-tools.c'; fi` mostlyclean-libtool: -rm -f *.lo @@ -610,6 +639,7 @@ uninstall-am: uninstall-binPROGRAMS uninstall-desktopDATA \ tags uninstall uninstall-am uninstall-binPROGRAMS \ uninstall-desktopDATA uninstall-pkgdataDATA + $(AM_CPPFLAGS) @INTLTOOL_DESKTOP_RULE@ # Tell versions [3.59,3.63) of GNU make to not export all variables. diff --git a/preferences/krb5-auth-dialog-preferences.c b/preferences/krb5-auth-dialog-preferences.c index ab463a0..c0d75c6 100644 --- a/preferences/krb5-auth-dialog-preferences.c +++ b/preferences/krb5-auth-dialog-preferences.c @@ -32,14 +32,13 @@ #include #include -#include #include "krb5-auth-gconf-tools.h" #define N_LISTENERS 8 typedef struct { - GladeXML *xml; + GtkBuilder *xml; GConfClient *client; GtkWidget *dialog; @@ -102,7 +101,7 @@ ka_preferences_dialog_setup_principal_entry (KaPreferencesDialog *dialog) { char *principal = NULL; - dialog->principal_entry = glade_xml_get_widget (dialog->xml, "principal_entry"); + dialog->principal_entry = GTK_WIDGET(gtk_builder_get_object (dialog->xml, "principal_entry")); g_assert (dialog->principal_entry != NULL); if (!ka_gconf_get_string (dialog->client, KA_GCONF_KEY_PRINCIPAL, &principal)) @@ -173,7 +172,7 @@ ka_preferences_dialog_setup_pkuserid_entry (KaPreferencesDialog *dialog) { char *pkuserid = NULL; - dialog->pkuserid_entry = glade_xml_get_widget (dialog->xml, "pkuserid_entry"); + dialog->pkuserid_entry = GTK_WIDGET(gtk_builder_get_object (dialog->xml, "pkuserid_entry")); g_assert (dialog->pkuserid_entry != NULL); if (!ka_gconf_get_string (dialog->client, KA_GCONF_KEY_PK_USERID, &pkuserid)) @@ -243,7 +242,7 @@ ka_preferences_dialog_setup_pkanchors_entry (KaPreferencesDialog *dialog) { char *pkanchors = NULL; - dialog->pkanchors_entry = glade_xml_get_widget (dialog->xml, "pkanchors_entry"); + dialog->pkanchors_entry = GTK_WIDGET(gtk_builder_get_object (dialog->xml, "pkanchors_entry")); g_assert (dialog->pkanchors_entry != NULL); if (!ka_gconf_get_string (dialog->client, KA_GCONF_KEY_PK_ANCHORS, &pkanchors)) @@ -303,7 +302,7 @@ ka_preferences_dialog_setup_forwardable_toggle (KaPreferencesDialog *dialog) { gboolean forwardable; - dialog->forwardable_toggle = glade_xml_get_widget (dialog->xml, "forwardable_toggle"); + dialog->forwardable_toggle = GTK_WIDGET(gtk_builder_get_object (dialog->xml, "forwardable_toggle")); g_assert (dialog->forwardable_toggle != NULL); forwardable = gconf_client_get_bool (dialog->client, KA_GCONF_KEY_FORWARDABLE, NULL); @@ -361,7 +360,7 @@ ka_preferences_dialog_setup_proxiable_toggle (KaPreferencesDialog *dialog) { gboolean proxiable; - dialog->proxiable_toggle = glade_xml_get_widget (dialog->xml, "proxiable_toggle"); + dialog->proxiable_toggle = GTK_WIDGET(gtk_builder_get_object (dialog->xml, "proxiable_toggle")); g_assert (dialog->proxiable_toggle != NULL); proxiable = gconf_client_get_bool (dialog->client, KA_GCONF_KEY_PROXIABLE, NULL); @@ -419,7 +418,7 @@ ka_preferences_dialog_setup_renewable_toggle (KaPreferencesDialog *dialog) { gboolean renewable; - dialog->renewable_toggle = glade_xml_get_widget (dialog->xml, "renewable_toggle"); + dialog->renewable_toggle = GTK_WIDGET(gtk_builder_get_object (dialog->xml, "renewable_toggle")); g_assert (dialog->renewable_toggle != NULL); renewable = gconf_client_get_bool (dialog->client, KA_GCONF_KEY_RENEWABLE, NULL); @@ -475,7 +474,7 @@ ka_preferences_dialog_setup_trayicon_toggle (KaPreferencesDialog *dialog) { gboolean trayicon; - dialog->trayicon_toggle = glade_xml_get_widget (dialog->xml, "trayicon_toggle"); + dialog->trayicon_toggle = GTK_WIDGET(gtk_builder_get_object (dialog->xml, "trayicon_toggle")); g_assert (dialog->trayicon_toggle != NULL); trayicon = gconf_client_get_bool (dialog->client, KA_GCONF_KEY_SHOW_TRAYICON, NULL); @@ -532,7 +531,7 @@ ka_preferences_dialog_setup_prompt_mins_entry (KaPreferencesDialog *dialog) { gint prompt_mins; - dialog->prompt_mins_entry = glade_xml_get_widget (dialog->xml, "prompt_mins_entry"); + dialog->prompt_mins_entry = GTK_WIDGET(gtk_builder_get_object (dialog->xml, "prompt_mins_entry")); g_assert (dialog->prompt_mins_entry != NULL); prompt_mins = gconf_client_get_int (dialog->client, KA_GCONF_KEY_PROMPT_MINS, NULL); @@ -568,9 +567,13 @@ ka_preferences_dialog_response (GtkWidget *widget, return; } +#if GTK_CHECK_VERSION(2, 14, 0) gtk_show_uri (gtk_window_get_screen (GTK_WINDOW (dialog->dialog)), "ghelp:krb5-auth-dialog#preferences", gtk_get_current_event_time (), &error); +#else + g_warning("gtk_show_uri unavailable"); +#endif if (error) { GtkWidget *message_dialog; @@ -607,10 +610,12 @@ ka_preferences_dialog_destroyed (GtkWidget *widget G_GNUC_UNUSED, static gboolean ka_preferences_dialog_init(KaPreferencesDialog* dialog) { - dialog->xml = glade_xml_new (KA_DATA_DIR G_DIR_SEPARATOR_S - PACKAGE "-preferences.glade", NULL, NULL); + dialog->xml = gtk_builder_new (); - dialog->dialog = glade_xml_get_widget (dialog->xml, "krb5_auth_dialog_prefs"); + g_assert(gtk_builder_add_from_file(dialog->xml, KA_DATA_DIR G_DIR_SEPARATOR_S + PACKAGE "-preferences.xml", NULL)); + + dialog->dialog = GTK_WIDGET(gtk_builder_get_object (dialog->xml, "krb5_auth_dialog_prefs")); g_assert (dialog->dialog); g_signal_connect (dialog->dialog, "response", diff --git a/preferences/krb5-auth-dialog-preferences.glade b/preferences/krb5-auth-dialog-preferences.glade deleted file mode 100644 index 8e23b2f..0000000 --- a/preferences/krb5-auth-dialog-preferences.glade +++ /dev/null @@ -1,620 +0,0 @@ - - - - - - 5 - Kerberos Authentication Configuration - GTK_WIN_POS_CENTER_ON_PARENT - gtk-dialog-authentication - GDK_WINDOW_TYPE_HINT_DIALOG - False - - - True - 2 - - - True - True - - - True - 12 - 18 - - - True - 12 - - - True - 0 - <b>Kerberos User</b> - True - - - False - False - - - - - True - 12 - - - True - 0 - 6 - gtk-dialog-authentication - - - False - False - - - - - True - 6 - - - True - 0 - Kerberos principal: - - - False - False - - - - - True - 6 - - - True - - - - False - False - - - - - True - True - True - - - 1 - - - - - 1 - - - - - True - 0 - PKINIT userid: - - - False - False - 2 - - - - - True - 6 - - - True - - - - False - False - - - - - True - True - The principal's public/private/certificate identifier. Leave empty if not using PKINIT. - True - - - 1 - - - - - 3 - - - - - True - 0 - PKINT anchors: - - - False - False - 4 - - - - - True - 6 - - - True - - - - False - False - - - - - True - True - Path to CA certificates used as trust anchors for PKINIT - True - - - 1 - - - - - 5 - - - - - 1 - - - - - 1 - - - - - False - - - - - True - 12 - - - True - 0 - <b>Ticket Options</b> - True - - - False - - - - - True - 12 - - - True - 0 - 6 - system-lock-screen - - - False - False - - - - - True - 6 - - - True - Requested Kerberos tickets should be: - - - False - False - - - - - True - - - True - - - - False - False - - - - - True - True - If checked, request forwardable tickets - forwardable - 0 - True - - - 1 - - - - - False - False - 1 - - - - - True - - - True - - - - False - False - - - - - True - True - If checked, request renewable tickets - renewable - 0 - True - - - False - False - 1 - - - - - 2 - - - - - True - - - True - - - - False - False - - - - - True - True - If checked, request proxiable tickets - proxiable - 0 - True - - - False - False - 1 - - - - - 3 - - - - - 1 - - - - - 1 - - - - - False - 1 - - - - - - - True - Kerberos - - - tab - False - - - - - True - 12 - 18 - - - True - 12 - - - True - 0 - <b>Notifications</b> - True - - - False - False - - - - - True - 12 - - - True - 0 - gtk-dialog-warning - 6 - - - False - False - - - - - True - 6 - - - True - - - - False - False - - - - - True - Warn - - - False - False - 1 - - - - - True - True - Send notification about ticket expiry that many minutes before it finally expires. - True - 0 0 100 1 10 10 - - - False - False - 2 - - - - - True - minutes before expiry - - - False - False - 3 - - - - - False - 1 - - - - - False - 1 - - - - - False - - - - - True - 12 - - - True - 0 - <b>Appearance</b> - True - - - False - False - - - - - True - 12 - - - True - 0 - 0 - gtk-zoom-in - 6 - - - False - False - - - - - True - - - True - 6 - - - True - - - - False - False - - - - - True - True - If checked, display the tray icon in the status bar. - Show tray icon - 0 - True - - - False - 1 - - - - - - - False - False - 1 - - - - - False - False - 1 - - - - - False - 1 - - - - - 1 - - - - - True - Applet - - - tab - 1 - False - - - - - 1 - - - - - True - GTK_BUTTONBOX_END - - - True - True - gtk-help - True - -11 - - - - - True - True - True - True - True - gtk-close - True - 0 - - - 1 - - - - - False - GTK_PACK_END - - - - - - diff --git a/preferences/krb5-auth-dialog-preferences.xml b/preferences/krb5-auth-dialog-preferences.xml new file mode 100644 index 0000000..5bb48bd --- /dev/null +++ b/preferences/krb5-auth-dialog-preferences.xml @@ -0,0 +1,657 @@ + + + + + + 5 + Kerberos Authentication Configuration + center-on-parent + gtk-dialog-authentication + dialog + False + + + True + 2 + + + True + True + + + True + 12 + 18 + + + True + 12 + + + True + 0 + <b>Kerberos User</b> + True + + + False + False + 0 + + + + + True + 12 + + + True + 0 + gtk-dialog-authentication + 6 + + + False + False + 0 + + + + + True + 6 + + + True + 0 + Kerberos principal: + + + False + False + 0 + + + + + True + 6 + + + True + + + + False + False + 0 + + + + + True + True + True + + + 1 + + + + + 1 + + + + + True + 0 + PKINIT userid: + + + False + False + 2 + + + + + True + 6 + + + True + + + + False + False + 0 + + + + + True + True + The principal's public/private/certificate identifier. Leave empty if not using PKINIT. + True + + + 1 + + + + + 3 + + + + + True + 0 + PKINT anchors: + + + False + False + 4 + + + + + True + 6 + + + True + + + + False + False + 0 + + + + + True + True + Path to CA certificates used as trust anchors for PKINIT + True + + + 1 + + + + + 5 + + + + + 1 + + + + + 1 + + + + + False + 0 + + + + + True + 12 + + + True + 0 + <b>Ticket Options</b> + True + + + False + 0 + + + + + True + 12 + + + True + 0 + system-lock-screen + 6 + + + False + False + 0 + + + + + True + 6 + + + True + Requested Kerberos tickets should be: + + + False + False + 0 + + + + + True + + + True + + + + False + False + 0 + + + + + forwardable + True + True + False + If checked, request forwardable tickets + True + + + 1 + + + + + False + False + 1 + + + + + True + + + True + + + + False + False + 0 + + + + + renewable + True + True + False + If checked, request renewable tickets + True + + + False + False + 1 + + + + + 2 + + + + + True + + + True + + + + False + False + 0 + + + + + proxiable + True + True + False + If checked, request proxiable tickets + True + + + False + False + 1 + + + + + 3 + + + + + 1 + + + + + 1 + + + + + False + 1 + + + + + + + True + Kerberos + + + False + + + + + True + 12 + 18 + + + True + 12 + + + True + 0 + <b>Notifications</b> + True + + + False + False + 0 + + + + + True + 12 + + + True + 0 + gtk-dialog-warning + 6 + + + False + False + 0 + + + + + True + 6 + + + True + + + + False + False + 0 + + + + + True + Warn + + + False + False + 1 + + + + + True + True + Send notification about ticket expiry that many minutes before it finally expires. + True + adjustment1 + + + False + False + 2 + + + + + True + minutes before expiry + + + False + False + 3 + + + + + False + 1 + + + + + False + 1 + + + + + False + 0 + + + + + True + 12 + + + True + 0 + <b>Appearance</b> + True + + + False + False + 0 + + + + + True + 12 + + + True + 0 + 0 + gtk-zoom-in + 6 + + + False + False + 0 + + + + + True + + + True + 6 + + + True + + + + False + False + 0 + + + + + Show tray icon + True + True + False + If checked, display the tray icon in the status bar. + True + + + False + 1 + + + + + 0 + + + + + False + False + 1 + + + + + False + False + 1 + + + + + False + 1 + + + + + 1 + + + + + True + Applet + + + 1 + False + + + + + 1 + + + + + True + end + + + gtk-help + True + True + True + + + False + False + 0 + + + + + gtk-close + True + True + True + True + True + True + + + False + False + 1 + + + + + False + end + 0 + + + + + + button2 + button1 + + + + 100 + 1 + 10 + 10 + + -- cgit