| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-13 Larry Ewing <lewing@ximian.com>
* gui/component/addressbook.c:
* gui/component/e-cardlist-model.c:
* gui/component/select-names/e-select-names-text-model.c:
* gui/contact-editor/e-contact-editor.c:
* gui/contact-editor/e-contact-save-as.c:
* gui/contact-list-editor/e-contact-list-editor.c:
* gui/widgets/e-addressbook-table-adapter.c:
* gui/widgets/e-addressbook-util.c:
* gui/widgets/e-addressbook-view.c:
* gui/widgets/e-minicard-view.c:
* gui/widgets/e-minicard.c: Fix lots of leaks, update for correct
use of g_object_get. Some misc cleanups.
svn path=/trunk/; revision=21442
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-13 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-table-adapter.c (addressbook_dispose):
rename addressbook_destroy to this, and guard against multiple
calls.
(e_addressbook_table_adapter_class_init): GtkObject -> GObject,
and destroy -> dispose.
(e_addressbook_table_adapter_init): GtkObject -> GObject.
svn path=/trunk/; revision=21157
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-23 Chris Toshok <toshok@ximian.com>
[ fixes bug #32113 ]
* backend/ebook/e-destination.h: add include_email arg to
e_destination_get_textrep.
* backend/ebook/e-destination.c (e_destination_get_textrep): add
include_email arg. if it's TRUE, and if there's an email address to
add
* gui/contact-list-editor/e-contact-list-model.c
(contact_list_value_at): use e_destination_get_textrep so we don't
display QP text, and pass TRUE for include_email.
* gui/widgets/e-minicard.c (add_field): same.
(remodel): same.
* gui/widgets/e-addressbook-treeview-adapter.c (adapter_get_value): same.
* gui/widgets/e-addressbook-table-adapter.c (addressbook_value_at): same.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_insert_length): pass FALSE for
include_email.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_get_textification): pass FALSE for
include_email.
(e_select_names_model_get_string): same.
(e_select_names_model_replace): same.
(e_select_names_model_name_pos): same.
(e_select_names_model_text_pos): same.
svn path=/trunk/; revision=20467
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ebook/load-pine-addressbook.c (ebook_create): Likewise.
* backend/ebook/load-gnomecard-addressbook.c (ebook_create): Likewise.
* backend/ebook/evolution-vcard-importer.c (ebook_create): Likewise.
* backend/ebook/evolution-ldif-importer.c (ebook_create): Likewise.
* backend/ebook/test-client.c (get_cursor_cb): Likewise.
(ebook_create): Likewise.
* gui/widgets/e-minicard.c (e_minicard_set_property): Likewise.
(card_modified_cb): Likewise.
(e_minicard_event): Likewise.
* gui/widgets/gal-view-minicard.c (column_width_changed): Likewise.
* gui/widgets/test-minicard-view.c (ebook_create): Likewise.
* gui/widgets/gal-view-treeview.c (column_width_changed): Likewise.
svn path=/trunk/; revision=20203
|
|
|
|
|
|
|
|
|
|
| |
* gui/widgets/e-addressbook-model.c: Make parent_class static.
* gui/widgets/e-addressbook-reflow-adapter.c: Likewise
* gui/widgets/e-addressbook-table-adapter.c: Likewise
svn path=/trunk/; revision=19961
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-09 Chris Toshok <toshok@ximian.com>
* gui/widgets/gal-view-minicard.c (column_width_changed): fix
parameter types here (this signal isn't generated from an ETable.)
* gui/widgets/gal-view-factory-minicard.c: include e-util.h
* gui/widgets/e-minicard.h: include gnome-canvas.h here.
* gui/widgets/e-addressbook-table-adapter.c: #include
e-destination.h here.
* gui/widgets/e-minicard.c: same.
svn path=/trunk/; revision=19378
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-17 Chris Toshok <toshok@ximian.com>
[ fixes bug #34897 ]
* gui/widgets/e-addressbook-table-adapter.c
(addressbook_value_at): don't free the return of
e_card_simple_get_const, as this causes a double free later on.
svn path=/trunk/; revision=19163
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* gui/widgets/test-reflow.c: port work.
* gui/widgets/test-minicard-view.c: port work.
* gui/widgets/e-minicard.[ch]: port work.
* gui/widgets/e-minicard-widget.c: port work.
* gui/widgets/e-minicard-view.c: port work.
* gui/widgets/e-minicard-view-widget.c
(e_minicard_view_widget_size_allocate): gtk_->g_ change i missed.
(e_minicard_view_widget_reflow): same.
* gui/widgets/e-minicard-label.c: port work.
* gui/widgets/e-minicard-control.c (get_prop): gtk_->g_ change i
missed.
* gui/widgets/e-addressbook-view.c (setup_menus): ifdef this
PENDING_PORT_WORK for now.
(has_email_address_1): gtk_->g_ change i missed.
(print): remove the PENDING_PORT_WORK from here, as the print_*
symbols now resolve.
(delete): gtk_->g_ changes.
(new_card): same.
(new_list): same.
(sources): same.
(create_minicard_view): same.
(table_double_click): same.
(create_table_view): same.
(e_contact_print_destroy): same.
(e_contact_print_button): same.
(e_addressbook_view_print): same, and remove the PENDING_PORT_WORK
ifdef.
(e_addressbook_view_print_preview): same.
(do_remove): gtk_->g_ changes.
(e_addressbook_view_save_state): same.
(view_transfer_cards): same.
* gui/widgets/e-addressbook-view.h (struct _EAddressbookView):
GtkObject -> GObject.
* gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog):
GnomeDialog -> GtkDialog.
* gui/widgets/e-addressbook-table-adapter.c
(addressbook_set_value_at): a gtk_->g_ change i missed.
(e_addressbook_table_adapter_class_init): gtk_type_class ->
g_type_class_peek_parent.
* gui/widgets/e-addressbook-reflow-adapter.c
(addressbook_get_property): use g_object_get_property for
aggregated properties.
(e_addressbook_reflow_adapter_class_init): gtk_type_class ->
g_type_class_peek_parent.
* gui/merging/e-card-merging.c (match_query_callback): some misc
gtk_->g_ changes i missed.
svn path=/trunk/; revision=18682
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-06 Chris Toshok <toshok@ximian.com>
* gui/widgets/gal-view-minicard.[ch]: gobjectify this.
* gui/widgets/e-minicard.[ch]: gobjectify this.
(e_minicard_class_init): change the
min/max values of the width/height paramspecs so that they can
actually be set to something other than 0.0.
* gui/widgets/e-minicard-widget.[ch]: gobjectify this.
* gui/widgets/e-minicard-view.[ch]: gobjectify this.
(set_empty_message): don't need e_utf8_from_locale_string anymore.
* gui/widgets/e-minicard-view-widget.[ch]: gobjectify this.
* gui/widgets/e-minicard-label.[ch]: gobjectify this.
* gui/widgets/e-addressbook-view.[ch]: gobjectify this.
* gui/widgets/e-addressbook-table-adapter.[ch]: gobjectify this.
* gui/widgets/e-addressbook-reflow-adapter.[ch]: gobjectify this.
* gui/widgets/e-addressbook-model.[ch]: gobjectify this.
* gui/widgets/e-minicard-control.c (e_minicard_control_factory):
fix bonobo_persist_stream_new api change.
* gui/contact-list-editor/e-contact-list-model.c
(e_contact_list_model_add_destination): get rid of the
gtk_object_sink here.
* gui/component/ldap-config.glade: glade-2 version of this file.
* gui/component/e-address-popup.c (e_address_popup_refresh_names):
don't need e_utf8_to_gtk_string anymore.
* gui/component/addressbook.c (make_suboptions): don't need
e_utf8_to_locale_string anymore.
* gui/component/addressbook-config.c
(addressbook_dialog_get_source): get rid of the e_utf8 gtk_entry
functions.
(addressbook_source_dialog_set_source): same.
(general_tab_check): same.
(port_changed_func): same.
(connecting_tab_check): same.
(query_for_supported_bases): same.
(display_name_check): same.
(display_name_page_prepare): same.
(edit_source_clicked): same.
(addressbook_config_create_new_source): same.
svn path=/trunk/; revision=18626
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-06 Chris Toshok <toshok@ximian.com>
* gui/widgets/gal-view-minicard.c: fix the gnome-xml headers.
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_class_init): convert from gtk signals and args
to GSignal and GObject properties.
(e_addressbook_view_dispose): rename _destroy to this.
(e_addressbook_view_set_property): rework _set_arg to this.
(e_addressbook_view_get_property): rework _get_arg to this.
(display_view): if we're here we need to choose a view, regardless
of whether or not the GAL_IS_VIEW_* macros tell us which type it
is.
* gui/widgets/e-addressbook-table-adapter.c: fix the gnome-xml
headers.
* gui/widgets/e-addressbook-model.c
(e_addressbook_model_class_init): use INT, not ENUM in the signal here.
* gui/component/addressbook-config.c: another big gtk_* -> g_*
renaming.
* gui/component/addressbook.c: same.
* gui/component/e-address-popup.c: same.
* gui/component/e-address-widget.c: same.
* gui/component/e-cardlist-model.c: fix the gnome-xml headers, and
more gtk_* -> g_* renaming.
* gui/component/addressbook-component.c (owner_set_cb): use
evolution_shell_client_corba_objref as per ettore's change to
EvolutionShellClient..
(create_view): fix the call to bonobo_control_set_property.
(create_component): gtk_signal_connect -> g_signal_connect.
* gui/component/addressbook-storage.c: fix the gnome-xml
headers.
(addressbook_storage_setup): use
evolution_shell_client_corba_objref as per ettore's change to
EvolutionShellClient..
(addressbook_get_other_contact_storage): gtk_signal_connect ->
g_signal_connect.
(load_source_data): root->childs -> root->childrens.
svn path=/trunk/; revision=18598
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-model.[ch]: Port to GObject/gnome2.
* gui/widgets/e-addressbook-reflow-adapter.c: Port to
GObject/gnome2.
* gui/widgets/e-addressbook-table-adapter.c: Port to
GObject/gnome2.
* gui/widgets/e-addressbook-util.c: Port to GObject/gnome2.
* gui/widgets/e-addressbook-view.[ch]: Port to GObject/gnome2.
* gui/widgets/e-minicard-control.c: Port to GObject/gnome2.
* gui/widgets/e-minicard-label.[ch]: Port to GObject/gnome2.
* gui/widgets/e-minicard-view-widget.[ch]: Port to GObject/gnome2.
* gui/widgets/e-minicard-view.[ch]: Port to GObject/gnome2.
* gui/widgets/e-minicard-widget-test.c: Port to GObject/gnome2.
* gui/widgets/e-minicard-widget.c: Port to GObject/gnome2.
* gui/widgets/e-minicard.[ch]: Port to GObject/gnome2.
* gui/widgets/gal-view-factory-minicard.c: Port to GObject/gnome2.
* gui/widgets/gal-view-minicard.c: Port to GObject/gnome2.
* gui/widgets/test-minicard-label.c: Port to GObject/gnome2.
* gui/widgets/test-minicard-view.c: Port to GObject/gnome2.
* gui/widgets/test-minicard.c: Port to GObject/gnome2.
* gui/widgets/test-reflow.c: Port to GObject/gnome2.
* gui/widgets/Makefile.am: typical port stuff. add marshaller
generation foo, dist it...
* gui/widgets/.cvsignore: ignore the marshaller stuff.
svn path=/trunk/; revision=18588
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-23 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-table-adapter.c (addressbook_destroy):
free adapter->priv.
* gui/widgets/e-addressbook-model.c (addressbook_destroy): free
model->query.
* gui/component/select-names/e-select-names-manager.c
(load_completion_books): use e_book_expand_uri here, and free the
expanded uri after calling addressbook_load_uri, plugging a leak.
* gui/component/select-names/e-select-names.c (set_book): unref
esn->model before we unref esn. fixes an edge case memory
corruption bug.
(clear_widget): utility function to set a widget's ref to NULL
when it's destroyed.
(e_select_names_init): hook the status_message, categories option
menu, and select_entry to clear_widget.
(addressbook_model_set_uri): use e_book_expand_uri.
svn path=/trunk/; revision=18217
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-31 Christopher James Lahey <clahey@ximian.com>
* gui/component/e-cardlist-model.c,
gui/component/select-names/e-select-names-table-model.c,
gui/widgets/e-addressbook-table-adapter.c: Make the pre_changes
and changes match here.
svn path=/trunk/; revision=14526
|
|
|
|
|
|
|
|
|
|
| |
* gui/widgets/e-minicard.c (add_field): Five characters, not four!
* gui/widgets/e-addressbook-table-adapter.c
(addressbook_value_at): Convert xml-ified destinations into proper
addresses.
svn path=/trunk/; revision=14426
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Jon Trowbridge <trow@ximian.com>
* conduit/address-conduit.c (pre_sync): Comment out spew.
* gui/contact-list-editor/e-contact-list-editor.c (fill_in_info):
Comment out spew.
* gui/component/addressbook-component.c
(destination_folder_handle_drop): Comment out spew.
(get_dnd_selection): Comment out spew.
* gui/widgets/e-addressbook-table-adapter.c
(addressbook_set_value_at): Comment out spew.
svn path=/trunk/; revision=14401
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-28 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-view.c (table_double_click): pop up
list editor for lists, contact editor otherwise.
* gui/widgets/e-minicard.c (e_minicard_event): same.
* gui/widgets/e-minicard.h (struct _EMinicard): change "editor" to
GtkOjbect, since it can be either a contact editor or contact list
editor.
* gui/widgets/e-addressbook-table-adapter.c
(addressbook_is_cell_editable): don't allow editting of any fields
except the name and file_as for lists.
svn path=/trunk/; revision=10590
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-26 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-table-adapter.c (create_card): memmove
counts were off in this function.
(remove_card, modify_card): Moved the table notifications around a
bit here.
svn path=/trunk/; revision=10525
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-19 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-view.c (table_double_click): track
change to e_addressbook_show_contact_editor signature.
* gui/widgets/e-minicard-view.c (e_minicard_view_event): same.
* gui/widgets/e-minicard.c (e_minicard_event): same.
* gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog):
add an entry for "Card ID already exists".
(e_addressbook_show_contact_editor): track the change to signal
names and e_contact_editor_new signature here.
* gui/widgets/e-addressbook-util.h: change
e_addressbook_show_contact_editor's signature to match
e_contact_editor_new more closely.
* gui/widgets/e-addressbook-table-adapter.c (unlink_model): free
up the simple mapping to plug a potentially sizeable memory leak.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_activate_obj): call
e_addressbook_show_contact_editor here.
* gui/component/select-names/e-select-names-popup.c
(edit_contact_info_have_book_cb): remove the get_supported_fields
stuff, since the contact editor handles it for us now, and call
e_addressbook_show_contact_editor.
* gui/component/e-address-popup.c (edit_contact_info_cb): same.
* gui/component/addressbook.c (new_contact_cb): track change to
e_addressbook_show_contact_editor.
svn path=/trunk/; revision=10318
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-11 Christopher James Lahey <clahey@ximian.com>
* gui/merging/Makefile.am (glade_DATA): Added
e-card-merging-book-commit-duplicate-detected.glade here.
* gui/merging/e-card-merging-book-commit-duplicate-detected.glade:
Added this file. The GUI for asking whether to commit a modified
card.
* gui/merging/e-card-merging.c, gui/merging/e-card-merging.h
(e_card_merging_book_commit_card): Added this function.
* gui/widgets/e-addressbook-table-adapter.c
(addressbook_set_value_at), gui/widgets/e-addressbook-util.c
(commit_card_cb), gui/widgets/e-minicard.c (e_minicard_event): Use
e_card_merging_book_commit_card instead of e_book_commit_card here.
svn path=/trunk/; revision=10184
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-09 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-compare.c (use_common_book_cb): Null
terminate the strv here.
(e_card_locate_match): ref here instead of unref.
* backend/ebook/e-card-simple.c (e_card_simple_get): Handle a NULL
card here.
* contact-editor/Makefile.am (INCLUDES), gui/widgets/Makefile.am
(INCLUDES): Added addressbook/gui/merging here.
* contact-editor/e-contact-quick-add.c (book_ready_cb),
gui/component/addressbook-component.c (dnd_drop_book_open_cb),
gui/widgets/e-addressbook-table-adapter.c
(addressbook_append_row), gui/widgets/e-addressbook-util.c
(add_card_cb), gui/widgets/e-addressbook-view.c
(selection_received), gui/widgets/e-minicard-control.c
(book_open_cb): Use e_card_merging_book_add_card instead of
e_book_add_card here.
* gui/Makefile.am (SUBDIRS): Added merging.
* gui/component/Makefile.am (evolution_addressbook_LDADD),
gui/widgets/Makefile.am (minicard_test_LDADD,
minicard_widget_test_LDADD): Added libecardmerging.a here.
* gui/merging/, gui/merging/.cvsignore, gui/merging/Makefile.am:
New addressbook library.
* gui/merging/e-card-duplicate-detected.glade: Glade file for
duplicate detected dialog.
* gui/merging/e-card-merging.c, gui/merging/e-card-merging.h: New
files for detecting duplicates before adding and putting up a
dialog if duplicates are found.
* gui/widgets/e-minicard-view.c: Include e-addressbook-util.h
here.
svn path=/trunk/; revision=10170
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-08 Chris Toshok <toshok@ximian.com>
* contact-editor/e-contact-editor.c (e_contact_editor_new): remove
the gtk_widget_show call...
(e_contact_editor_show): and put it here.
* contact-editor/e-contact-editor.h: add prototype for
e_contact_editor_show.
* gui/widgets/e-minicard.c (e_minicard_event): call
e_addressbook_show_contact_editor.
(card_modified_cb): call e_addressbook_error_dialog if status !=
SUCCESS.
* gui/widgets/e-minicard-view.c (e_minicard_view_event): call
e_addressbook_show_contact_editor. also, use card_modified_cb as
the commit_card callback.
* gui/widgets/e-addressbook-view.c (table_double_click): clean
this area up alot, call e_addressbook_show_contact_editor.
(card_deleted_cb): call e_addressbook_error_dialog.
* gui/widgets/e-addressbook-table-adapter.c
(card_modified_cb): new function, call e_addressbook_error_dialog
if the status != SUCCESS.
(addressbook_set_value_at): use card_modified_cb as the callback
for e_book_commit_card.
* gui/widgets/Makefile.am (libeminicard_a_SOURCES): add
e-addressbook-util.[ch].
* gui/component/addressbook.c (new_contact_cb): use
e_addressbook_show_contact_editor here.
svn path=/trunk/; revision=10164
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-03 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (set_status_message): remove spew,
and don't call the ShellView CORBA method if the interface doesn't
exist (for whatever reason.)
* gui/widgets/e-addressbook-view.c (e_addressbook_view_destroy):
unref the EAddressbookModel.
(create_minicard_view): unref the adapter.
(card_added_cb): call e_book_error_dialog if status != SUCCESS.
(card_modified_cb): same.
(card_removed_cb): new function, and same.
(delete_card_cb): pass card_removed_cb as the callback.
(emit_status_message): new function, just emit status_message.
(status_message): change to call emit_status_message.
(card_deleted_cb): emit_status_message ("Done."), and call
e_book_error_dialog if status != SUCCESS.
(do_remove): pass view in the closure arg.
(e_addressbook_view_delete_selection): emit status "Removing
cards..." before starting the removal.
(e_book_error_dialog): new function - pop up a (possibly) helpful
message about why an operation failed.
* gui/widgets/e-minicard-view-widget.c
(e_minicard_view_widget_new): ref the EAddressbookReflowAdapter.
(e_minicard_view_widget_destroy): unref the adapter.
(e_minicard_view_widget_get_selection_model): if there isn't a
minicard view return NULL.
* gui/widgets/e-addressbook-table-adapter.c
(e_addressbook_table_adapter_construct): ref the
EAddressbookModel.
* gui/widgets/e-addressbook-reflow-adapter.c
(addressbook_finalize): rename this from addressbook_destroy, to
reflect the method change.
(e_addressbook_reflow_adapter_class_init): same.
(e_addressbook_reflow_adapter_construct): ref the
EAddressbookModel.
* gui/widgets/e-addressbook-model.h: add editable_set flag.
* gui/widgets/e-addressbook-model.c (writable_status): only record
the writable state of the addressbook if the user hasn't set it.
(e_addressbook_model_init): init editable_set to FALSE.
(e_addressbook_model_set_arg): set editable_set to TRUE.
svn path=/trunk/; revision=10107
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-21 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (change_view_type): update_view_type
is gone, since the menu item is gone.
* gui/widgets/e-addressbook-table-adapter.c (create_card): use
e_table_model_rows_inserted here.
svn path=/trunk/; revision=9914
|
|
2001-05-15 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard-view.c (add_to_list): MinicardViewModel
-> ReflowAdapter name change.
(get_card_list): same.
(e_minicard_view_drag_begin): same.
(supported_fields_cb): model -> adapter.
(adapter_changed): hook up signals and set the empty message on
our adapter.
(e_minicard_view_set_arg): add support for "adapter", and set
model -> adapter.
(e_minicard_view_get_arg): same.
(disconnect_signals): no more status_message.
(do_remove): track to use adapter.
(e_minicard_view_class_init): add adapter arg, and remove
status_message.
(e_minicard_view_init): all the code here is in adapter_changed
now.
* gui/widgets/e-minicard-view.h (struct _EMinicardView):
EMinicardViewModel -> EAddressbookReflowAdapter.
(struct _EMinicardViewClass): get rid of status_message.
* gui/widgets/e-minicard-view-widget.c
(e_minicard_view_widget_class_init): remove the status_message
signal.
(e_minicard_view_widget_new): take the adapter as our argument,
and store it away for when we create the view.
(e_minicard_view_widget_realize): when we create the view just set
the adapter field on it. also, don't connect to status_message.
* gui/widgets/e-minicard-view-widget.h (struct
_EMinicardViewWidget): add our adapter here, so we can pass it
into the view when we create it.
(struct _EMinicardViewWidgetClass): remove status_message.
* gui/widgets/e-addressbook-view.c (status_message): new function,
no more propagating status messages!
(e_addressbook_view_init): create our model and conenct to its
status_message signal.
(book_writable_cb): set "editable" on the model, not our object.
(e_addressbook_view_set_arg): same, but with "book" and "query" as
well.
(create_minicard_view): create our reflow adapter and pass it to
the minicard view widget. also, call e_reflow_model_changed so
it'll pick up any already present cards.
(table_double_click): ADDRESSBOOK_MODEL -> TABLE_ADAPTER.
(get_card_list_1): remove the cast, since we don't need it any
longer.
(table_right_click): ADDRESSBOOK_MODEL -> TABLE_ADAPTER.
(table_drag_data_get): same.
(create_table_view): create the table adapter, and use it as our
ETableModel.
(change_view_type): remove the status_message hook up and setting
of query/book/editable.
(e_addressbook_view_stop): just call e_addressbook_model_stop here
instead of switching on the view type.
* gui/widgets/e-addressbook-view.h (struct _EAddressbookView): add
our EAddressbookModel.
* gui/widgets/Makefile.am (libeminicard_a_SOURCES): add the
adapter files, and remove e-minicard-view-model.[ch].
* gui/widgets/e-minicard-view-model.[ch]: removed.
* gui/widgets/e-addressbook-table-adapter.c: new file.
* gui/widgets/e-addressbook-table-adapter.h: new file.
* gui/widgets/e-addressbook-reflow-adapter.c: new file.
* gui/widgets/e-addressbook-reflow-adapter.h: new file.
* gui/widgets/e-addressbook-model.c: rework this class to now
subclass from ETableModel anymore. It not subclasses from
GtkObject, and we use table and reflow adapters to get at the
data.
* gui/widgets/e-addressbook-model.h: same.
svn path=/trunk/; revision=9837
|