aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
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
parent0c0096e2613c019fc84af92ee84d611fe1d6be34 (diff)
downloadgsoc2013-evolution-794d833e8d202a0670f1076a0b89af3561eedaaa.tar.gz
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')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/gui/widgets/e-addressbook-table-adapter.c2
2 files changed, 7 insertions, 0 deletions
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 <hpj@ximian.com>
+
+ * gui/widgets/e-addressbook-table-adapter.c
+ (addressbook_is_cell_editable): Disable cell editing.
+
2003-12-15 Hans Petter Jansson <hpj@ximian.com>
* 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;
}