diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-05-08 12:58:41 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-05-08 12:58:41 +0800 |
commit | 3c0c62e2958b5dccca490908145c534022a85563 (patch) | |
tree | 421d5332f2518c99cfd6ac6dd4aa325f1a0a1a84 /addressbook/gui/widgets/e-minicard-view.h | |
parent | 5d4895eb431adfbf2c7895d4257fa20a28f474f9 (diff) | |
download | gsoc2013-evolution-3c0c62e2958b5dccca490908145c534022a85563.tar gsoc2013-evolution-3c0c62e2958b5dccca490908145c534022a85563.tar.gz gsoc2013-evolution-3c0c62e2958b5dccca490908145c534022a85563.tar.bz2 gsoc2013-evolution-3c0c62e2958b5dccca490908145c534022a85563.tar.lz gsoc2013-evolution-3c0c62e2958b5dccca490908145c534022a85563.tar.xz gsoc2013-evolution-3c0c62e2958b5dccca490908145c534022a85563.tar.zst gsoc2013-evolution-3c0c62e2958b5dccca490908145c534022a85563.zip |
Removed e-card-pairs.h since we're not using it.
2001-05-08 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/Makefile.am (libebookinclude_HEADERS): Removed
e-card-pairs.h since we're not using it.
* backend/ebook/e-book-view.c (e_book_view_check_listener_queue):
Added break; to default: case here.
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Added changed variable so as to avoid sync_card when possible.
(e_card_simple_destroy): Free all the data here properly.
(e_card_simple_get_arg): Slight simplification here.
(fill_in_info, e_card_simple_arbitrary_foreach,
e_card_simple_get_arbitrary): Call e_card_free_empty_lists here to
save a bit of memory.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Fixed up
includes a bit.
(e_card_list_get_vcard, e_card_list_send): Added these functions
for acting on a group of cards.
(parse_org): Cleaned up this function a bit.
(e_card_free_empty_lists): Added this function to delete
unnecessary ELists and save a bit of memory.
(e_v_object_get_child_value): Made this return NULL if not found
instead of g_strdup("").
* contact-editor/e-contact-save-as.c,
contact-editor/e-contact-save-as.h (e_contact_list_save_as): Added
this function to save multiple contacts.
* gui/widgets/Makefile.am: Commented out reflow test.
(libeminicard_a_SOURCES): Added e-minicard-view-model.c and
e-minicard-view-model.h.
* gui/widgets/e-minicard-view-model.c,
gui/widgets/e-minicard-view-model.h: Model for use in
EMinicardView.
* gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h:
Reworked this to use the new EReflow stuff.
* gui/widgets/e-minicard.c (e_minicard_event): Doesn't handle
right click menus now. Emits a signal on the parent canvas item
instead.
* printing/e-contact-print-envelope.c,
printing/e-contact-print-envelope.h
(e_contact_print_envelope_list_dialog_new): Added this function to
print multiple envelopes (only prints first for now.)
* printing/e-contact-print.c, printing/e-contact-print.h
(e_contact_print_card_list_dialog_new): Added this function to
print multiple cards. Only prints the first for now.
svn path=/trunk/; revision=9711
Diffstat (limited to 'addressbook/gui/widgets/e-minicard-view.h')
-rw-r--r-- | addressbook/gui/widgets/e-minicard-view.h | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/addressbook/gui/widgets/e-minicard-view.h b/addressbook/gui/widgets/e-minicard-view.h index 50a2fa00a7..253eedd3ac 100644 --- a/addressbook/gui/widgets/e-minicard-view.h +++ b/addressbook/gui/widgets/e-minicard-view.h @@ -22,7 +22,9 @@ #define __E_MINICARD_VIEW_H__ #include "e-minicard.h" -#include <gal/widgets/e-reflow-sorted.h> +#include "e-minicard-view-model.h" + +#include <gal/widgets/e-reflow.h> #include <gal/widgets/e-selection-model-simple.h> #include "addressbook/backend/ebook/e-book.h" @@ -62,31 +64,25 @@ typedef struct _EMinicardViewClass EMinicardViewClass; struct _EMinicardView { - EReflowSorted parent; + EReflow parent; + + EMinicardViewModel *model; /* item specific fields */ - EBook *book; - char *query; - guint editable : 1; - EBookView *book_view; ESelectionModelSimple *selection; EMinicard *drag_card; - int get_view_idle; - int canvas_destroy_id; int canvas_drag_data_get_id; - int create_card_id, remove_card_id, modify_card_id, status_message_id; - - guint first_get_view : 1; + int status_message_id; }; struct _EMinicardViewClass { - EReflowSortedClass parent_class; + EReflowClass parent_class; /* * Signals |