r15120 - gnucash/branches/sx-cleanup/src/gnome - Add "editable" as well to control combo box, uh, editability.
Joshua Sled
jsled at cvs.gnucash.org
Tue Nov 14 19:09:24 EST 2006
Author: jsled
Date: 2006-11-14 19:09:24 -0500 (Tue, 14 Nov 2006)
New Revision: 15120
Trac: http://svn.gnucash.org/trac/changeset/15120
Modified:
gnucash/branches/sx-cleanup/src/gnome/dialog-sx-since-last-run.c
Log:
Add "editable" as well to control combo box, uh, editability.
Modified: gnucash/branches/sx-cleanup/src/gnome/dialog-sx-since-last-run.c
===================================================================
--- gnucash/branches/sx-cleanup/src/gnome/dialog-sx-since-last-run.c 2006-11-14 21:56:24 UTC (rev 15119)
+++ gnucash/branches/sx-cleanup/src/gnome/dialog-sx-since-last-run.c 2006-11-15 00:09:24 UTC (rev 15120)
@@ -27,7 +27,6 @@
#include "dialog-utils.h"
#include "gnc-exp-parser.h"
-// #include "gnc-plugin-page-sx-list.h"
#include "gnc-sx-instance-model.h"
#include "dialog-sx-since-last-run.h"
@@ -982,6 +981,10 @@
col = gtk_tree_view_column_new_with_attributes("Instance State", renderer,
"text", SLR_MODEL_COL_INSTANCE_STATE,
"visible", SLR_MODEL_COL_INSTANCE_VISIBILITY,
+ // you might think only "sensitive" is required to
+ // control the ability of the combo box to select
+ // a new state, but you'd be wrong.
+ "editable", SLR_MODEL_COL_INSTANCE_STATE_SENSITIVITY,
"sensitive", SLR_MODEL_COL_INSTANCE_STATE_SENSITIVITY,
NULL);
gtk_tree_view_append_column(dialog->instance_view, col);
More information about the gnucash-changes
mailing list