[nautilus-actions] Fix minor typo



commit 2bf0e045d77adeaa8f7499e63da7443d67771a3a
Author: Pierre Wieser <pwieser trychlos org>
Date:   Thu Jun 24 17:20:38 2010 +0200

    Fix minor typo

 src/plugin-menu/nautilus-actions.c |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)
---
diff --git a/src/plugin-menu/nautilus-actions.c b/src/plugin-menu/nautilus-actions.c
index e1c3048..14163a2 100644
--- a/src/plugin-menu/nautilus-actions.c
+++ b/src/plugin-menu/nautilus-actions.c
@@ -319,12 +319,14 @@ ipivot_consumer_items_changed( NAIPivotConsumer *instance, gpointer user_data )
 	static const gchar *thisfn = "nautilus_actions_ipivot_consumer_items_changed";
 	NautilusActions *self;
 
-	g_debug( "%s: instance=%p, user_data=%p", thisfn, ( void * ) instance, ( void * ) user_data );
 	g_return_if_fail( NAUTILUS_IS_ACTIONS( instance ));
+
 	self = NAUTILUS_ACTIONS( instance );
 
 	if( !self->private->dispose_has_run ){
 
+		g_debug( "%s: instance=%p, user_data=%p", thisfn, ( void * ) instance, ( void * ) user_data );
+
 		nautilus_menu_provider_emit_items_updated_signal( NAUTILUS_MENU_PROVIDER( self ));
 	}
 }
@@ -335,12 +337,14 @@ ipivot_consumer_create_root_menu_changed( NAIPivotConsumer *instance, gboolean e
 	static const gchar *thisfn = "nautilus_actions_ipivot_consumer_create_root_menu_changed";
 	NautilusActions *self;
 
-	g_debug( "%s: instance=%p, enabled=%s", thisfn, ( void * ) instance, enabled ? "True":"False" );
 	g_return_if_fail( NAUTILUS_IS_ACTIONS( instance ));
+
 	self = NAUTILUS_ACTIONS( instance );
 
 	if( !self->private->dispose_has_run ){
 
+		g_debug( "%s: instance=%p, enabled=%s", thisfn, ( void * ) instance, enabled ? "True":"False" );
+
 		nautilus_menu_provider_emit_items_updated_signal( NAUTILUS_MENU_PROVIDER( self ));
 	}
 }
@@ -351,12 +355,14 @@ ipivot_consumer_display_about_changed( NAIPivotConsumer *instance, gboolean enab
 	static const gchar *thisfn = "nautilus_actions_ipivot_consumer_display_about_changed";
 	NautilusActions *self;
 
-	g_debug( "%s: instance=%p, enabled=%s", thisfn, ( void * ) instance, enabled ? "True":"False" );
 	g_return_if_fail( NAUTILUS_IS_ACTIONS( instance ));
+
 	self = NAUTILUS_ACTIONS( instance );
 
 	if( !self->private->dispose_has_run ){
 
+		g_debug( "%s: instance=%p, enabled=%s", thisfn, ( void * ) instance, enabled ? "True":"False" );
+
 		nautilus_menu_provider_emit_items_updated_signal( NAUTILUS_MENU_PROVIDER( self ));
 	}
 }
@@ -367,12 +373,14 @@ ipivot_consumer_display_order_changed( NAIPivotConsumer *instance, gint order_mo
 	static const gchar *thisfn = "nautilus_actions_ipivot_consumer_display_order_changed";
 	NautilusActions *self;
 
-	g_debug( "%s: instance=%p, order_mode=%d", thisfn, ( void * ) instance, order_mode );
 	g_return_if_fail( NAUTILUS_IS_ACTIONS( instance ));
+
 	self = NAUTILUS_ACTIONS( instance );
 
 	if( !self->private->dispose_has_run ){
 
+		g_debug( "%s: instance=%p, order_mode=%d", thisfn, ( void * ) instance, order_mode );
+
 		nautilus_menu_provider_emit_items_updated_signal( NAUTILUS_MENU_PROVIDER( self ));
 	}
 }
@@ -511,7 +519,7 @@ get_menus_items( NautilusActions *plugin, guint target, GList *selection )
 	pivot_tree = na_pivot_get_items( plugin->private->pivot );
 	copy_tree = expand_tokens( pivot_tree, tokens );
 
-	menus_list = build_nautilus_menus( plugin, pivot_tree, target, selection, tokens );
+	menus_list = build_nautilus_menus( plugin, copy_tree, target, selection, tokens );
 
 	na_object_unref_items( copy_tree );
 	g_object_unref( tokens );



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