| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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
|