| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-10 Kjartan Maraas <kmaraas@gnome.org>
[ Fix #7094, #7064, #7095, #31944, #31945 ]
* gui/component/Makefile.am: Hook up new etspec file.
* gui/component/addressbook-config.c: Remove ETable spec.
* gui/component/addressbook-config.etspec: New file.
* gui/component/ldap-config.glade: Fix typo.
* gui/component/select-names/e-select-names.c: Remove inline spec.
* gui/component/select-names/e-select-names.etspec: New file.
* gui/contact-list-editor/Makefile.am: Hook up etspec.
* gui/contact-list-editor/e-contact-list-editor.c: Remove inline spec.
* gui/contact-list-editor/e-contact-list-editor.etspec: New file.
* gui/widgets/Makefile.am: Hook up new spec.
* gui/widgets/e-addressbook-view.c: Remove inline spec.
* gui/widgets/e-addressbook-view.etspec: New file.
svn path=/trunk/; revision=18361
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-13 Chris Toshok <toshok@ximian.com>
[ Fixes bug #30250 ]
* backend/ebook/e-destination.c (e_destination_get_name): handle
"Unnamed Lists" here by setting their name to _("Unnamed List').
* backend/ebook/e-card-simple.c (e_card_simple_get): same.
* gui/contact-list-editor/e-contact-list-editor.c (is_named): new
function, return TRUE if the name field is filled in.
(prompt_to_save_changes): return TRUE if the list isn't named
(meaning it's not saveable.)
(command_state_changed): saving requires a name.
(add_email_cb): always call command_state_changed.
(remove_entry_cb): same.
(list_name_changed_cb): same.
(visible_addrs_toggled_cb): same.
(table_drag_data_received_cb): same.
svn path=/trunk/; revision=18059
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-29 Chris Toshok <toshok@ximian.com>
[ fixes #25038 ]
* gui/contact-editor/Makefile.am (INCLUDES): need to have
EVOLUTION_ICONSDIR defined.
* gui/contact-list-editor/Makefile.am (INCLUDES): same.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
set the window icon to the contact mini icon.
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_init): set the window icon to the new
contact list icon.
* gui/widgets/e-minicard.c (LIST_ICON_FILENAME): change to (the
prettier, imo) "contact-list-16.png"
svn path=/trunk/; revision=17915
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-09 Peter Williams <peterw@ximian.com>
* tools/Makefile.am (INCLUDES): Add include lines to get
ebook headers relative to <ebook/foo.h>, not "foo.h".
addressbook:
2002-07-08 Peter Williams <peterw@ximian.com>
* backend/ebook/e-book.h: Normalize includes to <ebook/foo.h>, so
that the installed headers will work sanely.
* backend/ebook/e-card-cursor.h:
* backend/ebook/e-book-view.h:
* backend/ebook/e-card-simple.h:
* backend/ebook/e-card.h:
* backend/ebook/e-destination.h: Same.
* printing/Makefile.am (INCLUDES): add -Iaddressbook/backend
to access the ebook headers. Also the builddir version to get
the generated addressbook.h
* gui/widgets/Makefile.am (INCLUDES): Same builddir fix.
* gui/merging/e-card-merging.c: Fix an ebook #include.
* gui/merging/Makefile.am (INCLUDES): Same idea.
* gui/contact-list-editor/Makefile.am (INCLUDES): Same.
* gui/contact-editor/Makefile.am (INCLUDES): Same builddir
change.
calendar:
2002-07-08 Peter Williams <peterw@ximian.com>
* gui/Makefile.am (INCLUDES): Change the -I flags to get
it to play nicely with the new Ebook header paradigm.
* gui/dialogs/Makefile.am: Same.
* gui/e-meeting-model.c: More of the same.
* gui/dialogs/e-delegate-dialog.c:
* gui/dialogs/e-meeting-model.c:
* gui/dialogs/comp-editor-util.c: Fix include lines to get
ebook headers.
* pcs/Makefile.am: Same.
composer:
2002-07-08 Peter Williams <peterw@ximian.com>
* Makefile.am (INCLUDES): Fix cflags for ebook header namespacing.
importers:
2002-07-08 Peter Williams <peterw@ximian.com>
* Makefile.am: Fix cflags to get at ebook headers correctly.
* pine-importer.c: Fix include lines to get ebook headers the "right"
way.
* evolution-gnomecard-importer.c: Same.
mail:
2002-07-08 Peter Williams <peterw@ximian.com>
* Makefile.am (INCLUDES): Add -I flags to get the ebook headers.
svn path=/trunk/; revision=17411
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-15 Chris Toshok <toshok@ximian.com>
[ fixes bug #26130 ]
* gui/contact-editor/e-contact-editor.c (file_save_as_cb): pass
ce->app as parent_window.
* gui/contact-list-editor/e-contact-list-editor.c
(file_save_as_cb): same .
* gui/contact-editor/e-contact-save-as.c (e_contact_list_save_as):
if a parent_window is specified, the file selector should be
modal/transient for that window.
(e_contact_save_as): same.
* gui/contact-editor/e-contact-save-as.h: track prototype changes
(addition of GtkWindow *parent_window to both calls.)
svn path=/trunk/; revision=17199
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (request_quit): New, quit
handler for the EvolutionShellComponent.
(add_creatable_item): Set it up.
* gui/contact-editor/e-contact-list-editor.c
(e_contact_list_editor_request_close_all): New.
(e_contact_list_editor_new): Put the contact editor in a static
list and gtk_object_weakref() it.
(contact_list_editor_destroy_notify): New, GtkDestroyNotify
function for the contact editors.
* gui/contact-editor/e-contact-editor.c
(e_contact_editor_request_close_all): New.
(e_contact_editor_new): Put the contact editor in a static list
and gtk_object_weakref() it.
(contact_editor_destroy_notify): New, GtkDestroyNotify function
for the contact editors.
svn path=/trunk/; revision=16934
|
|
|
|
|
|
|
|
|
|
| |
2002-05-01 Christopher James Lahey <clahey@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (verbs): Changed
some of these to bind to the ContactListEditor verbs since they're
marked as that in the ui file. Fixes Ximian bug #13034.
svn path=/trunk/; revision=16665
|
|
|
|
| |
svn path=/trunk/; revision=16312
|
|
|
|
| |
svn path=/trunk/; revision=15486
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-28 Christopher James Lahey <clahey@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c: Consistency
fixes with standard contact editor. Added Save As, Send As, and
Send To. Replaced Save toolbar with Save and Close and added Save
and Close menu item. Added a trash icon.
svn path=/trunk/; revision=14844
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-12 Jon Trowbridge <trow@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (list_added_cb):
Release callback's reference to EContactListEditor.
(list_modified_cb): Release callback's reference to
EContactListEditor.
(save_card): Ref the EContactListEditor on behalf of the
e_book_foo callback. (Fixes bug #14743)
(save_card): Set changed to false once we've saved.
(list_deleted_cb): Release callback's reference.
(delete_cb): Hold reference for the callback.
svn path=/trunk/; revision=14673
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-03 Chris Toshok <toshok@ximian.com>
[ Fixes Ximian bug #14410 ]
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
init in_async_call to FALSE.
(card_added_cb): turn the UI back on and set in_async_call to
FALSE.
(card_modified_cb): same.
(card_deleted_cb): same.
(save_card): turn off the UI by setting the dialog insensitive,
and set in_async_call to TRUE.
(delete_cb): same.
(app_delete_event_cb): if we're in an async call don't let the
window get deleted.
* gui/contact-editor/e-contact-editor.h (struct _EContactEditor):
add in_async_call flag for when we make a wombat call and need to
disable the UI.
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_init): init in_async_call to FALSE.
(list_added_cb): turn the UI back on and set in_async_call to
FALSE.
(list_modified_cb): same.
(list_deleted_cb): same.
(save_card): turn off the UI by setting the dialog insensitive,
and set in_async_call to TRUE.
(delete_cb): same.
(app_delete_event_cb): if we're in an async call don't let the
window get deleted.
* gui/contact-list-editor/e-contact-list-editor.h (struct
_EContactListEditor): add in_async_call flag for when we make a
wombat call and need to disable the UI.
svn path=/trunk/; revision=14582
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-util.c
(e_addressbook_prompt_save_dialog): new function, a "Do you want
to save changes?" dialog.
* gui/widgets/e-addressbook-util.h: add prototype for
e_addressbook_prompt_save_dialog.
* gui/contact-editor/e-contact-editor.c (prompt_to_save_changes):
call e_addressbook_prompt_save_dialog and save the card if they
select save. return TRUE if the dialog should be closed, FALSE
otherwise.
(file_close_cb): check prompt_to_save_changes before closing the
dialog.
(app_delete_event_cb): same.
* gui/contact-list-editor/e-contact-list-editor.c
(prompt_to_save_changes): call e_addressbook_prompt_save_dialog
and save the card if they select save. return TRUE if the dialog
should be closed, FALSE otherwise.
(file_close_cb): check prompt_to_save_changes before closing the
dialog.
(app_delete_event_cb): same.
svn path=/trunk/; revision=14414
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=14211
|
|
|
|
|
|
| |
explicitly.
svn path=/trunk/; revision=14188
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-05 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(real_add_address_cb): Check to make sure our call to
e_addressbook_model_get_card doesn't return NULL.
* gui/widgets/e-addressbook-model.c
(e_addressbook_model_get_card): Chek that we aren't requesting a
negative row.
* gui/contact-list-editor/e-contact-list-editor.c (add_email_cb):
Move to the bottom of the scrolled window, so we can see the
address we just added.
(table_drag_data_received_cb): Move to the bottom of the scrolled
window, so we can see the contact we just dropped.
* gui/component/addressbook.c (addressbook_factory_new_control):
We don't own the string returned by e_categories_master_list_nth,
so terrible things will happen if we free it. (Bug 10916)
svn path=/trunk/; revision=13469
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-02 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book.c (e_book_add_card, e_book_commit_card),
backend/pas/pas-backend-file.c (do_create),
backend/pas/pas-backend-ldap.c
(create_card_handler, remove_card_handler, modify_card_handler,
pas_backend_ldap_process_get_vcard, poll_ldap): Use
e_card_get_vcard_assume_utf8 instead of e_card_get_vcard here
since all internal communications and database storage are assumed
to be utf8.
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h
(e_card_simple_duplicate): Simplified this function considerably.
(e_card_simple_get_vcard_assume_utf8): Added this function.
* backend/ebook/e-card.c, backend/ebook/e-card.h (e_card_new,
e_card_load_cards_from_file, e_card_load_cards_from_string): Made
these functions pay attention to charset attributes.
(e_card_new_with_default_charset,
e_card_load_cards_from_file_with_default_charset,
e_card_load_cards_from_string_with_default_charset): New functions
that let you change the default charset from UTF-8.
(e_card_get_vcard): Made this write out charset attributes when
necessary.
(e_card_get_vcard_assume_utf8): New function that writes out a
card without writing out charset attributes.
* backend/ebook/evolution-vcard-importer.c (book_open_cb),
backend/ebook/load-gnomecard-addressbook.c (book_open_cb),
backend/ebook/test-card.c (main),
gui/component/addressbook-component.c
(destination_folder_handle_drop), gui/contact-editor/test-editor.c
(main), gui/contact-list-editor/e-contact-list-editor.c
(table_drag_data_received_cb), gui/widgets/e-addressbook-view.c
(selection_received), gui/widgets/e-minicard-control.c
(pstream_load): Changed the default charset to be used here to
ISO-8859-1.
* backend/ebook/load-gnomecard-addressbook.c (add_card_cb),
backend/ebook/load-pine-addressbook.c (add_card_cb),
backend/ebook/test-client-list.c (get_cursor_cb),
backend/ebook/test-client.c (get_cursor_cb, get_card_cb): Use
e_card_get_vcard_assume_utf8 to print out testing strings.
* gui/component/select-names/e-select-names-model.c,
gui/component/select-names/e-select-names-model.h
(e_select_names_model_contains): Changed this to be const
EDestination *dest to fix a warning.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
Translate window title here.
svn path=/trunk/; revision=12558
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-22 Jon Trowbridge <trow@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (extract_info):
In the GUI, the toggle is labelled "hide addresses", not "show
addresses" -- so we have to reverse the boolean value we read in.
(fill_in_info): Same bug as before: since the GUI reads "hide", we
have to initialize the toggle to '!show_addresses', not
'show_addresses'.
* backend/ebook/e-destination.c
(e_destination_list_show_addresses): Added.
(e_destination_xml_encode): Encode the value of
e_destination_list_show_addresses into the XML.
(e_destination_xml_decode): Read and store the "show_addresses"
flag.
2001-08-22 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients_from_destv): Added. Try
to properly handle contact lists in which the addresses of the
list members should be hidden.
(e_msg_composer_hdrs_to_message): Changed to extract the
destination data from the entries and pass it along to
set_recipients_from_destv.
2001-08-22 Jon Trowbridge <trow@ximian.com>
* mail-callbacks.c (ask_confirm_for_only_bcc): Provide alternative
text for this dialog for the case when a message has only Bcc
recipients because of a hidden contact list's addresses being
moved from To/Cc to Bcc.
(composer_get_message): Try to detect when our message has only
Bcc recipients because of moving addresses around due to a hidden
contact list, and show the dialog with the revised wording in this
case.
svn path=/trunk/; revision=12414
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-17 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (list_added_cb):
call e_card_set_id on the list's card so we can continue to use
this dialog. also, call command_state_changed if we aren't
closing the dialog so the toolbar is properly sensitized.
(list_deleted_cb): always close the dialog after we successfully
delete a list.
* gui/contact-editor/e-contact-editor.c (card_added_cb): call
e_card_set_id on the card so we can continue to use this dialog
(to modify or delete the card.)
(card_deleted_cb): always close the dialog after we successfully
delete a card.
svn path=/trunk/; revision=12191
|
|
|
|
|
|
|
|
|
|
| |
2001-08-08 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (create_ui):
call e_pixmap_update so we can use the same save/save-as pixmaps
as the contact editor.
svn path=/trunk/; revision=11797
|
|
|
|
|
|
|
|
|
|
| |
2001-08-07 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c
(table_drag_data_received_cb): make sure we update the changed
state if a successful drop happens.
svn path=/trunk/; revision=11733
|
|
|
|
|
|
|
|
|
|
| |
2001-07-24 Jon Trowbridge <trow@ximian.com>
* gui/contact-list-editor/e-contact-list-model.c: Added checks
for all of the args of the exposed functions, so that
we won't crash on bad inputs. (Related to bug #4856.)
svn path=/trunk/; revision=11394
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-24 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard.c (remodel): need the EDestination magic
here too for when we modify an already shown card.
* gui/contact-list-editor/e-contact-list-model.c: make
parent_class static, just to be anal.
* gui/contact-list-editor/e-contact-list-editor.c
(remove_entry_cb): removing entries changes the list, so flag it.
(table_drag_data_received_cb): restrict cards we add to lists to
be non-list cards.
(extract_info): clear out the email list in the card before we
repopulate it from the contact list model.
(fill_in_info): set the checkbox to active/inactive based on
thecard.
svn path=/trunk/; revision=11356
|
|
|
|
|
|
|
|
|
| |
2001-07-09 Kjartan Maraas <kmaraas@gnome.org>
* gui/contact-list-editor/e-contact-list-editor.c: Marked a
string for translation. Also add the neccesary includes to make
svn path=/trunk/; revision=10898
|
|
|
|
|
|
|
|
|
| |
2001-07-09 Kjartan Maraas <kmaraas@gnome.org>
* gui/contact-list-editor/e-contact-list-editor.c: Marked a
string for translation.
svn path=/trunk/; revision=10896
|
|
|
|
| |
svn path=/trunk/; revision=10883
|
|
|
|
|
|
|
|
| |
* gui/contact-list-editor.glade: Added some accelerators, some
better spacing, some reasonable padding, a "members" frame
and otherwise beautified this file.
svn path=/trunk/; revision=10829
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-02 Peter Williams <peterw@ximian.com>
* gui/contact-editor/Makefile.am (INCLUDES): srcdir !=
builddir compile fix.
* gui/contact-list-editor/Makefile.am (INCLUDES): Same.
* gui/widgets/Makefile.am (INCLUDES): Same.
* gui/search/Makefile.am (INCLUDES): Same.
svn path=/trunk/; revision=10680
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-01 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (fill_in_info):
use ECARD_UID_LINK_PREFIX.
* gui/contact-list-editor/e-contact-list-model.c
(e_contact_list_model_get_email): use ECARD_UID_LINK_PREFIX.
* backend/ebook/e-destination.h: add prototype for
e_destination_importv_list.
* backend/ebook/e-destination.c (e_destination_importv_list): new
function, take an ECard corresponding to an address list and
resolve any linked cards, returning an EDestination vector.
* backend/ebook/e-card.h (ECARD_UID_LINK_PREFIX): #define this here,
since we need to use it in a few places.
svn path=/trunk/; revision=10667
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-28 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/Makefile.am (INCLUDES): remove ancient
e-table include, and add include for contact-editor so we can
reuse the confirm_delete dialog.
* gui/contact-list-editor/e-contact-list-editor.h (struct
_EContactListEditor): remove prototype for
e_contact_list_editor_close, since the function no longer exists.
* gui/contact-list-editor/e-contact-list-editor.c
(list_deleted_cb): new function, emit our "list_deleted" signal.
(delete_cb): new function, called from the Delete toolbar item.
(e_contact_list_editor_raise): flesh out function.
(extract_info): "evolution_list" => "list".
(fill_in_info): same.
svn path=/trunk/; revision=10587
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-27 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/e-contact-list-model.c
(contact_list_row_count): track storage change - we're only using
1 array now.
(contact_list_value_at): same.
(contact_list_model_destroy): same.
(e_contact_list_model_init): same.
(e_contact_list_model_add_email): same.
(e_contact_list_model_add_card): same.
(e_contact_list_model_remove_row): same.
(e_contact_list_model_remove_all): new function - just free/unref
all existing rows.
(e_contact_list_model_get_email): new function, returns the
alloc'ed string containing either an email address or an encoded
ECardId.
* gui/contact-list-editor/e-contact-list-model.h: remove the 2
separate arrays for email and cards, and store them in the same
array.
* gui/contact-list-editor/e-contact-list-editor.h (struct
_EContactListEditor): add the visible_addr_checkbutton widget.
* gui/contact-list-editor/e-contact-list-editor.c
(visible_addrs_toggled_cb): new function.
(e_contact_list_editor_init): connect to "toggled" on
visible_addrs_checkbutton.
(file_save_cb): new function.
(tb_save_and_close_cb): new function.
(verbs): add Save and Save & Close.
(list_added_cb): new function.
(list_modified_cb): new function.
(save_card): new function - we do *not* use e_card_merging_* calls
here.
(e_contact_list_editor_get_arg): un-#if 0 code in the "card"
getter.
(e_contact_list_editor_set_arg): same for the "card" setter.
(extract_info): new function.
(fill_in_info): new function.
* gui/contact-list-editor/contact-list-editor.glade: add a
checkbutton at the bottom to determine whether to visibly include
mail addresses in mail sent to this list.
svn path=/trunk/; revision=10542
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-25 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/contact-list-editor.glade: change layout
slightly, the icon no longer pushes everything to the left, and
make the buttons on the right smaller and more in line with the
other widgets.
* gui/contact-list-editor/e-contact-list-model.c
(contact_list_value_at): return the SimpleAndString->string
instead of querying the ecardsimple.
(e_contact_list_model_init): initially allocate 10 of each type
(email and simple).
(e_contact_list_model_add_email): realloc if need be.
(e_contact_list_model_add_card): same, and initialize the string
displayed to be "[Name] [<email>]".
(e_contact_list_model_remove_row): change for SimpleAndString.
(contact_list_model_destroy): free our 2 arrays.
* gui/contact-list-editor/e-contact-list-model.h: add alloc counts
and the SimpleAndString struct.
* gui/contact-list-editor/e-contact-list-editor.c: Helix Code =>
Ximian.
(e_contact_list_editor_init): hook up d&d destination signals, and
un-#if 0 the delete_event signal.
(table_drag_motion_cb): new function.
(table_drag_drop_cb): new function.
(table_drag_data_received_cb): new function.
(file_close_cb): new function.
(verbs) uncomment the close verb.
(close_dialog): new function.
(app_delete_event_cb): new function.
* gui/contact-list-editor/e-contact-list-editor.h: Helix Code =>
Ximian.
svn path=/trunk/; revision=10494
|
|
2001-06-24 Chris Toshok <toshok@ximian.com>
* gui/widgets/Makefile.am (minicard_test_LDADD): correct path to
libecontacteditor.a.
(minicard_widget_test_LDADD): same.
(INCLUDES): same, for the includes.
* gui/widgets/e-minicard.h: correct e-contact-editor.h path.
* gui/widgets/e-addressbook-util.h: correct path to
e-contact-editor.h, and add e-contact-list-editor.h. Add
prototype for e_addressbook_show_contact_list_editor.
* gui/widgets/e-addressbook-util.c: remove #include
"e-contact-editor.h" (our header includes it.)
(added_cb): rename card_added_cb to this, and make it so it can be
reused in both the list and card cases. remove the g_print too.
(modified_cb): same for modified case.
(deleted_cb): same for deleted case.
(editor_closed_cb): change first arg to GtkObject* so we can reuse
this for both list and card.
(e_addressbook_show_contact_editor): use added_cb, modified_cb,
deleted_cb, and pass FALSE as user_data.
(e_addressbook_show_contact_list_editor): new function, same as
above but creating a contact-list-editor, and pass TRUE as
user_data.
* gui/component/e-address-popup.c: correct path to contact-editor.
* gui/component/e-address-widget.c: same.
* gui/component/select-names/e-select-names-popup.c: same.
* gui/component/select-names/e-select-names-text-model.c: same.
* gui/component/addressbook.c (new_contact_list_cb): new function.
(update_command_state): update ContactNewList command.
(verbs): remove ViewAll from the toolbar from the verb list. Add
ContactNewList.
(pixmaps): same for pixmaps.
* gui/component/Makefile.am (evolution_addressbook_LDADD): new
path for contact-editor.
(INCLUDES): same.
* gui/contact-list-editor/e-contact-list-model.h:
* gui/contact-list-editor/e-contact-list-model.c:
* gui/contact-list-editor/e-contact-list-editor.h:
* gui/contact-list-editor/e-contact-list-editor.c:
* gui/contact-list-editor/Makefile.am: Initial contact-list editor
commit.
* gui/Makefile.am (SUBDIRS): add contact-editor.
* Makefile.am: (SUBDIRS): remove contact-editor.
svn path=/trunk/; revision=10463
|