[nautilus-actions] Deprecated data should be marked unwritable



commit 4c7d4715709da6b15dc3873e1ae87ec53abeb272
Author: Pierre Wieser <pwieser trychlos org>
Date:   Mon Feb 21 05:58:17 2011 +0100

    Deprecated data should be marked unwritable

 ChangeLog                      |    3 +++
 src/core/na-icontext-factory.c |    4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index fee4f47..196f0dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-02-21 Pierre Wieser <pwieser trychlos org>
 
+	* src/core/na-icontext-factory.c (NAFO_DATA_ISFILE, NAFO_DATA_ISDIR):
+	Data are deprecated and not writable.
+
 	* src/utils/nautilus-actions-new.c: Mimetypes default to */*.
 
 2011-02-20 Pierre Wieser <pwieser trychlos org>
diff --git a/src/core/na-icontext-factory.c b/src/core/na-icontext-factory.c
index 2ec45b9..7776ff5 100644
--- a/src/core/na-icontext-factory.c
+++ b/src/core/na-icontext-factory.c
@@ -168,7 +168,7 @@ NADataDef data_def_conditions [] = {
 	 */
 	{ NAFO_DATA_ISFILE,
 				TRUE,
-				TRUE,
+				FALSE,
 				TRUE,
 				N_( "Whether the profile applies to files (deprecated option, see mimetype)" ),
 				/* i18n: 'true' and 'false' values are taken literally, and should not be translated */
@@ -199,7 +199,7 @@ NADataDef data_def_conditions [] = {
 
 	{ NAFO_DATA_ISDIR,
 				TRUE,
-				TRUE,
+				FALSE,
 				TRUE,
 				N_( "Whether the profile applies to folders (deprecated option, see mimetype)" ),
 				/* i18n: 'true' and 'false' values are taken literally, and should not be translated */



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