[glabels] Added text merge backend for semicolon separated values
- From: Jim Evins <jimevins src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glabels] Added text merge backend for semicolon separated values
- Date: Thu, 10 Jun 2010 00:34:58 +0000 (UTC)
commit 2dc9de0c566a201d49f436fa6831dec403603f2e
Author: Jim Evins <evins snaught com>
Date: Wed Jun 9 20:30:05 2010 -0400
Added text merge backend for semicolon separated values
Feature request #3013910. Added entry for a text merge backend using
a semicolon as delimiter.
src/merge-init.c | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/src/merge-init.c b/src/merge-init.c
index 550acbb..f8f02d6 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]