[nautilus-actions] String lists are now initialized with GConf-style



commit ba7d689854e5c188ca0b443106157d454b9105a2
Author: Pierre Wieser <pwieser trychlos org>
Date:   Wed Mar 17 22:43:32 2010 +0100

    String lists are now initialized with GConf-style

 ChangeLog                         |    3 +++
 src/core/na-icontextual-factory.c |   10 +++++-----
 2 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 6b489fe..7641e3e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-03-17 Pierre Wieser <pwieser trychlos org>
 
+	* src/core/na-icontextual-factory.c:
+	String lists are now initialized in GConf-style.
+
 	* src/io-gconf/nagp-writer.c (nagp_writer_write_data):
 	* src/io-xml/naxml-writer.c (write_data_schema_v2, write_data_dump):
 	Do not output empty values.
diff --git a/src/core/na-icontextual-factory.c b/src/core/na-icontextual-factory.c
index 3af98ab..cfbbdfb 100644
--- a/src/core/na-icontextual-factory.c
+++ b/src/core/na-icontextual-factory.c
@@ -52,7 +52,7 @@ NADataDef data_def_conditions [] = {
 					"This obviously only applies when there is a selection.\n" \
 					"Defaults to '*'." ),
 				NAFD_TYPE_STRING_LIST,
-				"*",
+				"[*]",
 				TRUE,
 				TRUE,
 				FALSE,
@@ -101,9 +101,9 @@ NADataDef data_def_conditions [] = {
 					"selected file(s)/folder(s). Each selected items must match at least one of " \
 					"the mimetype patterns for the action to appear.\n" \
 					"This obviously only applies when there is a selection.\n" \
-					"Defaults to '*/*'." ),
+					"Defaults to '*'." ),
 				NAFD_TYPE_STRING_LIST,
-				"*",
+				"[*]",
 				TRUE,
 				TRUE,
 				FALSE,
@@ -219,7 +219,7 @@ NADataDef data_def_conditions [] = {
 					"This obviously only applies when there is a selection.\n" \
 					"Defaults to 'file'." ),
 				NAFD_TYPE_STRING_LIST,
-				"file",
+				"[file]",
 				TRUE,
 				TRUE,
 				FALSE,
@@ -243,7 +243,7 @@ NADataDef data_def_conditions [] = {
 					"This is only used when there is no selection.\n" \
 					"Defaults to '/'." ),
 				NAFD_TYPE_STRING_LIST,
-				"/",
+				"[/]",
 				TRUE,
 				TRUE,
 				FALSE,



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