[nautilus-actions] Display writability status of GConf IO Provider



commit 17ac1b52525d39b98d56d80aa31f86b7e010f820
Author: Pierre Wieser <pwieser trychlos org>
Date:   Wed Nov 25 22:28:47 2009 +0100

    Display writability status of GConf IO Provider

 nautilus-actions/io-provider-gconf/nagp-write.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/nautilus-actions/io-provider-gconf/nagp-write.c b/nautilus-actions/io-provider-gconf/nagp-write.c
index 38e7d3a..42146dd 100644
--- a/nautilus-actions/io-provider-gconf/nagp-write.c
+++ b/nautilus-actions/io-provider-gconf/nagp-write.c
@@ -88,6 +88,8 @@ nagp_iio_provider_is_willing_to_write( const NAIIOProvider *provider )
 		g_free( key );
 	}
 
+	g_debug( "%s: provider=%p, willing_to=%s", thisfn, ( void * ) provider, willing_to ? "True":"False" );
+
 	return( willing_to );
 }
 
@@ -102,6 +104,7 @@ nagp_iio_provider_is_willing_to_write( const NAIIOProvider *provider )
 gboolean
 nagp_iio_provider_is_writable( const NAIIOProvider *provider, const NAObjectItem *item )
 {
+	static const gchar *thisfn = "nagp_write_iio_provider_is_writable";
 	NagpGConfProvider *self;
 	gboolean willing_to = FALSE;
 	NAIIOProvider *origin;
@@ -121,6 +124,9 @@ nagp_iio_provider_is_writable( const NAIIOProvider *provider, const NAObjectItem
 		}
 	}
 
+	g_debug( "%s: provider=%p, item=%p, writable=%s",
+			thisfn, ( void * ) provider, ( void * ) item, willing_to ? "True":"False" );
+
 	return( willing_to );
 }
 



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