[nautilus-actions] Scheme keyword and description are editable in user preferences



commit 4f8845b833cad210b220406b8a2d7aa6a0c92f4c
Author: Pierre Wieser <pwieser trychlos org>
Date:   Sat Jul 3 09:54:07 2010 +0200

    Scheme keyword and description are editable in user preferences

 ChangeLog                    |    5 +++++
 TODO                         |    9 +++++++++
 src/nact/nact-schemes-list.c |    2 ++
 3 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 70029ec..eec0d1f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-03 Pierre Wieser <pwieser trychlos org>
+
+	* src/nact/nact-schemes-list.c (nact_schemes_list_create_model):
+	Scheme keyword and description are editable in user preferences.
+
 2010-07-02 Pierre Wieser <pwieser trychlos org>
 
 	* src/core/na-tokens.c (na_tokens_new_from_selection):
diff --git a/TODO b/TODO
index 29e54fb..546285a 100644
--- a/TODO
+++ b/TODO
@@ -496,3 +496,12 @@ Parameter 	Description
 - 2010-06-28: import/export assistants result pages should be scrollable editbox, so that
   the dialog box does not become taller of wider than the screen when there is a lot of
   lines, making it unreadable
+
+- 2010-07-02: bug 'wipe selected' action has a '%M' parameter which should have been converted at import time
+
+- 2010-07-02: adding a scheme from defaults: double-click should select and validate the scheme
+
+- 2010-07-02: adding a capability: double-click should select and validate the capability
+
+- 2010-07-02: legend dialog: may be closed with the legend button kept toggled -> inconsistency
+
diff --git a/src/nact/nact-schemes-list.c b/src/nact/nact-schemes-list.c
index aee1373..f2a3189 100644
--- a/src/nact/nact-schemes-list.c
+++ b/src/nact/nact-schemes-list.c
@@ -142,6 +142,7 @@ nact_schemes_list_create_model( GtkTreeView *treeview, guint mode )
 	gtk_tree_sortable_set_sort_column_id( GTK_TREE_SORTABLE( model ), SCHEMES_KEYWORD_COLUMN, GTK_SORT_ASCENDING );
 	gtk_tree_view_column_set_cell_data_func(
 			column, text_cell, ( GtkTreeCellDataFunc ) display_keyword, data, NULL );
+	nact_gtk_utils_set_editable( GTK_OBJECT( column ), mode == SCHEMES_LIST_FOR_PREFERENCES );
 
 	text_cell = gtk_cell_renderer_text_new();
 	column = gtk_tree_view_column_new_with_attributes(
@@ -152,6 +153,7 @@ nact_schemes_list_create_model( GtkTreeView *treeview, guint mode )
 	gtk_tree_view_append_column( treeview, column );
 	gtk_tree_view_column_set_cell_data_func(
 			column, text_cell, ( GtkTreeCellDataFunc ) display_description, data, NULL );
+	nact_gtk_utils_set_editable( GTK_OBJECT( column ), mode == SCHEMES_LIST_FOR_PREFERENCES );
 
 	gtk_tree_view_set_headers_visible( treeview, FALSE );
 



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