aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-07-05 21:24:54 +0800
committerChris Lahey <clahey@src.gnome.org>2001-07-05 21:24:54 +0800
commit67767447ce4521136298b7f949117f0fbb6593ab (patch)
treedffe38ab4315a88eb072d69b972d9b20bd14f78e
parentd5227888f97878de36b7f457629c7aa479b6fe22 (diff)
downloadgsoc2013-evolution-67767447ce4521136298b7f949117f0fbb6593ab.tar
gsoc2013-evolution-67767447ce4521136298b7f949117f0fbb6593ab.tar.gz
gsoc2013-evolution-67767447ce4521136298b7f949117f0fbb6593ab.tar.bz2
gsoc2013-evolution-67767447ce4521136298b7f949117f0fbb6593ab.tar.lz
gsoc2013-evolution-67767447ce4521136298b7f949117f0fbb6593ab.tar.xz
gsoc2013-evolution-67767447ce4521136298b7f949117f0fbb6593ab.tar.zst
gsoc2013-evolution-67767447ce4521136298b7f949117f0fbb6593ab.zip
Upped the required version of gal.
2001-07-05 Christopher James Lahey <clahey@ximian.com> * configure.in: Upped the required version of gal. From addressbook/ChangeLog: 2001-07-05 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-table-adapter.c (addressbook_is_cell_editable): Check if the row is within our table and return from this function as if the card is a standard card, not a list. svn path=/trunk/; revision=10800
-rw-r--r--ChangeLog4
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/gui/widgets/e-addressbook-table-adapter.c9
-rw-r--r--configure.in2
4 files changed, 19 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 6d3e1fd9b9..ccfa389d1b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-07-05 Christopher James Lahey <clahey@ximian.com>
+
+ * configure.in: Upped the required version of gal.
+
2001-07-03 Dietmar Maurer <dietmar@ximian.com>
* *: use bonobo-conf everywhere
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index e92c914a4f..77c4200b6c 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,10 @@
+2001-07-05 Christopher James Lahey <clahey@ximian.com>
+
+ * gui/widgets/e-addressbook-table-adapter.c
+ (addressbook_is_cell_editable): Check if the row is within our
+ table and return from this function as if the card is a standard
+ card, not a list.
+
2001-07-03 Damon Chaplin <damon@ximian.com>
* backend/ebook/Makefile.am (evolution_vcard_importer_LDADD):
diff --git a/addressbook/gui/widgets/e-addressbook-table-adapter.c b/addressbook/gui/widgets/e-addressbook-table-adapter.c
index 36909ca433..3fa92d2300 100644
--- a/addressbook/gui/widgets/e-addressbook-table-adapter.c
+++ b/addressbook/gui/widgets/e-addressbook-table-adapter.c
@@ -159,11 +159,16 @@ addressbook_is_cell_editable (ETableModel *etc, int col, int row)
{
EAddressbookTableAdapter *adapter = E_ADDRESSBOOK_TABLE_ADAPTER(etc);
EAddressbookTableAdapterPrivate *priv = adapter->priv;
- ECard *card = e_addressbook_model_card_at (priv->model, row);
+ ECard *card;
+
+ if (row >= 0 && row < e_addressbook_model_card_count (priv->model))
+ card = e_addressbook_model_card_at (priv->model, row);
+ else
+ card = NULL;
if (!e_addressbook_model_editable(priv->model))
return FALSE;
- else if (e_card_evolution_list (card))
+ else if (card && e_card_evolution_list (card))
/* we only allow editing of the name and file as for
lists */
return col == E_CARD_SIMPLE_FIELD_FULL_NAME || col == E_CARD_SIMPLE_FIELD_FILE_AS;
diff --git a/configure.in b/configure.in
index 664b2e1dee..b2bc4fd1da 100644
--- a/configure.in
+++ b/configure.in
@@ -499,7 +499,7 @@ EVO_CHECK_LIB(OAF, oaf, 0.6.2)
EVO_CHECK_LIB(Bonobo Conf, bonobo_conf, 0.2)
EVO_CHECK_LIB(libglade, libglade, 0.14)
EVO_CHECK_LIB(gdk-pixbuf with GNOME canvas support, gnomecanvaspixbuf, 0.9.0)
-EVO_CHECK_LIB(GAL, gal, 0.8.99.7)
+EVO_CHECK_LIB(GAL, gal, 0.8.99.8)
EVO_CHECK_LIB(GtkHTML, gtkhtml, 0.9.99.1)
EVO_CHECK_LIB(GNOME-VFS, vfs, 1.0)
EVO_CHECK_LIB(libxml, xml, 1.8.10, 2.0)