[nautilus-actions] NactIActionTab: slightly review the code layout



commit 4ba896e4f4c7f940ce493d11adca9cecc474d661
Author: Pierre Wieser <pwieser trychlos org>
Date:   Wed Feb 15 22:09:07 2012 +0100

    NactIActionTab: slightly review the code layout

 ChangeLog                   |    3 +++
 src/nact/nact-iaction-tab.c |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 809842b..59abc6a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-02-15 Pierre Wieser <pwieser trychlos org>
 
+	* src/nact/nact-iaction-tab.c (on_main_selection_changed):
+	Slightly review the code layout.
+
 	* src/nact/nact-main-window.c (setup_current_selection):
 	Setup the context of the current profile if any.
 
diff --git a/src/nact/nact-iaction-tab.c b/src/nact/nact-iaction-tab.c
index 0efeac7..ed80d08 100644
--- a/src/nact/nact-iaction-tab.c
+++ b/src/nact/nact-iaction-tab.c
@@ -416,10 +416,10 @@ on_main_selection_changed( NactIActionTab *instance, GList *selected_items, gpoi
 			( void * ) instance, G_OBJECT_TYPE_NAME( instance ),
 			( void * ) selected_items, count_selected );
 
-	data = get_iaction_data( instance );
 	enable_tab = ( count_selected == 1 );
 	nact_main_tab_enable_page( NACT_MAIN_WINDOW( instance ), TAB_ACTION, enable_tab );
 
+	data = get_iaction_data( instance );
 	data->on_selection_change = TRUE;
 
 	g_object_get(



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