From 971a85643f25304fe1eda917f4771cd498a0d89c Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Tue, 17 Nov 2009 20:21:01 -0500 Subject: [PATCH] Reference glabels.org website Change all references to the glabels.sourceforge.net website to the glabels.org alias. Change namespace for 2.3 development version to glabels.org/xmlns/2.3/. --- MESSAGE-OF-DOOM | 2 +- README | 2 +- data/man/glabels.1 | 2 +- glabels.doap | 2 +- libglabels/xml.h | 2 +- src/ui-commands.c | 4 ++-- src/xml-label.c | 2 ++ 7 files changed, 9 insertions(+), 7 deletions(-) diff --git a/MESSAGE-OF-DOOM b/MESSAGE-OF-DOOM index 9ddbfaa7..59f90e53 100644 --- a/MESSAGE-OF-DOOM +++ b/MESSAGE-OF-DOOM @@ -8,7 +8,7 @@ It will probably crash and you will lose your data. If you are looking for a stable release of glabels, it can be downloaded from: - http://glabels.sourceforge.net/download + http://glabels.org/download *** END OF WARNING *** diff --git a/README b/README index bd9a270c..aadf2453 100644 --- a/README +++ b/README @@ -51,5 +51,5 @@ See the AUTHORS file. Website ======= -http://glabels.sourceforge.net/ +http://glabels.org/ diff --git a/data/man/glabels.1 b/data/man/glabels.1 index 489b2a42..906dd2a5 100644 --- a/data/man/glabels.1 +++ b/data/man/glabels.1 @@ -62,6 +62,6 @@ seen from the back through glass. .SH FILES The $HOME/.glabels directory contains all user-defined templates. .SH SEE ALSO -The gLabels homepage at . +The gLabels homepage at . .SH AUTHOR Jim Evins diff --git a/glabels.doap b/glabels.doap index 56c5a9be..a2c00a8d 100644 --- a/glabels.doap +++ b/glabels.doap @@ -6,7 +6,7 @@ glabels gLabels label designer - + diff --git a/libglabels/xml.h b/libglabels/xml.h index 4629cfe0..8b5ba9dd 100644 --- a/libglabels/xml.h +++ b/libglabels/xml.h @@ -26,7 +26,7 @@ #include "units.h" -#define LGL_XML_NAME_SPACE "http://snaught.com/glabels/2.2/" +#define LGL_XML_NAME_SPACE "http://glabels.org/xmlns/2.3/" G_BEGIN_DECLS diff --git a/src/ui-commands.c b/src/ui-commands.c index 73da051e..a29f18e6 100644 --- a/src/ui-commands.c +++ b/src/ui-commands.c @@ -1101,7 +1101,7 @@ gl_ui_cmd_help_about (GtkAction *action, "Austin Henry", " ", _("See the file AUTHORS for additional credits,"), - _("or visit http://glabels.sourceforge.net/"), + _("or visit http://glabels.org/"), NULL }; @@ -1115,7 +1115,7 @@ gl_ui_cmd_help_about (GtkAction *action, const gchar *about_text = _("A label and business card creation program.\n"); - const gchar *url = "http://glabels.sourceforge.net"; + const gchar *url = "http://glabels.org"; const gchar *translator_credits = _("translator-credits"); diff --git a/src/xml-label.c b/src/xml-label.c index 616aea51..cf3c436a 100644 --- a/src/xml-label.c +++ b/src/xml-label.c @@ -51,6 +51,7 @@ #define COMPAT01_NAME_SPACE "http://snaught.com/glabels/0.1/" #define COMPAT04_NAME_SPACE "http://snaught.com/glabels/0.4/" #define COMPAT20_NAME_SPACE "http://snaught.com/glabels/2.0/" +#define COMPAT22_NAME_SPACE "http://snaught.com/glabels/2.2/" /*========================================================*/ @@ -284,6 +285,7 @@ xml_doc_to_label (xmlDocPtr doc, /* Test for current namespaces. */ if ( !xmlSearchNsByHref (doc, root, (xmlChar *)COMPAT20_NAME_SPACE) && + !xmlSearchNsByHref (doc, root, (xmlChar *)COMPAT22_NAME_SPACE) && !xmlSearchNsByHref (doc, root, (xmlChar *)LGL_XML_NAME_SPACE) ) { g_message (_("Unknown glabels Namespace -- Using %s"), -- 2.39.5