From 794d833e8d202a0670f1076a0b89af3561eedaaa Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Tue, 16 Dec 2003 22:54:35 +0000 Subject: Disable cell editing. 2003-12-16 Hans Petter Jansson * gui/widgets/e-addressbook-table-adapter.c (addressbook_is_cell_editable): Disable cell editing. svn path=/trunk/; revision=23951 --- addressbook/ChangeLog | 5 +++++ addressbook/gui/widgets/e-addressbook-table-adapter.c | 2 ++ 2 files changed, 7 insertions(+) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 532beab1ef..d1f12be115 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2003-12-16 Hans Petter Jansson + + * gui/widgets/e-addressbook-table-adapter.c + (addressbook_is_cell_editable): Disable cell editing. + 2003-12-15 Hans Petter Jansson * gui/contact-editor/e-contact-editor.c (address_to_text): Implement. diff --git a/addressbook/gui/widgets/e-addressbook-table-adapter.c b/addressbook/gui/widgets/e-addressbook-table-adapter.c index 9fa48084ed..aec91ae329 100644 --- a/addressbook/gui/widgets/e-addressbook-table-adapter.c +++ b/addressbook/gui/widgets/e-addressbook-table-adapter.c @@ -147,6 +147,7 @@ addressbook_set_value_at (ETableModel *etc, int col, int row, const void *val) static gboolean addressbook_is_cell_editable (ETableModel *etc, int col, int row) { +#if 0 EAddressbookTableAdapter *adapter = EAB_TABLE_ADAPTER(etc); EAddressbookTableAdapterPrivate *priv = adapter->priv; const EContact *contact; @@ -164,6 +165,7 @@ addressbook_is_cell_editable (ETableModel *etc, int col, int row) return col == E_CONTACT_FULL_NAME || col == E_CONTACT_FILE_AS; else return col < E_CONTACT_LAST_SIMPLE_STRING; +#endif return FALSE; } -- cgit