diff options
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 9522962c2c..0c9be6aa90 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2000-09-20 Christopher James Lahey <clahey@helixcode.com> + + * gui/widgets/e-addressbook-view.c: Fixed display of the minicards + when the addressbook was first loading. (It was overwriting a + string with NULL during init.) + 2000-09-19 Dan Winship <danw@helixcode.com> * gui/search/Makefile.am (ruledir): Use $(datadir), not diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index dfbcbaca2d..9bcd4b2827 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -116,11 +116,10 @@ e_addressbook_view_class_init (EAddressbookViewClass *klass) static void e_addressbook_view_init (EAddressbookView *eav) { - eav->query = g_strdup("(contains \"x-evolution-any-field\" \"\")"); eav->view_type = E_ADDRESSBOOK_VIEW_NONE; eav->book = NULL; - eav->query = NULL; + eav->query = g_strdup("(contains \"x-evolution-any-field\" \"\")"); eav->object = NULL; eav->widget = NULL; @@ -156,7 +155,7 @@ e_addressbook_view_set_arg (GtkObject *object, GtkArg *arg, guint arg_id) if (eav->book) gtk_object_unref(GTK_OBJECT(eav->book)); if (GTK_VALUE_OBJECT(*arg)) { - eav->book = E_BOOK(GTK_VALUE_OBJECT(*arg)); + eav->book = E_BOOK(GTK_VALUE_OBJECT(*arg)); gtk_object_ref(GTK_OBJECT(eav->book)); } else |