aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-addressbook-table-adapter.c
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-12-17 06:54:35 +0800
committerHans Petter <hansp@src.gnome.org>2003-12-17 06:54:35 +0800
commit794d833e8d202a0670f1076a0b89af3561eedaaa (patch)
tree38eabbbac62fd66aeb5825e701d96efc70e0901a /addressbook/gui/widgets/e-addressbook-table-adapter.c
parent0c0096e2613c019fc84af92ee84d611fe1d6be34 (diff)
downloadgsoc2013-evolution-794d833e8d202a0670f1076a0b89af3561eedaaa.tar
gsoc2013-evolution-794d833e8d202a0670f1076a0b89af3561eedaaa.tar.gz
gsoc2013-evolution-794d833e8d202a0670f1076a0b89af3561eedaaa.tar.bz2
gsoc2013-evolution-794d833e8d202a0670f1076a0b89af3561eedaaa.tar.lz
gsoc2013-evolution-794d833e8d202a0670f1076a0b89af3561eedaaa.tar.xz
gsoc2013-evolution-794d833e8d202a0670f1076a0b89af3561eedaaa.tar.zst
gsoc2013-evolution-794d833e8d202a0670f1076a0b89af3561eedaaa.zip
Disable cell editing.
2003-12-16 Hans Petter Jansson <hpj@ximian.com> * gui/widgets/e-addressbook-table-adapter.c (addressbook_is_cell_editable): Disable cell editing. svn path=/trunk/; revision=23951
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-table-adapter.c')
-rw-r--r--addressbook/gui/widgets/e-addressbook-table-adapter.c2
1 files changed, 2 insertions, 0 deletions
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;
}