From: Jim Evins Date: Thu, 10 Jun 2010 00:30:05 +0000 (-0400) Subject: Added text merge backend for semicolon separated values X-Git-Tag: glabels-2_3_1~235 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2dc9de0c566a201d49f436fa6831dec403603f2e;p=glabels Added text merge backend for semicolon separated values Feature request #3013910. Added entry for a text merge backend using a semicolon as delimiter. --- diff --git a/src/merge-init.c b/src/merge-init.c index 550acbb3..f8f02d6f 100644 --- a/src/merge-init.c +++ b/src/merge-init.c @@ -97,6 +97,21 @@ gl_merge_init (void) "line1_has_keys", TRUE, NULL); + gl_merge_register_backend (GL_TYPE_MERGE_TEXT, + "Text/Semicolon", + _("Text: Semicolon separated values"), + GL_MERGE_SRC_IS_FILE, + "delim", ';', + NULL); + + gl_merge_register_backend (GL_TYPE_MERGE_TEXT, + "Text/Semicolon/Line1Keys", + _("Text: Semicolon separated values with keys on line 1"), + GL_MERGE_SRC_IS_FILE, + "delim", ';', + "line1_has_keys", TRUE, + NULL); + #ifdef HAVE_LIBEBOOK gl_merge_register_backend (GL_TYPE_MERGE_EVOLUTION,