[glabels] Reference glabels.org website



commit 971a85643f25304fe1eda917f4771cd498a0d89c
Author: Jim Evins <evins snaught com>
Date:   Tue Nov 17 20:21:01 2009 -0500

    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 9ddbfaa..59f90e5 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 bd9a270..aadf245 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 489b2a4..906dd2a 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 <http://glabels.sourceforge.net/>.
+The gLabels homepage at <http://glabels.org/>.
 .SH AUTHOR
 Jim Evins <evins snaught com>
diff --git a/glabels.doap b/glabels.doap
index 56c5a9b..a2c00a8 100644
--- a/glabels.doap
+++ b/glabels.doap
@@ -6,7 +6,7 @@
 
   <name xml:lang="en">glabels</name>
   <shortdesc xml:lang="en">gLabels label designer</shortdesc>
-  <homepage rdf:resource="http://glabels.sourceforge.net"; />
+  <homepage rdf:resource="http://glabels.org"; />
   <mailing-list rdf:resource="https://lists.sourceforge.net/lists/listinfo/glabels-devel"; />
   <category rdf:resource="http://api.gnome.org/doap-extensions#productivity"; />
 
diff --git a/libglabels/xml.h b/libglabels/xml.h
index 4629cfe..8b5ba9d 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 73da051..a29f18e 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 616aea5..cf3c436 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"),



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