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



commit 8e74b460025ee2f3e72f718a99d671d9e2d1f820
Author: Pierre Wieser <pwieser trychlos org>
Date:   Wed Feb 15 22:13:54 2012 +0100

    NactIExecutionTab: slightly review the code layout

 ChangeLog                      |    1 +
 src/nact/nact-iexecution-tab.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 07cf8a8..7adca04 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
 	* src/nact/nact-ibasenames-tab.c (on_main_selection_changed):
 	Enable the tab if a context is available.
 
+	* src/nact/nact-iexecution-tab.c (on_main_selection_changed):
 	* src/nact/nact-ienvironment-tab.c (on_main_selection_changed):
 	* src/nact/nact-icommand-tab.c (on_main_selection_changed):
 	* src/nact/nact-iaction-tab.c (on_main_selection_changed):
diff --git a/src/nact/nact-iexecution-tab.c b/src/nact/nact-iexecution-tab.c
index a212fd9..cd8a2fa 100644
--- a/src/nact/nact-iexecution-tab.c
+++ b/src/nact/nact-iexecution-tab.c
@@ -275,10 +275,10 @@ on_main_selection_changed( NactIExecutionTab *instance, GList *selected_items, g
 			MAIN_PROP_EDITABLE, &editable,
 			NULL );
 
-	data = get_iexecution_data( instance );
 	enable_tab = ( profile != NULL );
 	nact_main_tab_enable_page( NACT_MAIN_WINDOW( instance ), TAB_EXECUTION, enable_tab );
 
+	data = get_iexecution_data( instance );
 	data->on_selection_change = TRUE;
 
 	normal_toggle = base_window_get_widget( BASE_WINDOW( instance ), "ExecutionModeNormal" );



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