[nautilus-actions] Only write a debug message if file is hidden



commit 3894b569c5fe5adfe0d676e178ff62eb3e1ad9eb
Author: Pierre Wieser <pwieser trychlos org>
Date:   Thu Apr 1 19:46:00 2010 +0200

    Only write a debug message if file is hidden

 ChangeLog                          |    3 +++
 TODO                               |    2 --
 src/io-desktop/nadp-desktop-file.c |    2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index bbe9e14..35e3b9f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -123,6 +123,9 @@
 	(nadp_desktop_file_get_file_type):
 	Do not emit a warning if Type is not found in the .desktop file.
 
+	* src/io-desktop/nadp-desktop-file.c (check_key_file):
+	Only write a debug message if file is hidden.
+
 2009-03-29 Pierre Wieser <pwieser trychlos org>
 
 	* src/io-desktop/nadp-desktop-file.c:
diff --git a/TODO b/TODO
index 009b1c2..a25f484 100644
--- a/TODO
+++ b/TODO
@@ -94,13 +94,11 @@
 - Implement:
 	Description
 	SuggestedShortcut
-	GetItemsList
 	Path
 	ExecutionMode
 	StartupNotify
 	StartupWMClass
 	ExecuteAs
-	ForEach
 	OnlyShowIn
 	NotShowIn
 	Hidden
diff --git a/src/io-desktop/nadp-desktop-file.c b/src/io-desktop/nadp-desktop-file.c
index 4a9aed4..aa26f30 100644
--- a/src/io-desktop/nadp-desktop-file.c
+++ b/src/io-desktop/nadp-desktop-file.c
@@ -342,7 +342,7 @@ check_key_file( NadpDesktopFile *ndf )
 				ret = FALSE;
 
 			} else if( hidden ){
-				g_warning( "%s: %s: Hidden=true", thisfn, ndf->private->path );
+				g_debug( "%s: %s: Hidden=true", thisfn, ndf->private->path );
 				ret = FALSE;
 			}
 		}



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