[nautilus-actions] NactICommandTab: slightly review the code layout
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] NactICommandTab: slightly review the code layout
- Date: Wed, 15 Feb 2012 21:18:07 +0000 (UTC)
commit 2381e59844e084323805b8304393a2e87ef0ee24
Author: Pierre Wieser <pwieser trychlos org>
Date: Wed Feb 15 22:12:25 2012 +0100
NactICommandTab: slightly review the code layout
ChangeLog | 1 +
src/nact/nact-icommand-tab.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 219abe6..63c28ac 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-icommand-tab.c (on_main_selection_changed):
* src/nact/nact-iaction-tab.c (on_main_selection_changed):
Slightly review the code layout.
diff --git a/src/nact/nact-icommand-tab.c b/src/nact/nact-icommand-tab.c
index c6d570c..7cbc5ad 100644
--- a/src/nact/nact-icommand-tab.c
+++ b/src/nact/nact-icommand-tab.c
@@ -363,10 +363,10 @@ on_main_selection_changed( NactICommandTab *instance, GList *selected_items, gpo
MAIN_PROP_EDITABLE, &editable,
NULL );
- data = get_icommand_data( instance );
enable_tab = ( profile != NULL );
nact_main_tab_enable_page( NACT_MAIN_WINDOW( instance ), TAB_COMMAND, enable_tab );
+ data = get_icommand_data( instance );
data->on_selection_change = TRUE;
label_entry = get_label_entry( instance );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]