| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-28 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_hookup_shell_listeners): Change "this should never
happen" dialog to not give my name/e-mail. Sorry translators.
But this really should never happen, thanks to my fix below.
* gui/component/addressbook-component.c: Initialize
global_shell_client to NULL. (Bug #6625)
svn path=/trunk/; revision=14282
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-27 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_destroy): free up all the book_data
list stuff.
(e_select_names_completion_got_book_view_cb): deal with book_data
being passed as the closure, and increment the
pending_completion_seq counter.
(e_select_names_completion_card_added_cb): deal with book_data
being passwd as the closure.
(e_select_names_completion_seq_complete_cb): same, and decrement
the pending_completion_seq if we haven't gotten one for this book
view before.
(e_select_names_completion_stop_query): cancel all the
book_data's.
(e_select_names_completion_start_query): use the books_not_ready
counter instead of book_ready. also, do e_book_get_book_view on
each of the book's in our list.
(e_select_names_completion_do_query): change to deal with our
list.
(e_select_names_completion_book_ready): decrement the
book_not_ready counter.
(e_select_names_completion_new): add the book we're created with
to our list.
(e_select_names_completion_add_book): implement.
* gui/component/select-names/e-select-names-completion.h: add
prototype for e_select_names_completion_add_book.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_new): use addressbook_config_data, and
don't unref the db.
(e_select_names_manager_create_entry): always add NULL for a book
(which corresponds to the local book), and if the completion_book
is present, add it to the list of books to complete again.
svn path=/trunk/; revision=14270
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-27 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-quick-add.c (merge_cb): change to
EBookCallback signature, and unref the book.
(quick_add_merge_card): use addressbook_load_default_book.
(ce_have_book): change to EBookCallback signature, and unref the
book.
(edit_card): use addressbook_load_default_book.
* gui/component/e-address-popup.c (email_table_save_card_cb):
change to EBookCallback signature, and unref the book.
(add_card_idle_cb): use addressbook_load_default_book, and call
the cb if it fails.
(e_address_popup_cleanup): fix type -- should be "pop->card =
NULL", not "pop = NULL".
(contact_editor_cb): change to EBookCallback signature.
(edit_contact_info_cb): use addressbook_load_default_book.
(start_query): change to EBookCallback signature.
(e_address_popup_query): use addressbook_load_default_book.
* gui/widgets/e-minicard-control.c (book_open_cb): change to
EBookCallback signature, and unref the book.
(save_in_addressbook): use addressbook_load_default_book instead
of e_book_use_local_address_book.
* gui/widgets/Makefile.am (INCLUDES): change includes since we're
including addressbook.h which has it's own set of funky include
path requirements.
svn path=/trunk/; revision=14269
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-27 Chris Toshok <toshok@ximian.com>
* gui/component/e-address-popup.c (email_table_save_card_cb):
change to EBookCallback signature, and unref the book.
(add_card_idle_cb): use addressbook_load_default_book, and call
the cb if it fails.
(e_address_popup_cleanup): fix type -- should be "pop->card =
NULL", not "pop = NULL".
(contact_editor_cb): change to EBookCallback signature.
(edit_contact_info_cb): use addressbook_load_default_book.
(start_query): change to EBookCallback signature.
(e_address_popup_query): use addressbook_load_default_book.
* gui/widgets/e-minicard-control.c (book_open_cb): change to
EBookCallback signature, and unref the book.
(save_in_addressbook): use addressbook_load_default_book instead
of e_book_use_local_address_book.
* gui/widgets/Makefile.am (INCLUDES): change includes since we're
including addressbook.h which has it's own set of funky include
path requirements.
svn path=/trunk/; revision=14268
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-27 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped required version of gal to 0.15.99.6.
From addressbook/ChangeLog:
2001-10-27 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_add_section): Turned off use_ellipsis (it breaks
emulate_label_resize) and on emulate_label_resize.
svn path=/trunk/; revision=14228
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-27 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(make_match): Doh! We should be sorting our contacts so that the
most frequently used ones are at the top of the list, not the
bottom.
svn path=/trunk/; revision=14223
|
|
|
|
| |
svn path=/trunk/; revision=14214
|
|
|
|
| |
svn path=/trunk/; revision=14211
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.h: add prototypes for
addressbook_config_database, and addressbook_load_default_book.
* gui/component/addressbook.c (addressbook_config_database): new
function, so we aren't activating the db everywhere we need to use
it.
(addressbook_load_default_book): load the default book, after
getting the uri from bonobo-config.
svn path=/trunk/; revision=14200
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book-util.c (simple_query_card_added_cb): Return
on cancellation.
(simple_query_sequence_complete_cb): Act if not cancelled.
(simple_query_book_view_cb): Free & return on cancellation.
(e_book_simple_query_cancel): Set cancellation flag.
* gui/component/e-address-popup.c (e_address_popup_query): Hold a
reference to ourselves for the duration of our addressbook fetch.
(start_query): Release when we've fetched our addressbook.
(e_address_popup_cleanup): Break out most of what we do in
_destroy into a separate function.
(e_address_popup_destroy): Class cleanup.
(contact_editor_cb): Paranoid clean-up.
(add_contacts_cb): Paranoid clean-up.
(e_address_popup_ambiguous_email_add): Paranoid clean-up.
svn path=/trunk/; revision=14199
|
|
|
|
| |
svn path=/trunk/; revision=14195
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Jon Trowbridge <trow@ximian.com>
* gui/component/e-address-popup.c (e_address_popup_destroy):
Cancel any pending queries.
svn path=/trunk/; revision=14194
|
|
|
|
|
|
| |
explicitly.
svn path=/trunk/; revision=14188
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Jon Trowbridge <trow@ximian.com>
* gui/contact-editor/e-contact-editor.c (close_dialog): Don't
assert, but check if ce->app != NULL, since this function can
(apparently) get called multiple times.
svn path=/trunk/; revision=14162
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Jon Trowbridge <trow@ximian.com>
* gui/contact-editor/e-contact-save-as.c (file_exists): Remove bad
dialog ref-counting crap.
* gui/contact-editor/e-contact-editor.c (save_card): Ref our
EContactEditor, since we are holding a pointer to it in
EditorCloseStruct.
(card_modified_cb): Unref our EContactEditor when we free our
EditorCloseStruct.
(card_added_cb): Unref our EContactEditor when we free our
EditorCloseStruct.
svn path=/trunk/; revision=14157
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-26 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-minicard.c, gui/widgets/e-minicard.h
(set_has_cursor): Added has_cursor argument. Setting the argument
to TRUE if the minicard doesn't have focus will grab the focus.
Fixes Ximian bug #3024.
svn path=/trunk/; revision=14137
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-24 Jon Trowbridge <trow@ximian.com>
* gui/component/addressbook-factory.c (main): Initialize
gnome-vfs.
* gui/component/addressbook-component.c (xfer_file): Added.
(Copied from the calendar.)
(xfer_folder): Fixed to allow renaming of contact folders.
svn path=/trunk/; revision=14080
|
|
|
|
|
|
|
|
|
|
| |
2001-10-24 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_class_init): Removed key_press handler here
since delete and backspace are now handled by keybindings.
svn path=/trunk/; revision=13981
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 Jon Trowbridge <trow@ximian.com>
* gui/component/addressbook.c: Fix command paths when we specify
our pixmaps, so we don't get a lot of totally useless & very ugly
bonobo-ui spew.
* backend/ebook/e-book-util.c (e_book_nickname_query): The empty
string as an arg shouldn't generate a warning.
svn path=/trunk/; revision=13973
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c: Removed
our cancelled flag and e_select_names_completion_cancel function,
since we were just duplicating stuff that had ended up in
ECompletion.
(match_name): Form our menu_text properly on an additional-name
match.
(e_select_names_completion_got_book_view_cb): Store handles for
our signals, disconnect them properly when we switch book views.
(e_select_names_completion_stop_query): Disconnect signals when we
stop our query.
(check_capabilities): Spew if we are using LDAP for completion.
(e_select_names_completion_destroy): Disconnect our signals when
we destroy.
This all should fix bug #10241.
svn path=/trunk/; revision=13961
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped required GAL to 0.15.99.3 so EEntry's
"draw_button" argument can be used in
addressbook/gui/component/select-names/e-select-names.c.
From addressbook/ChangeLog:
2001-10-23 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_add_section): Set "draw_button" argument to TRUE
on this EEntry.
svn path=/trunk/; revision=13935
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-22 Christopher James Lahey <clahey@ximian.com>
* gui/contact-editor/e-contact-save-as.c (save_it): Put up an
error dialog if there's an error while saving. If the person hits
cancel on the "file exists" dialog, don't close the file selection
dialog. Fixes Ximian bug #7055.
svn path=/trunk/; revision=13865
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-21 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-reflow-adapter.c
(model_and_selection_free): right_click_up here when we let go of
the popup.
* gui/widgets/e-minicard-view.c (e_minicard_view_selection_event):
right_click_up here.
svn path=/trunk/; revision=13843
|
|
|
|
|
|
|
|
|
|
| |
2001-10-21 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_add_section, e_select_names_set_default): Use an
EEntry here instead of a GtkLabel. Fixes Ximian bug #7067.
svn path=/trunk/; revision=13841
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-21 Jon Trowbridge <trow@ximian.com>
* gui/component/addressbook.c (control_activate_cb): Call
e_addressbook_model_force_folder_bar_message when we activate the
component. (Fixes bug #11749)
* gui/widgets/e-addressbook-model.c
(e_addressbook_model_force_folder_bar_message): Added. Forces
emission of a folder_bar_message.
svn path=/trunk/; revision=13840
|
|
|
|
|
|
|
|
| |
2001-10-20 Larry Ewing <lewing@ximian.com>
(e_select_names_set_default): don't forget to unref the oldstyle.
svn path=/trunk/; revision=13839
|
|
|
|
|
|
|
|
|
|
| |
2001-10-20 Larry Ewing <lewing@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_set_default): stick with the style font if the
efont bold font does not exist.
svn path=/trunk/; revision=13838
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-20 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(name_style_query): Fix memory leak.
* gui/widgets/e-addressbook-view.c (jump_to_letter): Free our
string vector letter_v when we are done with it.
* gui/contact-editor/e-contact-quick-add.c (edit_card): Unref our
QuickAdd structure.
* gui/component/e-address-popup.c (e_address_popup_construct):
Unref our style after we are done with it.
svn path=/trunk/; revision=13835
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-20 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book.c (activate_factories_for_uri): We
shouldn't leak the info returned by oaf_query.
* gui/contact-editor/e-contact-quick-add.c (card_added_cb): Remove
superfluous call to quick_add_unref.
(editor_closed_cb): Remove superfluous call to quick_add_unref.
* gui/component/select-names/e-select-names.c (esn_get_key_fn): We
need to unref the card returned by e_addressbook_model_get_card.
svn path=/trunk/; revision=13834
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c: Make LDAP servers
non-user-creatable.
svn path=/trunk/; revision=13833
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-20 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (e_destination_importv): Filter
out empty destinations. (also Bug #13036)
* printing/e-contact-print.c (e_contact_build_style): Use
gnome_font_new_closest; if gnome_font_new fails and returns NULL,
our spacing gets all messed up. (Bug #10785)
* gui/widgets/e-addressbook-view.c (e_addressbook_view_can_print):
Allow printing if there are any cards in our view. The selection
has nothing to do with it.
* backend/ebook/e-destination.c (e_destination_is_empty): Check
for strings that contain non-whitespace, rather than just looking
for a non-zero first character. (Bug #13036)
svn path=/trunk/; revision=13826
|
|
|
|
|
|
|
|
|
|
| |
2001-10-20 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-minicard-view.c (e_minicard_view_selection_event):
Handle focus_change in event by selecting that contact. Fixes
Ximian bug #3024.
svn path=/trunk/; revision=13825
|
|
|
|
|
|
|
|
|
|
| |
2001-10-20 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook-component.c (owner_unset_cb):
Repeatedly call gtk_main_quit here as long as there is a main loop
around. This is an ugly hack around Ximian bug #11760.
svn path=/trunk/; revision=13821
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-20 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c: Added #include
<gal/widgets/e-unicode.h>.
* gui/widgets/e-minicard-control.c: Made this display the number
of extra cards in the attachment as well as made it save them all
to the local addressbook if the person selects the button. Fixes
Ximian bug #9507.
svn path=/trunk/; revision=13820
|
|
|
|
|
|
|
|
|
| |
2001-10-20 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-minicard.c (e_minicard_event): Changed this to not
grab on a right click. Fixes Ximian bug #12660.
svn path=/trunk/; revision=13818
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* e-storage-set-view.c (tree_drag_data_received): Pass the
@folder_type to ::handleDrop.
* evolution-shell-component-dnd.c
(impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion):
New arg @folder_type.
(impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop):
Likewise.
* evolution-shell-component-dnd.h: Add @folder_type to
`DndDestinationFolderHandleDropFn' and
`DndDestinationFolderHandleMotionFn'.
* e-storage-set-view.c (tree_drag_motion): Pass the folder type to
`::handleMotion'.
* Evolution-ShellComponentDnd.idl: Pass @folder_type in
::handleDrop and ::handleMotion.
* component-factory.c (destination_folder_handle_motion): Get
@folder_type here too [to match the changes in the
EvolutionShellComponentDnd interface]. Also, remove a debugging
message.
(destination_folder_handle_drop): Likewise.
* gui/component/addressbook-component.c
(destination_folder_handle_motion): Get @folder_type here too [to
match the changes in the EvolutionShellComponentDnd interface].
Also, remove a debugging message.
(destination_folder_handle_drop): Likewise.
svn path=/trunk/; revision=13807
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-18 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c (add_menu_item):
Translate labels in select-names option menu. (Bug #9604)
* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_init): Made the default window size
slightly wider. (Bug #7516)
svn path=/trunk/; revision=13795
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-18 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(check_capabilities): Added. Check if our book is local or
networked.
(e_select_names_completion_book_ready): Call check_capabilities.
(e_select_names_completion_new): Call check_capabilities.
(e_select_names_completion_do_query): If we have a networked book,
keep trying if we haven't been able to cache any cards --- our
earlier attempts could have failed due to too many matches. (Bug
#12932)
svn path=/trunk/; revision=13762
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-18 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(focus_out_cb): Lag our cardification on focus-out. This seems to
help with the unintended cardifications that can result from the
weird focus-out/focus-in events that get generated when the popup
disappears.
* backend/ebook/e-card-compare.c: Removed some debug spew.
svn path=/trunk/; revision=13757
|
|
|
|
|
|
|
|
|
|
| |
2001-10-17 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c (addressbook_source_dialog):
grab focus in the Account entry when preparing the dialog, fixes
#10406.
svn path=/trunk/; revision=13734
|
|
|
|
|
|
|
|
|
| |
2001-10-17 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.c (new_folder): make
sure to also add "ldap-contacts" folders to the option menu.
svn path=/trunk/; revision=13733
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-17 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card.c (e_card_get_vobject): Did a bit of clean
up here. Might fix some crashes, specifically Ximian bug #10164.
* gui/widgets/e-addressbook-view.c (SPEC): Updated the model
column numbers here. Fixes Ximian bug #12308.
svn path=/trunk/; revision=13721
|
|
|
|
|
|
|
|
|
|
| |
2001-10-15 Christopher James Lahey <clahey@ximian.com>
* gui/contact-editor/e-contact-save-as.c (e_contact_save_as,
e_contact_list_save_as): Set the default file name here. Fixes
Ximian bug #7053.
svn path=/trunk/; revision=13674
|
|
|
|
|
|
|
|
|
|
| |
2001-10-14 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_hookup_shell_listeners): Added linebreaks to our
"this shouldn't happen" dialog message. (Bug #12498)CVS: ----------------------------------------------------------------------
svn path=/trunk/; revision=13668
|
|
|
|
|
|
|
|
|
| |
2001-10-12 Jon Trowbridge <trow@ximian.com>
* gui/component/addressbook-factory.c (main): Add a component name
to the e_passwords_init() call.
svn path=/trunk/; revision=13644
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-12 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(addressbook_model_set_uri): Check to see if the uri we are
setting is the same as the current uri. If so, do nothing.
(Bug #11324)
svn path=/trunk/; revision=13620
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-11 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c (e_card_simple_destroy,
fill_in_info, e_card_simple_sync_card, e_card_simple_set_phone,
e_card_simple_set_address, e_card_simple_set_delivery_address,
file_as_get_style, file_as_set_style, e_card_simple_set,
e_card_simple_set_arbitrary),
gui/contact-editor/e-contact-editor-address.c
(e_contact_editor_address_destroy,
e_contact_editor_address_set_arg,
e_contact_editor_address_get_arg),
gui/contact-editor/e-contact-editor-fullname.c
(e_contact_editor_fullname_destroy,
e_contact_editor_fullname_set_arg,
e_contact_editor_fullname_get_arg),
gui/contact-editor/e-contact-editor.c (phone_entry_changed,
address_text_changed, name_entry_changed, full_name_clicked,
full_addr_clicked, fill_in_info): Changed these to use the new ref
and unref functions for ECard auxillary types.
* backend/ebook/e-card-simple.h: Added a comment.
* backend/ebook/e-card-types.h: Added ref_count field to all the
types.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added ref and
unref functions here for all the ECard auxillary types. Removed
the corresponding free functions. Switched to using these
functions where appropriate.
* gui/component/addressbook-factory.c: #include
<e-util/e-passwords.h>
* gui/component/addressbook.c (load_uri_cb): const correctify.
* gui/component/select-names/e-select-names-manager.c,
gui/component/select-names/e-select-names.c: #include
<addressbook/gui/component/addressbook.h>
* gui/widgets/e-addressbook-model.c (modify_card): Removed an
unnecessary ref here.
svn path=/trunk/; revision=13604
|
|
|
|
|
|
|
| |
* gui/component/select-names/e-select-names.c (update_folder):
Don't need this any more.
svn path=/trunk/; revision=13590
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-11 Jon Trowbridge <trow@ximian.com>
* gui/component/addressbook.c (new_contact_cb): Check that
view->view != NULL.
(save_contact_cb): Check that view->view != NULL.
(search_cb): Check that view->view != NULL.
(delete_contact_cb): Check that view->view != NULL.
(print_cb): Check that view->view != NULL.
(print_preview_cb): Check that view->view != NULL.
(stop_loading_cb): Check that view->view != NULL.
(cut_contacts_cb): Check that view->view != NULL.
(copy_contacts_cb): Check that view->view != NULL.
(paste_contacts_cb): Check that view->view != NULL.
(select_all_contacts_cb): Check that view->view != NULL.
(send_contact_cb): Check that view->view != NULL.
(send_contact_to_cb): Check that view->view != NULL.
(update_command_state): Check that view->view != NULL. Hold a
reference to the AddressbookView for the duration of the function,
in case we exit during bonobo-reentrancy.
(addressbook_view_ref): Added.
(addressbook_view_unref): Added. Simple ref counting for
AddressbookView objects.
(addressbook_view_clear): Zero out an AddressbookView. This is
now separated from the deallocation of the AddressbookView object,
so that we don't leave a dangling pointer if we exit during
bonobo-reentrancy in update_command_state. (Which often seems to
happen if we exit while addressbook operations are going on.)
(destroy_callback): Replace previous call to addressbook_view_free
with addressbook_view_clear/addressbook_view_unref calls.
(addressbook_factory_new_control): Initialize the reference count
in the AddressbookView object.
* gui/widgets/e-addressbook-view.c (e_addressbook_view_destroy):
Carefully zero out our destroyed object.
(command_state_change): Hold a reference to ourselves during the
signal emission.
(get_selected_cards): Ref cards as we add them to the list.
(e_addressbook_view_stop): Check for view != NULL.
(e_addressbook_view_can_create): Check for view != NULL.
(e_addressbook_view_can_print): Check for view != NULL.
(e_addressbook_view_can_save_as): Check for view != NULL.
(e_addressbook_view_can_send): Check for view != NULL.
(e_addressbook_view_can_send_to): Check for view != NULL.
(e_addressbook_view_can_delete): Check for view != NULL.
(e_addressbook_view_can_cut): Check for view != NULL.
(e_addressbook_view_can_copy): Check for view != NULL.
(e_addressbook_view_can_paste): Check for view != NULL.
(e_addressbook_view_can_select_all): Check for view != NULL.
(e_addressbook_view_can_stop): Check for view != NULL.
* gui/widgets/e-addressbook-model.c (addressbook_destroy): Be
careful about zeroing out our destroyed object.
* backend/ebook/e-book-view.c (e_book_view_stop): Added. Stops
event processing in the underlying listener.
svn path=/trunk/; revision=13578
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-10 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_destroy): If our select names dialog is
still around, destroy it. Otherwise, the dialog will hang around
after our composer goes away.
svn path=/trunk/; revision=13565
|
|
|
|
| |
svn path=/trunk/; revision=13514
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-06 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.glade: add an Email Address
field/label/help text.
* gui/component/addressbook-config.c
(addressbook_source_dialog_set_source): fill in the email entry
from the source. also, set the initial state of the email
label/entry.
(auth_checkbutton_changed): set the email label/entry
sensitive/editable if auth is turned on, and
insensitive/uneditable if it's off.
(addressbook_source_dialog_get_source): get the email address from
the email entry.
(addressbook_source_dialog): hook up the email entry to the
changed signal foo, as well as the focus handler for displaying
help text.
svn path=/trunk/; revision=13486
|
|
|
|
|
|
|
|
|
|
| |
2001-10-06 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_new): db isn't a BonoboObject, so don't
bonobo_object_unref it!
svn path=/trunk/; revision=13477
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-05 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.c
(addressbook_model_set_uri): e_book_load_uri ->
addressbook_load_uri.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_new): e_book_load_uri ->
addressbook_load_uri.
* gui/component/addressbook.c (forget_passwords_cb): new function,
call e_passwords_forget_passwords.
(verbs): Add ContactsForgetPasswords.
(load_uri_auth_cb): new function, call the callback and free up
our closure stuff.
(load_uri_cb): once the uri is loaded, check if we're configured
to authenticate for it, and do so, using the e_passwords stuff.
(addressbook_load_uri): wrapper around e_book_load_uri. save off
the parameters and start the load-with-auth machinery.
(book_open_cb): remove all the auth stuff from here, as it's
handled elsewhere now.
* gui/component/addressbook-factory.c (main): call
e_passwords_init.
* gui/component/addressbook-component.c (user_create_new_item_cb):
e_book_load_uri -> addressbook_load_uri.
(destination_folder_handle_drop): same.
* gui/component/addressbook.h: add prototype for
addressbook_load_uri (a wrapper around e_book_load_uri that also
handles authentication if the user selects it.)
svn path=/trunk/; revision=13475
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-10-05 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-view.c (e_addressbook_view_set_arg):
don't set the editable field on the model - let the book do that.
(book_writable_cb): call writable_status to propagate a ui-change
event up (and sensitize the write-only toolbar buttons after you
authenticate with ldap.)
svn path=/trunk/; revision=13454
|
|
|
|
|
|
|
|
|
| |
2001-10-04 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-component.c: use ldap.png for ldap
contacts.
svn path=/trunk/; revision=13411
|
|
|
|
| |
svn path=/trunk/; revision=13390
|
|
|
|
| |
svn path=/trunk/; revision=13389
|
|
|
|
|
|
|
|
|
|
| |
2001-10-03 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-reflow-adapter.c (addressbook_height),
gui/widgets/e-minicard.c (remodel): Fixed these to determine the
fields to use properly.
svn path=/trunk/; revision=13386
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-02 Jon Trowbridge <trow@gnu.org>
* gui/component/select-names/e-select-names-completion.c
(name_style_query): Strip out commas before forming our query.
(match_name): Use e_card_compare_name_to_string_full, rather
than our crufty old matching code. Not only is this cleaner,
but that crufty old code was very broken when it came to
handling strings with whitespace. (Bug 8988)
(match_nickname): utf8 and bug fixes.
* backend/ebook/e-card-compare.c
(e_card_compare_name_to_string_full): Added. This is basically
e_card_compare_name_to_string with a bunch of extra options, so
that it can more readily be reused in other contexts.
(e_card_compare_name_to_string): This is now just a call to
e_card_compare_name_to_string_full with the extra args filled in
to defaults that simulate the old behavior.
svn path=/trunk/; revision=13384
|
|
|
|
|
|
|
|
|
|
| |
2001-10-02 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_get_textification): Made the max length of
the textification be 2047 characters. Fixes Ximian bug #3021.
svn path=/trunk/; revision=13299
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook.c: Update the paths,
/menu/ComponentToolsPlaceholder/Tools/ ->
/menu/Tools/ComponentPlaceholder/.
svn path=/trunk/; revision=13203
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Anna Marie Dirks <anna@ximian.com>
* gui/contact-editor/contact-editor.glade: Added help text (thanks
to Aaron) and re-worded the labels, and fixed the shortcuts on the
brand-spanking-new Collaboration tab.
svn path=/trunk/; revision=13170
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-manager.h: add
completion_book.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_new): get /Addressbook/Completion/uri, and
if it's present, use the corresponding EBook for completing
addresses.
(focus_out_cb): use manager->completion_book here instead of NULL,
which corresponds to the local addressbook.
(completion_popup_cb): same.
(e_select_names_manager_create_entry): same.
svn path=/trunk/; revision=13161
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-26 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card-compare.c (e_card_compare_name_to_string):
Properly handle names when the individual elements (given,
addition, family) contain whitespace. (Bug #10502)
* backend/ebook/e-destination.c (e_destination_set_name): Reset
textrep when we change the name.
(e_destination_set_email): Reset textrep when we change the email.
(e_destination_get_textrep): Make sure that the textrep version of
the address is properly quoted if it contains unsafe characters.
(All related to bug #10796)
* gui/component/select-names/e-select-names-completion.c
(match_nickname): Fix nickname matching. (bug #9698)
(make_match): Use e_completion_match_new when building our match,
rather than ad hoc manipulation of the struct.
svn path=/trunk/; revision=13158
|
|
|
|
|
|
|
|
|
|
| |
2001-09-25 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook-component.c (user_create_new_item_cb):
Handle creating the new contact in the current folder if it's a
contacts folder. Fixes Ximian bug #7814.
svn path=/trunk/; revision=13109
|
|
|
|
|
|
|
|
|
|
| |
2001-09-22 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard.c (remodel): when creating the cards,
don't display any of the subname fields (surname, given, middle,
suffix, etc.)
svn path=/trunk/; revision=13083
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-21 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook.c (print_preview_cb): Hooked up print
preview button.
* gui/widgets/e-addressbook-view.c,
gui/widgets/e-addressbook-view.h
(e_addressbook_view_print_preview): Added this function.
* printing/e-contact-print.c, printing/e-contact-print.h
(e_contact_print_preview): Added this function.
svn path=/trunk/; revision=13071
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-19 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_hookup_shell_listeners): Change the "this should
never happen" message into a request for people to e-mail me
directly with info if they encounter that error.
svn path=/trunk/; revision=13000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-19 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-popup.c
(popup_menu_card): Properly handle our GnomeUIInfo labels so that
they won't be leaked if they are dynamic strings, so that they
will be i18n-correct, and so that underscores won't be interpreted
as key accelerators. What a PITA. Also, don't leak our
iterators. (Bug #10200.)
(popup_menu_list): The same GnomeUIInfo tweaking as in
popup_menu_card.
(popup_menu_nocard): Ditto.
svn path=/trunk/; revision=12975
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-18 JP Rosevear <jpr@ximian.com>
* backend/ebook/e-card-simple.c (field_data): add caluri field data
* backend/ebook/e-card.c (e_card_get_vobject): add the caluri
property when appropriate
(parse_caluri): handle read caluri
(e_card_class_init): add caluri arg
(e_card_destroy): free the caluri
(e_card_get_arg): return caluri arg
(e_card_set_arg): set caluri from arg
(e_card_init): init caluri to null
* backend/ebook/e-card-simple.h: new simple field
* backend/ebook/e-card.h: new member
* gui/contact-editor/e-contact-editor.c (field_changed): util
callback to change the command state
(set_entry_changed_signal_field): hook up a change signal to above
(set_entry_changed_signals): use above function
* gui/contact-editor/e-contact-editor.glade: Add collaboration
page and fields
svn path=/trunk/; revision=12945
|
|
|
|
|
|
|
|
|
|
| |
2001-09-18 Larry Ewing <lewing@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(book_query_process_card_list): unref the destination regardless
of whether we get an email addresss.
svn path=/trunk/; revision=12937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-17 Larry Ewing <lewing@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(name_style_query): use g_strfreev.
(match_name): s/g_free/g_strfreev.
(match_file_as): s/g_free/g_strfreev.
* backend/ebook/e-book-util.c (e_book_name_and_email_query): fix
the memory handling here. All there members of the vector need to
be freed all the time.
* backend/ebook/load-pine-addressbook.c (parse_line): free the
string outside of the test that makes sure there are three
entries.
svn path=/trunk/; revision=12936
|
|
|
|
|
|
|
|
|
| |
2001-09-17 Larry Ewing <lewing@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(match_nickname): don't malloc a match we will never use.
svn path=/trunk/; revision=12935
|
|
|
|
|
|
|
|
|
| |
2001-09-17 Larry Ewing <lewing@ximian.com>
* gui/widgets/e-addressbook-model.c (get_view): free the dup'd
capabilities.
svn path=/trunk/; revision=12933
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-17 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(match_name): Fixed a stupid bug was causing completion to fail
for contacts who have only one name. (The classic example we all
know and love is 'George <jirka@5z.com>') (bug #8353)
svn path=/trunk/; revision=12928
|
|
|
|
|
|
|
|
|
|
| |
2001-09-17 Jon Trowbridge <trow@ximian.com>
* gui/widgets/e-minicard.c (e_minicard_event): Code implicitly
assumed that event->button.button is 1, 2, or 3, causing disaster
when using a wheel-mouse. Fixed. (bug #9400)
svn path=/trunk/; revision=12926
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-16 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (_phone_arrow_pressed):
use enable_widget instead of gtk_widget_set_sensitive.
(_email_arrow_pressed): same.
(_address_arrow_pressed): same.
(disable_widget_foreach): same.
(enable_writable_fields): same.
(set_editable): same.
(enable_widget): new function, using both gtk_widget_set_sensitive
and *_set_editable to allow the user to select text in GtkEntry's
and GtkText's.
* gui/contact-editor/e-contact-editor-fullname.c
(e_contact_editor_fullname_set_arg): use set_editable as well as
set_sensitive, to allow the user to select text in GtkEntry's.
* gui/contact-editor/e-contact-editor-address.c
(e_contact_editor_address_set_arg): same.
svn path=/trunk/; revision=12868
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-16 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-storage.h: reorder the LDAP scopes so
that they match the order of the option menus in the glade file.
* gui/component/addressbook-config.c (auth_checkbutton_changed):
new function, mostly there to house some #ifdef'ed out code.
(option_menuitem_activated): new function, to keep track of
changes to the ldap scope optionmenu.
(addressbook_source_dialog_set_source): set the menu history as
well as the dialog's copy of the scope.
(addressbook_source_dialog_get_source): fill in the source's scope
from the dialog's copy, and add more #if the_ui_gods_smile_on_me
code.
(add_activate_cb): new function, add an activate callback for the
optionmenu's items.
(addressbook_source_dialog): more #if the_ui_gods_smile_on_me
code, always start the dialog on page 0, and hook up the
scope optionmenu's items.
svn path=/trunk/; revision=12865
|
|
|
|
|
|
|
|
|
| |
2001-09-15 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card-compare.c (e_card_compare_name): No
loose name matches on family names. (#8802)
svn path=/trunk/; revision=12857
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-15 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_activate_obj): We can't use NULL as the
first arg for e_addressbook_show_contact_editor anymore. Damn.
(#8535)
svn path=/trunk/; revision=12853
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-15 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book-listener.c (e_book_listener_stop): Make
"stop" do nothing but set the stopped flag, as in
e-book-view-listener.c.
(e_book_listener_destroy): Clean up our queue here, rather than in
e_book_listener_stop.
(response_free): Added. Move the rather lengthy bit of code
needed to free a EBookListenerResponse into one place.
(e_book_listener_check_queue): Properly deal with the stopped
flag.
(e_book_listener_queue_response): If the stopped flag is set, just
drop the incoming response.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_stop): Make "stop" do nothing but set the
stopped flag.
(e_book_view_listener_destroy): Move all of the clean-up that used
to be in e_book_view_listener_stop here. This considerably simplifies
the logic required to avoid various race conditions.
(e_book_view_listener_check_queue): Properly deal with the stopped flag.
(e_book_view_listener_queue_response): Drop all incoming responses if
we are stopped.
2001-09-14 Jon Trowbridge <trow@ximian.com>
* backend/pas/pas-book.c (pas_book_queue_request): Hold a
reference to the book on behalf of our idle function.
(pas_book_check_queue): When we are finished, drop the reference
we've been holding on behalf of the idle function.
* backend/pas/pas-backend-file.c
(pas_backend_file_process_create_card): Hold a reference to the
book_view while sending our notifications.
(pas_backend_file_process_remove_card): Hold a reference to the
book_view while sending our notifications.
* gui/contact-editor/e-contact-quick-add.c (quick_add_unref): Remove
debugging spew.
* backend/ebook/e-book-util.c: Remove a lot of unused code that
worked around bugs that have long since been fixed.
(simple_query_disconnect): Added. Breaks out the part of
simple_query_free that disconnect signals.
(simple_query_free): Replace code w/ a call to
simple_query_disconnect.
(simple_query_sequence_complete_cb): Call simple_query_disconnect
before executing the callback, so that our callbacks don't get
triggered by any book changes that might occur during that
callback.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_check_queue): Changed to be consistent with
e_book_listener_check_queue.
(e_book_view_listener_queue_response): Also changed to use a
high-frequency timeout.
* backend/ebook/e-book-listener.c (e_book_listener_check_queue):
OK, I've agonized over this stupid little function, and it should
now be race-free.
(e_book_listener_queue_response): We process our response queue in
a high-frequency timeout rather than an idle. Using an idle
function leads to some tricky race conditions and bad interactions
with bonobo's semi-broken attempts to take over event processing.
(e_book_view_listener_stop): Manually disable our timeout and
clean up.
svn path=/trunk/; revision=12851
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/select-names/Makefile.am: Set CLEANFILES directly
instead of using `+='.
* backend/pas/Makefile.am: Rename `LDAP_BACKEND_SOURCES' to
`LDAP_BACKEND_FILES'.
* backend/ebook/Makefile.am: Set CLEANFILES directly instead of
using `+='.
svn path=/trunk/; revision=12840
|
|
|
|
|
|
|
|
|
| |
2001-09-12 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c (match_email):
printf arguments were reversed by mistake. Fixed bug #9693.
svn path=/trunk/; revision=12779
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-09 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-popup.c
(popup_menu_list): Added. Treat right-clicks on a contact list as
a special case.
(e_select_names_popup): Check if we are dealing with a contact
list. (Bug #9322)
svn path=/trunk/; revision=12716
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-08 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_check_queue): See
e_book_listener_check_queue below.
(e_book_view_listener_queue_response): See
e_book_listener_queue_response below.
* backend/ebook/e-book-listener.c (e_book_listener_check_queue):
Explicitly prohibit reentrancy. Use gtk-unref rather than
bobobo-unref.
(e_book_listener_queue_response): Hold a gtk-ref to the listener
while the idle function runs, not a bonobo-ref. As far as I can
tell, it is impossible to avoid a race condition here when we have
to worry about bonobo reentrancy.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_insert_length): Alter a copy of the
original EDestination, rather than just using a new one. We need
to do this to preserve prior-card information for possible
reversion later.
(e_select_names_text_model_delete): Ditto.
* backend/ebook/e-destination.c (e_destination_clear_card): When
clearing a destination where ->card != NULL, store it for possible
reversion later.
(e_destination_revert): If we have an old card stored, go back to
using it for the destination.
(e_destination_is_valid): Tries to detect obviously broken
addresses.
(e_destination_cardify): If our destination is invalid, first try
to cardify simply by reverting to an older card.
(e_destination_destroy): Unref any cached old card.
(e_destination_copy): Copy the old card information.
2001-09-07 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(sync_table_and_models): Show all rows in the table, and then
remove the rows that correspond to entries in the
ESelectNamesModels in the children.
(real_add_address): Freeze/thaw our ESelectNamesModel, so that we
don't change our table while we are in the middle of iterating
over the selection.
(remove_address): Just delete the address from the
ESelectNamesModel, the signal handler will do the rest.
(selected_rows_foreach_cb): Call remove_address to do our dirty
work.
(e_select_names_add_section): Connect to the 'changed' signal from
the ESelectNamesModel, and call sync_table_and_models explicitly to
get our initial state correct.
* gui/component/select-names/e-select-names-table-model.c
(fill_in_info): Deal with EDestinations in our table that don't
come from cards.
* gui/component/select-names/e-select-names-manager.c: Added
another ESelectNamesModel* to the ESelectNamesManagerSection
struct. Called 'original_model', this contains a copy of the
model as it is when we begin using the SelectNames dialog.
(section_copy): Copy the original model.
(section_free): Free the original model.
(e_select_names_manager_add_section_with_limit): Initialize the
original model.
(e_select_names_clicked): I've changed the semantics of this
dialog quite a bit... no UI freeze can stop me! If OK is clicked,
we do nothing. If Cancel is clicked, we revert to the
'original_model' copy of our address entry state before we started
editting. Finally, we close the dialog before any of thing. Doing
it last caused problems, because signals were being triggered
which had dangling pointers as their closures.
(e_select_names_manager_activate_dialog): Copy our current state
to the original model, and share the same ESelectNamesModel
between the dialog and the address entry in the composer..
(e_select_names_manager_get_cards): Removed. It had been
#if 0/#endif-ed out for a while.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_freeze): Added.
(e_select_names_model_thaw): Added.
(e_select_names_model_uncardify): Added. If possible,
"uncardifies" a specific model entry.
(e_select_names_model_changed): Changed to pay attention
to the freeze count.
* gui/component/select-names/e-select-names-completion.c
(clean_query_text): Strip leading/trailing whitespace from
queries.
* backend/ebook/e-destination.c (e_destination_uncardify): Added.
Converts a card-associated destination into a text-associated
destination w/ the e-mail address.
(e_destination_list_to_vector): Added. A convenience routine.
(e_destination_freev): Added. A convenience routine.
(e_destination_touchv): Added. I'm lazy.
svn path=/trunk/; revision=12710
|
|
|
|
|
|
|
|
|
| |
2001-09-08 Chris Toshok <toshok@ximian.com>
(make_contact_editor_cb): show the right contact editor (the list
editor for list cards).
svn path=/trunk/; revision=12707
|
|
|
|
|
|
|
|
|
|
| |
2001-09-08 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-popup.c
(popup_menu_card): do the EDestination xml magic on email
addresses we put in the popup.
svn path=/trunk/; revision=12706
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook.c (addressbook_factory_new_control):
For every category:
- set .translate to FALSE (e_categories_master_list_nth returns
translated category name)
- convert category name in UTF-8 to locale's encoding
svn path=/trunk/; revision=12696
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/select-names/e-select-names-popup.c
(popup_menu_card): Fixed two bugs:
- missing coversion of contact name to GTK+ locale,
- passing dynamically created string (contact name) inside uiinfo struct
to gnome-app-helper functions.
Remember: these functions may change strings, trying to translate them!
(popup_menu_nocard): Ditto
svn path=/trunk/; revision=12694
|
|
|
|
|
|
|
|
|
| |
2001-09-07 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook-component.c: Removed unused factory
variable.
svn path=/trunk/; revision=12687
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-06 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-storage.c (notify_listener): new
function, notify the bonobo listener.
(remove_ldap_folder): track change to EvolutionStorage signal.
(create_ldap_folder): same, and make sure the type is
"ldap-contacts".
(load_source_data): folders that we create should have
"ldap-contacts" as their type.
(addressbook_storage_add_source): same.
* gui/component/addressbook-component.c: (folder_types): add
"ldap-contacts", for display of ldap servers (they get their own
icon, and their own name in the Create New Folder dialog.
(create_view): use IS_CONTACT_TYPE since we support two folder
types now.
(create_folder): same.
(remove_folder): same.
(xfer_folder): same.
svn path=/trunk/; revision=12668
|
|
|
|
|
|
|
|
|
| |
2001-09-06 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c: (pixmaps): change
/Toolbar/ContactEditorSave to /Toolbar/ContactEditorSaveClose.
svn path=/trunk/; revision=12665
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-06 Chris Toshok <toshok@ximian.com>
* gui/component/Makefile.am (INCLUDES): add -DEVOLUTION_IMAGESDIR.
* gui/widgets/e-addressbook-view.c (card_deleted_cb): remove
status messages from here.
(e_addressbook_view_delete_selection): same.
* gui/widgets/e-addressbook-model.c (sequence_complete): emit a
NULL status message along with the stop_state_changed. The null
status message will clear the status bar for this view.
* gui/component/addressbook.c (set_status_message): use the
EvolutionActivityClient stuff.
* backend/pas/pas-backend-ldap.c (view_destroy): remove status
message for abandoning a search.
(ldap_op_process_current): wrap status messages in _().
(ldap_op_process): same.
(create_card_handler): same, and remove the notify_status for ""
and add a notify_complete call after the card is added.
(remove_card_handler): same.
(modify_card_handler): same.
(poll_ldap): wrap status messages with _(), and remove the "Search
Complete" message.
(ldap_search_handler): wrap status message.
* backend/pas/pas-backend-file.c (pas_backend_file_search): use
_() on status messages, and make sure the last notify_* called is
notify_complete.
svn path=/trunk/; revision=12663
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the addressbook.]
* gui/component/addressbook-component.c
(GNOME_EVOLUTION_ADDRESSBOOK_COMPONENT_FACTORY_ID): Removed.
(GNOME_EVOLUTION_ADDRESSBOOK_COMPONENT_ID): New.
(create_component): Renamed from `factory_fn'. Just register the
thing on OAF.
(addressbook_component_factory_init): Just call it.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Remove the
ShellComponentFactory.
svn path=/trunk/; revision=12642
|
|
|
|
| |
svn path=/trunk/; revision=12564
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ebook/e-card-simple.c
(field_data): Marked "name" and "short_name" fields for translation.
(e_card_simple_get_name, e_card_simple_get_short_name): Return
localized version of the name (using U_() macro).
* gui/contact-editor/e-contact-editor.c (set_entry_changed_signals):
Connect "changed" signal from "entry-web" entry to widget_changed.
(changing this field wasn't making "Save and Close" button sensitive)
* gui/widgets/Makefile.am (glade_DATA): Removed alphabet.glade.
* gui/widgets/e-addressbook-view.c
(button_labels, button_letters): New strings containing a list of
labels and "values" of all buttons placed on the right side of the
addressbook view (intended for localization).
(struct LetterClosure): Changed the type of letter field to gunichar.
(e_utf8_split): New function, similar to g_strsplit, but operates on
UTF-8 strings.
(jump_to_letter): Don't hardcode letters, build queries dynamically
using UTF-8 and localized letters stored in button_letters.
(connect_button): Removed.
(create_alphabet): Don't use glade file, build buttons manually using
(localized) labels from button_labels. Use (localized) values from
button_letters when creating LetterClosure.
* gui/widgets/e-minicard-view-widget.[ch]
(e_minicard_view_widget_jump_to_letter): Changed the type of the
second argument from char to gunichar.
* gui/widgets/e-minicard-view.c
(compare_to_utf_str): Renamed from compare_to_letter, now operates on
UTF-8 string.
(e_minicard_view_jump_to_letter): Changed the type of the second
argument from char to gunichar + conversion to UTF-8 string.
* gui/widgets/e-minicard-view.h
(e_minicard_view_jump_to_letter): Changed the type of the second
argument from char to gunichar.
svn path=/trunk/; revision=12563
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-storage.c
(addressbook_get_other_contact_storage): s/_/U_/
* gui/widgets/e-addressbook-reflow-adapter.c (addressbook_compare):
Use g_utf8_collate.
* gui/widgets/e-minicard.c (e_minicard_compare):
Ditto.
* printing/e-contact-print.c (card_compare):
Ditto.
svn path=/trunk/; revision=12542
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-29 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(e_select_names_clicked): Use e_select_names_model_merge to
combine the selected names with any existing ones. This causes
you to not lose addresses typed directly into the entry while the
SelectNames dialog is up. (Bug #8058)
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_merge): Merge the contents of one
ESelectNamesModel into another, avoiding duplicates.
* backend/ebook/e-destination.c (e_destination_equal): Added.
Determines if two destinations appear to refer to the same
recipient.
* backend/ebook/e-card.c (e_card_list_send): Added cast to
g_free args to silence compiler warnings.
svn path=/trunk/; revision=12526
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-29 Jon Trowbridge <trow@ximian.com>
* gui/contact-editor/e-contact-quick-add.c (quick_add_set_name):
Paranoia. Check that name != qa->name.
(quick_add_set_email): Check that email != qa->email.
(ce_have_book): Store the QuickAdd data structure in object data,
so that we can be extra-careful and avoid having a dangling
pointer floating around out somewhere as the closure for a signal.
Fixes bug #8155, I think.
(card_added_cb): Clear object data to ensure single unref.
(editor_closed_cb): Clear object data to ensure single unref.
svn path=/trunk/; revision=12525
|
|
|
|
|
|
|
|
|
|
| |
2001-08-29 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(book_query_score): Make sure that comp->priv->query_text isn't
NULL. (Fixes bug #8195)
svn path=/trunk/; revision=12524
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Evolution-ShellComponent.idl: Studlycapsize all the IDs that are
not.
* Evolution-common.idl: Likewise.
* evolution-activity-client.c: Updated accordingly.
* evolution-shell-component.c: Likewise.
* evolution-storage.c: Likewise.
* e-activity-handler.c: Likewise.
* e-component-registry.c: Likewise.
* e-corba-storage.c: Likewise.
* e-shell-user-creatable-items-handlers.c: Likewise.
* e-local-storage.c (remove_folder): Remove unused variable.
* e-shell-view.c (update_for_current_uri): Assign zero to
`unread_count', not NULL.
* e-shell-importer.c (import_druid_finish): Remove unused
variable.
* e-shell-user-creatable-items-handler.c: #include
"e-corba-utils.h".
* e-shell-startup-wizard.c: #include "e-shell-startup-wizard.h".
* e-shell-startup-wizard.h: #include <glib.h>
* e-summary-weather.c (weather_make_html): Make local variable
`icon_name' const. Remove unused variable `uri'.
* e-summary.h: Reformatted in GTK+ style.
(e_summary_remove_online_connection): Added prototype.
* e-summary-preferences.c (fill_mail_shown_clist): Constify local
variable `name'.
* e-summary-mail.c: #include "e-util/e-path.h". Updated to match
the new studlyCapsification in shell/Evolution*.idl.
* mail-local.c: Match the studlyCapsification of
shell/Evolution*.idl.
* mail-config-druid.h: Change type of `event_source' from
`Bonobo_EventSource *' to `Bonobo_EventSource'.
* mail-accounts.c (mail_delete): Remove unused local variable
`label'.
* folder-info.c (do_get_info): `#if 0' unused variables.
* gui/component/addressbook-component.c: Get rid of a warning by
initializing the closing NULL element in folder_types correctly.
* gui/component/select-names/e-select-names.c: Updated to match
the studlyCapsification of attributes in shell/Evolution*.idl.
svn path=/trunk/; revision=12495
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-27 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(sexp_file_as): Added. Generated queries against file_as.
(match_file_as): Added. Match results of queries against
file_as. (Bug #8152)
svn path=/trunk/; revision=12494
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-27 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card.c (e_card_list_send): Removed some debugging
spew that I left in by mistake.
* gui/widgets/e-addressbook-model.c (create_card): Removed debugging
spew.
svn path=/trunk/; revision=12492
|
|
|
|
|
|
|
| |
* gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog):
Display localized status string (added missing _()).
svn path=/trunk/; revision=12476
|
|
|
|
|
|
|
|
|
| |
2001-08-23 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard.c (e_minicard_event): add
BUTTON_PRESS_MASK so double clicks still work.
svn path=/trunk/; revision=12427
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-23 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (addressbook_query_changed): switch
"full_name" to "x-evolution-any-field" in all the queries where we
want to match all cards, since the backends universally handle
this special case more efficiently.
svn path=/trunk/; revision=12415
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-22 jacob berkman <jacob@ximian.com>
* gui/component/e-address-popup.c (emit_event): emit an event from
our event source
(contact_editor_cb): emit a destroy event so our control frame can
be destroyed.
(edit_contact_info_cb): emit a hide event so our control frame can
be hidden
(e_address_popup_cardify):
(add_contacts_cb): emit the destroy event
(e_address_popup_factory_new_control): don't unref our object at
widget destroy time as that was really really broken
(e_address_popup_factory_new_control): create an event source and
aggregate ourself with it
* gui/contact-editor/e-contact-editor.c (enable_writable_fields):
display a nicer warning when we can't find a widget for a given
field
(e_contact_editor_raise): only raise if there is a window
* gui/contact-editor/contact-editor.glade: name some widgets that
got unnamed, and set the first entry as defaultable
* gui/contact-editor/e-contact-editor.c: envelope printing is
disabled in 1.0 2001-08-22 jacob berkman <jacob@ximian.com>
* mail-display.c: rework how the e-card-popup thing has its life
managed. we now hide the window on the Hide event and destroy it
on the Destroy event emitted from its event source
svn path=/trunk/; revision=12402
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-21 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard.c (e_minicard_event): if we're dragging,
drag_button_down won't be true in the BUTTON_RELEASE case, since
we set it to false in MOTION_NOTIFY once the threshold is reached.
(e_minicard_drag_end): remove this function, since it was needed
to work around a bug in gnome-canvas.
svn path=/trunk/; revision=12337
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-20 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(e_addressbook_create_ebook_table): Wrap our addressbook table
adapter in an ETableWithout, so that we can make addresses appear
and disappear when we remove/add them to the section lists
(To/Cc/Bcc) on the right of the dialog.
(real_add_address_cb): When we add an address, hide it in the main
list.
(e_select_names_init): Get pointer to our without table from the
table's object data, and store it.
(remove_address): When we remove an address, show it in the main
list.
(card_key): Added. Allocate a unique key from an ECard.
(esn_get_key_fn): Added. Callback for ETableWithout.
(esn_dup_key_fn): Added. Callback for ETableWithout.
(esn_free_gotten_key_fn): Added. Callback for ETableWithout.
(esn_free_duped_key_fn): Added. Callback for ETableWithout.
* backend/ebook/e-card-simple.c (e_card_simple_get): Changed
E_CARD_SIMPLE_FIELD_NAME_OR_ORG to first try the FILE_AS
type. This allows the cards in the ESelectName dialog to
appear in proper sort order (i.e. as 'Doe, John' rather than
'John Doe'). Fixes ximian #6002.
svn path=/trunk/; revision=12334
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-20 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-reflow-adapter.c
(e_addressbook_reflow_adapter_class_init): fix arg info - we're
only passing 1 GTK_TYPE_POINTER arg, not 2.
* gui/widgets/e-minicard.c (e_minicard_event): lots of fixes for
DnD. For GDK_BUTTON_PRESS, we grab immediately. For
GDK_BUTTON_MOTION, we start the drag after a certain threshold,
and connect to the "drag_end" signal on our canvas so we'll know
when the drag is complete. For GDK_BUTTON_RELEASE, we release the
grab if we were dragging and get the event.
(e_minicard_drag_end): new function, just remove the pointer/gtk
grabs and disconnect.
* gui/widgets/e-minicard.h (struct _EMinicard): add "gint
drag_button"
svn path=/trunk/; revision=12331
|
|
|
|
|
|
|
|
| |
2001-08-20 Damon Chaplin <damon@ximian.com>
* gui/contact-editor/e-contact-editor.c: Used Delete icon in menu.
svn path=/trunk/; revision=12281
|
|
|
|
|
|
|
|
|
| |
2001-08-20 Damon Chaplin <damon@ximian.com>
* gui/contact-editor/e-contact-editor.c: use bigger Save icon for
toolbar.
svn path=/trunk/; revision=12279
|
|
|
|
|
|
|
|
|
| |
2001-08-20 Damon Chaplin <damon@ximian.com>
* gui/component/addressbook.c: use 'Save As' icon rather than 'Save'
as it seems more appropriate. Also added delete icon for menu.
svn path=/trunk/; revision=12268
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* evolution-test-component.c: Added display_name and description
to the type.
* evolution-shell-component.c (impl__get_supported_types): Pass
`display_name' and `description' here.
(evolution_shell_component_construct): Likewise.
* evolution-shell-component.h: New members `display_name',
`description' in `EvolutionShellComponentFolderType'.
* e-component-registry.c (register_type): New args @description
and @display_name. Pass to
`e_folder_type_registry_register_type()'.
(register_component): Pass the values returned in the sequence
from __get_supported_types.
* e-folder-type-registry.c: New members `display_name' and
`description' in `struct _FolderType'.
(folder_type_new): New args @description and @display_name.
Initialize the respective fields in the `FolderType' accordingly.
(folder_type_free): Free `display_name' and `description'.
(register_folder_type): New args @display_name, @description.
(e_folder_type_registry_register_type): New args @display_name,
@description.
(e_folder_type_registry_get_description_for_type): New.
(e_folder_type_registry_get_display_name_for_type): New.
* Evolution-ShellComponent.idl: Added `display_name' and
`description' fields to the `FolderType' struct.
svn path=/trunk/; revision=12245
|
|
|
|
|
|
|
|
|
| |
2001-08-19 Damon Chaplin <damon@ximian.com>
* gui/component/addressbook.c: use new Cut/Copy/Paste/Save/Search
icons.
svn path=/trunk/; revision=12241
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-19 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook.c (set_folder_bar_label),
gui/widgets/e-addressbook-model.c,
gui/widgets/e-addressbook-model.h (update_folder_bar_message),
gui/widgets/e-addressbook-view.c, gui/widgets/e-addressbook-view.h
(folder_bar_message): Set the folder bar message here.
* gui/component/select-names/e-select-names-model.c (SEPLEN): Use
strlen(SEPARATOR) here so that if the separator changes the length
will work properly.
svn path=/trunk/; revision=12220
|
|
|
|
|
|
|
|
|
| |
2001-08-19 Christopher James Lahey <clahey@ximian.com>
* gui/contact-editor/fulladdr.glade: Added full country list.
Fixes Ximian bug #5123.
svn path=/trunk/; revision=12217
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* evolution-addressbook.xml: Set the pixtype for
"ContactEditorDelete" to "pixbuf".
* evolution-contact-editor.xml: Likewise.
* evolution-contact-list-editor.xml: Likewise.
* gui/component/addressbook.c: Hook up `delete-message.png' as the
icon for "ContactDelete".
* gui/contact-editor/e-contact-editor.c: Likewise.
svn path=/trunk/; revision=12206
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-17 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-storage.h: add prototype for
addressbook_get_other_contact_storage.
* gui/component/addressbook-storage.c
(addressbook_get_other_contact_storage): rename register_storage
to this, and return the EvolutionStorage.
(load_source_data): register_storage =>
addressbook_get_other_contact_storage.
(addressbook_storage_add_source): register_storage =>
addressbook_get_other_contact_storage.
svn path=/trunk/; revision=12197
|
|
|
|
|
|
|
|
|
|
| |
2001-08-17 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c
(set_entry_changed_signals): connect to the "changed" signal on
"entry-web" to update command state.
svn path=/trunk/; revision=12193
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-17 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (addressbook_query_changed): call
e_sexp_encode_string on the search string the user types in so it
doesn't break sexp parsing in the wombat.
svn path=/trunk/; revision=12190
|
|
|
|
|
|
|
|
| |
2001-08-17 Damon Chaplin <damon@ximian.com>
* gui/component/addressbook.c: changed to new print icon.
svn path=/trunk/; revision=12188
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-17 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.c: (struct
ESelectNamesFolder): rename physical_uri to uri, since it includes
the addressbook.db for file: uris.
(e_select_names_folder_free): physical_uri => uri.
(e_select_names_option_activated): physical_uri => uri, and we
don't need to strdup_printf "addressbook.db" onto the end anymore.
(new_folder): if the physical_uri is a file: uri, append
/addressbook.db onto it.
(hookup_listener): new function, split out lots of code from
e_select_names_hookup_shell_listener.
(e_select_names_hookup_shell_listeners): rename
e_select_names_hookup_shell_listener to this, and hookup both the
local and "Other Contacts" listener, using hookup_listener.
(e_select_names_destroy): disconnect from the
other_contacts_listener and unref it.
* gui/component/select-names/e-select-names.h (struct
_ESelectNames): add a listener for Other Contacts, and rename
"listener" to "local_listener."
svn path=/trunk/; revision=12187
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-17 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_seq_complete_cb): If we get the
"sequence_complete" signal when we aren't searching, it means the
addressbook changed out from under us. Clear the search cache, so
that future completion requests won't use the out-of-date cached
data. Also, don't unref book_view... we leave the EBookView open
so that we can catch these addressbook changes.
(e_select_names_completion_do_query): Don't use the book_view
being non-NULL as a sign that another query is still running.
(e_select_names_completion_got_book_view_cb): Properly unref any
previous value in book_view.
svn path=/trunk/; revision=12184
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-17 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-reflow-adapter.c
(e_addressbook_reflow_adapter_right_click),
gui/widgets/e-addressbook-view.c (table_right_click): Changed the
messages here in the right click menus.
svn path=/trunk/; revision=12171
|
|
|
|
|
|
|
|
|
|
| |
2001-08-17 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook-component.c (factory_fn): Added code
so the user can create a new contact or contact list from anywhere
in evolution.
svn path=/trunk/; revision=12146
|
|
|
|
|
|
|
|
|
|
| |
2001-08-16 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_handle_request): Renamed from _begin to
match changes in gal 0.10.99.3.
svn path=/trunk/; revision=12117
|
|
|
|
|
|
|
|
|
|
| |
2001-08-16 Jon Trowbridge <trow@ximian.com>
* gui/contact-editor/e-contact-quick-add.c (e_contact_quick_add):
Check that name != NULL before we start messing with it.
(Fixes bug #7329)
svn path=/trunk/; revision=12084
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-16 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(match_nickname): Boost scoring on an exact nickname match.
Manually addressify match.
(match_name): Manually addressify matches.
(book_query_score): Remove automatic addressification.
* gui/component/addressbook.c (addressbook_query_changed): Minor
tweak to avoid a crash if we have a negative subid with id
ESB_CATEGORY. This should never happen.
(addressbook_menu_activated): Reset the entry/option when we
select "Clear".
Some changes to reflect renaming in ESearchBar.
* gui/component/select-names/e-select-names-bonobo.c
(entry_set_property_fn): Cardify after importing destinations.
This might fix a problem that Damon is having.
2001-08-16 Jon Trowbridge <trow@ximian.com>
* e-filter-bar.c (option_changed): Adjusted for renamed ESearchBar
functions.
(menubar_activated): Adjusted for renamed ESearchBar functions.
* e-search-bar.c: Renames some of the horrible function names:
s/option_choice/item_id/, s/suboption_choice/subitem_id/.
2001-08-16 Jon Trowbridge <trow@ximian.com>
* gui/cal-search-bar.c: Changed to reflect my renaming of some of
the more hideously-named functions in the ESearchBar API.
svn path=/trunk/; revision=12081
|
|
|
|
|
|
|
|
|
| |
2001-08-15 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.glade: set title of initial
dialog to Addressbook Sources (bug #6704).
svn path=/trunk/; revision=12078
|
|
|
|
|
|
|
|
|
|
| |
2001-08-15 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-storage.c (create_ldap_folder): don't
let people add subdirs in the ldap server storage - everything is
toplevel there.
svn path=/trunk/; revision=12077
|
|
|
|
|
|
|
|
|
| |
2001-08-14 Federico Mena Quintero <federico@ximian.com>
* gui/component/addressbook.c (addressbook_factory_new_control):
Tell the search bar to translate the subitem texts.
svn path=/trunk/; revision=12015
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-14 Jon Trowbridge <trow@ximian.com>
* gui/component/addressbook.c (addressbook_factory_new_control):
Add "Any Category" option for category searches.
(addressbook_query_changed): Do the right thing on an
"Any Category" search.
2001-08-14 Jon Trowbridge <trow@ximian.com>
* e-search-bar.c (activate_by_subitems): Oops... initial
suboption_choice should be subitems[0].id, not 0.
svn path=/trunk/; revision=12013
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-14 Christopher James Lahey <clahey@ximian.com>
* gui/merging/e-card-merging-book-commit-duplicate-detected.glade:
Got rid of an extraneous _ here.
* gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog):
Changed Canceled to Cancelled here. Fixes Ximian bug #2465.
svn path=/trunk/; revision=12002
|
|
|
|
|
|
|
|
|
| |
2001-08-14 Christopher James Lahey <clahey@ximian.com>
* gui/contact-editor/contact-editor.glade: Added focus targets
here. Fixes part of Ximian bug #5843.
svn path=/trunk/; revision=11998
|
|
|
|
|
|
|
|
|
| |
2001-08-14 Christopher James Lahey <clahey@ximian.com>
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
Grab focus here. Fixes Ximian bug #2265.
svn path=/trunk/; revision=11995
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-14 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook.c (addressbook_factory_new_control):
(addressbook_query_changed): Fixed two const warnings here.
* printing/e-contact-print-envelope.c,
printing/e-contact-print-envelope.h: Fixed some missing includes
here.
svn path=/trunk/; revision=11994
|
|
|
|
|
|
|
|
|
|
| |
2001-08-13 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-config.c
(addressbook_source_dialog_set_source): don't access source->auth
if source == NULL (bug #7086).
svn path=/trunk/; revision=11988
|
|
|
|
|
|
| |
2001-08-11 Kjartan Maraas <kmaraas@gnome.org>
svn path=/trunk/; revision=11916
|
|
|
|
|
|
|
|
|
|
| |
2001-08-10 Jon Trowbridge <trow@ximian.com>
* gui/contact-editor/e-contact-quick-add.c (e_contact_quick_add):
Remove single- or double-quotes from names before sticking them
into the addressbook. (Bug #6499)
svn path=/trunk/; revision=11909
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-10 Jon Trowbridge <trow@ximian.com>
* gui/component/addressbook.c (addressbook_query_changed):
Properly handle "Category is" queries by checking the search bar
suboption.
(addressbook_factory_new_control): Attach subitems corresponding
to all wombat categories to the "Category is" ESearchBarItem.
svn path=/trunk/; revision=11908
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-10 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients): Removed comment about
the need to resolve nicknames properly, because we now do that.
2001-08-10 Jon Trowbridge <trow@ximian.com>
* e-filter-bar.h: Set the subitems to NULL in the pre-defined
ESearchBarItems.
* e-filter-bar.c (rule_editor_clicked): Set the ESearchBarItem's
subitems to NULL.
(build_items): Set the ESearchBarItem's subitems to NULL.
(e_filter_bar_new): Set the ESearchBarItem's subitems to NULL.
* e-search-bar.c: Added support for subitems, so that a search
option can key off of another option menu rather than just an
entry.
2001-08-10 Jon Trowbridge <trow@ximian.com>
* gui/component/addressbook.c: Set the ESearchBarItem
subitems explicitly to NULL.
2001-08-10 Jon Trowbridge <trow@ximian.com>
* gui/cal-search-bar.c: Where we have ESearchBarItems, set their
subitems to NULL.
2001-08-10 Jon Trowbridge <trow@ximian.com>
* folder-browser.c: Set our ESearchBarItems subitems to NULL.
svn path=/trunk/; revision=11904
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-10 Anna Marie Dirks <anna@ximian.com>
* gui/component/select-names/select-names.glade: did a little
packing-magic to get the two tables at bottom of this dialog
to seem to line up.
*gui/component/select-names/e-select-names.c: changed the title
of this dialog to "Select Contacts from Addressbook".
svn path=/trunk/; revision=11897
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-09 Anna Marie Dirks <anna@ximian.com>
* gui/component/select-names/select-names.glade: redesigned
this dialog to fix bug #6815.
*gui/component/select-names/e-select-names.c: connected the
widgets (or one of them anyway. clahey did the rest) for my
new and lovely glade file.
svn path=/trunk/; revision=11862
|
|
|
|
|
|
|
|
| |
2001-08-09 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c: remove passwd_cb.
svn path=/trunk/; revision=11855
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-09 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-text-model.c
This change is dedicated to Jacob Berkman.
(e_select_names_text_model_insert_length): If the last character
we inserted was a "magic comma", remember its position.
(e_select_names_text_model_delete): If the last character we
inserted was a "magic comma", and if the next thing we do is to
hit backspace, delete both the comma and the extra whitespace we
added.
(e_select_names_text_model_init): Initialize our last magic comma
position.
svn path=/trunk/; revision=11839
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-09 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_create_entry): Hook up some magic to
(basically) cardify an entry on focus-out. (What we do is actually
more complicated than that.)
* gui/component/select-names/e-select-names-bonobo.c
(entry_set_property_fn): After we set an entry's text, try to
cardify it. We need to do this so that (for example) reply
e-mails get properly cardified.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_duplicate): Use e_select_names_model_append,
rather than manipulating lists directly.
(e_select_names_model_insert): Connect "changed" signal proxy for
added EDestination.
(e_select_names_model_append): Ditto.
(e_select_names_model_replace): Ditto, and disconnect signals for
replaced EDestination.
(e_select_names_model_delete): Ditto on the disconnection.
(e_select_names_model_delete_all): Ditto.
(e_select_names_model_cardify): Added. Try to cardify a specified
EDestination.
(e_select_names_model_cancel_cardify): Added. Cancel the pending
cardification of a single EDestination.
(e_select_names_model_cardify_all): Added. Cardify all of the
EDestinations in the model.
(e_select_names_model_cancel_cardify_all): Added. Cancel's any
and all pending cardifications.
* backend/ebook/e-destination.c (e_destination_class_init): Added
"changed" and "cardified" signals.
(e_destination_freeze): Added (static).
(e_destination_thaw): Added (static).
(e_destination_clear_card): Reset allow_cardify and
cannot_cardify, cancel any pending cardifications, and emit the
"changed" signal.
(e_destination_clear_strings): Emit the "changed" signal.
(e_destination_clear): Do freeze/thaw to prevent multiple signal
emissions.
(e_destination_set_card): Check that the card we are setting is
not equal to the current card, and emit the "changed" signal if we
are actually changing.
(e_destination_set_card_uri): Emit "changed" signal, if necessary.
(e_destination_set_name): Emit "changed" signal, if necessary.
(e_destination_set_email): Emit "changed" signal, if necessary.
(e_destination_set_html_mail_pref): Emit "changed" signal, if
necessary.
(use_card_cb): If we've just loaded/set the ECard, emit the
"changed" signal.
(e_destination_set_raw): Emit "changed" signal, if necessary.
(e_destination_allow_cardification): Added.
(e_destination_set_allow_cardification): Added.
(e_destination_cardify): Added. Tries to automatically convert
a string-based EDestination to one based on an ECard.
(e_destination_cardify_delayed): Added. Cardifies in a timeout.
(e_destination_cancel_cardify): Added. Cancels any pending
cardifications.
(e_destination_xml_decode): Added freeze/thaw.
* backend/ebook/e-book-util.c (e_book_nickname_query): Added. A
canned simple query for nicknames.
* backend/ebook/e-card.c (e_card_email_find_number): Added. Given
a card and an string containing an email address, return the index
number of the address inside of the card, or -1 if the address is
not found.
svn path=/trunk/; revision=11837
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-09 Chris Toshok <toshok@ximian.com>
[ Fixes ximian bugs #5080, #6021, #6704, #6705 ]
* gui/component/addressbook.c (book_open_cb): create our own
dialog that prompts for both the email address and the password.
the email address is stored in the source and filled in for the
user after the first time they enter one and press OK.
* gui/component/addressbook-storage.c (create_ldap_folder): has a
return value, not a int* parameter.
(create_ldap_folder): new function, we can create ldap servers
from the File->New->Folder menu item now.
(register_storage): hook up the "create_folder" signal.
(addressbook_storage_init_source_uri): remove the file case, we
only build ldap uris here.
(load_source_data): remove the file source stuff, and handle
"emailaddr".
(save_source_data): call ldap_source_foreach directly.
(addressbook_source_free): remove file source stuff.
(addressbook_source_copy): same.
* gui/component/addressbook-storage.h: get rid of all the file
source stuff from AddressbookSource, since this is only being used
for ldap servers.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_authenticate_user): look up the ldap
entry based on the provided email address and use the resulting
DN/passwd to authenticate.
* gui/component/addressbook-config.c: pretty much gutted to make
it work with the new UI.
* gui/component/addressbook-config.glade: new version from anna.
svn path=/trunk/; revision=11834
|
|
|
|
|
|
|
|
|
| |
2001-08-09 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-view.c (SPEC): Upped the minimum width
on all addressbook columns to 75. Fixes Ximian bug #2773.
svn path=/trunk/; revision=11829
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-08 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-quick-add.c (ce_have_book): mark
the dialog as changed so the save button is immediately available.
* gui/contact-editor/e-contact-editor.c (card_modified_cb): once
we save reset the change flag to false if we aren't closing the
dialog.
(card_added_cb): same.
(e_contact_editor_class_init): add a "changed" arg.
(e_contact_editor_set_arg): add setter for "changed".
(e_contact_editor_get_arg): add getter for "changed".
svn path=/trunk/; revision=11799
|
|
|
|
|
|
|
|
|
|
| |
2001-08-08 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-quick-add.c (ce_have_book): better
to assume that we can write to the local addressbook than that we
can't write to it :)
svn path=/trunk/; revision=11798
|
|
|
|
|
|
|
|
|
|
| |
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-08 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-reflow-adapter.c (open_card): new
function, used by the context menu.
(e_addressbook_reflow_adapter_right_click): put "Open" at the top
of the menu. also, disable "Delete" if the addressbook isn't
writable.
svn path=/trunk/; revision=11794
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-08 Nat Friedman <nat@ximian.com>
* evolution-contact-editor.xml: Removed Print Envelope since it's
disabled for Evolution 1.0.
* gui/widgets/e-addressbook-reflow-adapter.c (print_envelope): If 0'd out
since Envelope printing is disabled for 1.0.
* gui/widgets/e-addressbook-view.c (print_envelope): Likewise.
* gui/contact-editor/e-contact-editor.c (print_envelope_cb): Likewise.
* gui/widgets/e-addressbook-reflow-adapter.c
(e_addressbook_reflow_adapter_right_click): Removed "Print
Envelope" menu item.
* gui/widgets/e-addressbook-view.c (table_right_click): Likewise.
* gui/contact-editor/e-contact-editor.c (verbs): Likewise.
svn path=/trunk/; revision=11780
|
|
|
|
|
|
|
|
|
| |
2001-08-07 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-storage.c (remove_ldap_folder): ifdef
this HAVE_LDAP.
svn path=/trunk/; revision=11763
|
|
|
|
|
|
|
|
|
|
| |
2001-08-07 Chris Toshok <toshok@ximian.com>
* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_init): set the title of the window to
"Advanced Search".
svn path=/trunk/; revision=11761
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-07 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (search_cb): pass view->view instead
of the EBook.
(addressbook_search_menu_items): remove E_FILTERBAR_ADVANCED.
(addressbook_menu_activated): remove E_FILTERBAR_ADVANCED.
(addressbook_search_option_items): add "Advanced..." here.
(addressbook_query_changed): add special handling for Advanced...
* gui/search/e-addressbook-search-dialog.h (struct
_EAddressbookSearchDialog): add EAddressbookView and remove the
model/adapter fields. Also fix prototype of
e_addressbook_search_dialog_new.
* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_class_init): get rid of
set_arg/get_arg.
(button_press): set the query on the EAddressbookView, and always
close the dialog.
(e_addressbook_search_dialog_init): get rid of the minicard view,
and pack the other widgets accordingly.
(e_addressbook_search_dialog_new): pass EAddressbookView instead
of EBook.
(e_addressbook_search_dialog_destroy): remove model/adapter stuff.
svn path=/trunk/; revision=11760
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-07 Chris Toshok <toshok@ximian.com>
[ Fixes bug #5066 ]
* gui/component/addressbook-storage.c (remove_ldap_folder): new
function, remove the source.
(register_storage): connect to the "remove_folder" signal so we
know when to remove the folder.
svn path=/trunk/; revision=11756
|
|
|
|
|
|
|
|
|
|
| |
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-08-07 Jason Leach <jleach@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_init): Make the OK button the keyboard default
instead of Cancel. Bug #4942.
svn path=/trunk/; revision=11732
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-03 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_hookup_shell_listener): Check for storage != NULL
here. This shouldn't come up unless addressbook has crashed
previously within this session of evolution, but this is just a
bit of insurance.
svn path=/trunk/; revision=11644
|
|
|
|
|
|
|
|
|
|
| |
2001-08-03 Jason Leach <jleach@ximian.com>
* gui/component/addressbook-storage.c (load_source_data): Update
for EvolutionStorage API changes.
(addressbook_storage_add_source): Ditto.
svn path=/trunk/; revision=11634
|
|
|
|
|
|
|
|
|
| |
2001-08-03 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-view.c (jump_to_letter): Made this
change the query based on which letter is clicked.
svn path=/trunk/; revision=11627
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-03 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook.c (addressbook_factory_new_control):
Fixed warnings here.
* gui/component/select-names/e-select-names-completion.c
(hash_cleanup_fn): Removed this unused function.
svn path=/trunk/; revision=11613
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-02 Jon Trowbridge <trow@ximian.com>
* printing/Makefile.am (ecpsdir): Add camel dependency.
* gui/component/Makefile.am: Add camel dependency.
* backend/ebook/Makefile.am: Add camel dependency.
* gui/component/addressbook-factory.c (main): Properly init camel.
* backend/ebook/e-destination.c (e_destination_clear_strings):
Clear ->raw.
(e_destination_is_empty): We aren't empty if ->raw is set..
(e_destination_set_raw): Replaces e_destination_set_string.
(e_destination_get_name): Use camel's parser to extract the name
from ->raw.
(e_destination_get_email): Use camel's parser to extract the email
address from ->raw.
(e_destination_get_address): Use camel to produce properly quoted,
RFC-compliant addresses. Thanks camel! (Bug #5860)
* gui/component/select-names/e-select-names-completion.c
(emailify_match): Always append an e-mail address, as long as it
doesn't have one already at it's beginning or end. Don't limit
self to just emailifying entries tied to cards with multiple
addresses. (I didn't really want to do this, but people seem to
like keeping multiple cards for the same person, and other
solutions (like scanning all matches for duplicate names, and only
emailifying those) just seemed like way too much work for such a
limited payoff.)
* gui/component/select-names/e-select-names-text-model.c:
s/e_destination_set_string/e_destination_set_raw/.
* gui/component/select-names/e-select-names-popup.c
(popup_menu_card): Quote _'s in our popup menus, so that "foo_bar"
doesn't get displayed as "foobar" w/ the 'b' underlined. (Bug
#5558)
(popup_menu_nocard): Ditto.
2001-08-02 Jon Trowbridge <trow@ximian.com>
* Makefile.am: Added camel dependency (now needed by ebook).
2001-08-02 Jon Trowbridge <trow@ximian.com>
* gui/Makefile.am: Added camel dependency (now needed by ebook).
2001-08-02 Jon Trowbridge <trow@ximian.com>
* Makefile.am: Added camel dependency (now needed by ebook).
svn path=/trunk/; revision=11602
|
|
|
|
|
|
|
|
|
|
| |
2001-08-02 Jason Leach <jleach@ximian.com>
* gui/component/addressbook.c (addressbook_factory_new_control):
Removed some extra padding and pack the addressbook view into a
frame with inward shadowing, just because it looks prettier.
svn path=/trunk/; revision=11585
|
|
|
|
|
|
|
|
|
|
| |
2001-08-02 Jason Leach <jleach@ximian.com>
* evolution-contact-editor.xml: Update the updated Save, Save As,
and Print icons for menus and the toolbar. Also added a Close
button to the toolbar and some other fixes suggested in #5518.
svn path=/trunk/; revision=11584
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-02 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook.c: Added ContactsSaveAsVCard,
ContactsSendContactToOther, and ContactsSendMessageToContact verbs
here.
* gui/widgets/e-addressbook-view.c (e_addressbook_view_save_as,
e_addressbook_view_send, e_addressbook_view_send_to): New
functions to allow outside users to cause the addressbook to save,
send, or send a message to its selection.
svn path=/trunk/; revision=11567
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-01 Christopher James Lahey <clahey@ximian.com>
* gui/contact-editor/Makefile.am: Added file-exists.glade.
* gui/contact-editor/e-contact-save-as.c (file_exists),
gui/contact-editor/file-exists.glade: Added a dialog to ask the
user whether to replace an already existing file. Mostly from a
patch by Jos Dehaes. Fixes Ximian bug #2231.
svn path=/trunk/; revision=11540
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-30 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/evolution-vcard-importer.c: Added #include
<e-util/e-path.h>.
2001-07-23 Zbigniew Chyla <cyba@gnome.pl>
* gui/component/addressbook-config.c (addressbook_source_dialog):
Convert translated string to UTF8 before calling put_html.
svn path=/trunk/; revision=11496
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-30 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_do_query): Properly handle the case
where our "cleaned" completion is the empty string. This happens,
for example, if the query text is the string "\"". (Bug #5610).
* backend/ebook/e-destination.c (e_destination_get_address_textv):
Reassure fejj that I'm not doing something stupid here.
(e_destination_get_address): Fix address quoting. This is a
stop-gap measure until I can change this code to use Camel's
superior address-handling routines. (Also Bug #5610)
svn path=/trunk/; revision=11487
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-30 Jason Leach <jleach@ximian.com>
* gui/component/addressbook-storage.c (load_source_data): Fix a
return value bug, to make it so if it fails to load an
addressbook-sources.xml file (either a parse error or it doesn't
exist for example), it deregisters the storage.
(register_storage): Don't make a storage for users who don't have
LDAP support built in. Bug #1950.
svn path=/trunk/; revision=11476
|
|
|
|
| |
svn path=/trunk/; revision=11473
|
|
|
|
|
|
|
|
|
|
| |
2001-07-26 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c: Fixing a
small, stupid mistake; use e_select_names_model_get_textification
for the getter for "text".
svn path=/trunk/; revision=11423
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-26 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card.c: Removed some debugging chatter.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_create_entry): Store the completion
handler in the entry's object data.
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Added support for getting "destinations"
and "allow_contact_lists" properties.
(entry_set_property_fn): Added support for setting "destinations"
and "allow_contact_lists" properties.
(impl_SelectNames_get_entry_for_section): Added definitions for
"destinations" and "allow_contact_lists" properties.
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_get_match_contact_lists): Added.
(e_select_names_completion_set_match_contact_lists): Added.
Controls whether contact lists are offered as options during
completion.
(book_query_process_card_list): Check if match_contact_lists
is set before (duh!) matching on a contact list.
(e_select_names_completion_init): Set match_contact_lists
to TRUE by default.
2001-07-26 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients): Get "destinations",
rather than "text" from the entry_widget. (The getters/setters in
the control have been made more symmetric.)
svn path=/trunk/; revision=11422
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-25 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (e_destination_get_name): Properly dup
the results of e_destination_get_email.
* gui/component/select-names/e-select-names-popup.c
(e_select_names_popup): Check that our destination isn't empty
before building our popup. (Bug #5250)
* backend/ebook/e-destination.c (e_destination_is_empty): Made
argument const.
svn path=/trunk/; revision=11395
|
|
|
|
|
|
|
|
|
|
| |
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 Jason Leach <jleach@ximian.com>
* gui/merging/e-card-duplicate-detected.glade: "_Add Anyway"
to "Add Anyway".
svn path=/trunk/; revision=11359
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-24 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (wants_html_changed): call
widget_changed.
(phone_entry_changed): same.
(email_entry_changed): same.
(address_text_changed): same.
(name_entry_changed): same.
(company_entry_changed): same.
(widget_changed): new function that we can either call or set as a
signal to change the "changed" flag on the dialog.
(set_entry_changed_signals): connect lots of "changed" signals on
widgets to widget_changed.
(add_lists): connect "changed" to widget_changed.
svn path=/trunk/; revision=11355
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-24 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_hookup_shell_listener): Check if
evolution_shell_client_get_local_storage returns CORBA_OBJECT_NIL,
which it should never do. If it does, print a warning in a dialog
and try to recover w/o crashing. (Bug #5193)
svn path=/trunk/; revision=11350
|
|
|
|
|
|
|
|
| |
the ShellComponent interface. Updated the EvolutionShellComponent
GTK+ wrapper and all the component accordingly. Get the calendar to
use this so it can delete both tasks and calendar folders.
svn path=/trunk/; revision=11300
|
|
|
|
|
|
|
| |
use it, so that e.g. you cannot create a folder of type "mailstorage"
or "vtrash".
svn path=/trunk/; revision=11298
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-18 Chris Toshok <toshok@ximian.com>
[ patch contributed by Jos Dehaes <jos.dehaes@bigfoot.com> ]
* gui/component/addressbook-storage.c (register_storage): new
function, register our evolution_storage.
(addressbook_storage_setup): remove storage registration from
here.
(load_source_data): register the storage here before we load
addressbook-sources.xml, and deregister it if there are no sources
listed.
(addressbook_storage_remove_source): unregister the storage if the
list of sources hits 0 length.
svn path=/trunk/; revision=11217
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-17 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_queue_response): Hold a reference to our
listener while the idle function is active.
(e_book_view_listener_check_queue): Only unref the listener when
the idle function is finished.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_clicked): Instead of replacing section->model with
source, copy source onto section->model with
e_select_names_model_overwrite_copy. #if 0/#endif out all of the
stuff related to ETextModels, because it doesn't make any sense to
me, and everything appears to work without it.
(Die bug #2059. Die! Die! Die!)
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_overwrite_copy): Added. Copies the contents
of one ESelectNamesModel onto another.
* backend/ebook/e-destination.c (e_destination_copy): Made the argument
const.
svn path=/trunk/; revision=11165
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-17 Christopher James Lahey <clahey@ximian.com>
* gui/contact-editor/contact-editor.glade,
gui/merging/e-card-duplicate-detected.glade,
gui/merging/e-card-merging-book-commit-duplicate-detected.glade,
printing/e-contact-print.glade: Patch from Taylor Hayward
<thayward@gjpc.com>. Added accelerators to a few dialogs.
svn path=/trunk/; revision=11153
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-16 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/Evolution-Addressbook-SelectNames.idl:
Added addSectionWithLimit to the SelectNames interface.
* gui/component/select-names/e-select-names-bonobo.c
(impl_SelectNames_add_section_with_limit): Added. Implements
addSectionWithLimit.
(e_select_names_bonobo_construct): Set up as a BonoboEventSource.
(init): Listen for "changed" signals from our manager.
(manager_changed_cb): Notify our listeners if we get a changed
signal from our manager.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_class_init): Added a "changed" signal".
(section_copy): Propogate the signal connection.
(section_free): Disconnect the changed handler.
(e_select_names_manager_add_section_with_limit): Connect to the
new section's model, listening for changes.
(e_select_names_manager_activate_dialog): Connect to the "working
copy" model, listening for changes.
(e_select_names_manager_add_section_with_limit): Added.
(e_select_names_manager_add_section): Changed to just be a special
case of e_select_names_manager_add_section_with_limit.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_set_limit): Added. Allows a max number of
names allowed in the model.
(e_select_names_model_get_limit): Added. Returns the limit.
(e_select_names_model_at_limit): Added. Returns TRUE if the
model is "full".
(e_select_names_model_insert): Check that we aren't at the
limit before inserting. Silently return if we are.
(e_select_names_model_append): Check that we aren't at the
limit before appending. Silently return if we are.
svn path=/trunk/; revision=11150
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-16 Chris Toshok <toshok@ximian.com>
[ Fix bug #4705 - LDAP storage gets saved with corrupted binddn]
* gui/component/addressbook-config.c (addressbook_dialog_apply):
call addressbook_storage_write_sources here after we're done
rebuilding them.
* gui/component/addressbook-storage.c
(addressbook_storage_clear_sources): don't write the source file
here.
(addressbook_storage_add_source): same.
(addressbook_storage_remove_source): same.
(addressbook_storage_write_sources): new function, write the
source file out.
(addressbook_source_copy): g_strdup the binddn so we don't end up
free'ing it multiple times thanks to copies freeing theirs.
* gui/component/addressbook-storage.h: add prototype for
address_storage_write_sources.
svn path=/trunk/; revision=11146
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-15 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-destination.c (e_destination_set_string):
Commented out some unused variables and labels.
(e_destination_importv): Check for the xml not parsing correctly
and just return NULL here.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_import_destinationv): Handle a NULL destv
here.
svn path=/trunk/; revision=11112
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-15 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-view.c (table_drag_data_get): Added a
call to e_table_view_to_model_row here.
(e_addressbook_view_can_print, e_addressbook_view_can_delete,
e_addressbook_view_can_copy): If the selection model is NULL here,
return NULL (this was done before in a g_return_val_if_fail which
is only conditionally included.)
svn path=/trunk/; revision=11110
|
|
|
|
|
|
|
|
|
| |
2001-07-13 Christopher James Lahey <clahey@ximian.com>
* gui/contact-editor/contact-editor.glade: Changed Company to
Organization here.
svn path=/trunk/; revision=11078
|
|
|
|
|
|
|
|
|
| |
2001-07-12 JP Rosevear <jpr@ximian.com>
* gui/component/addressbook-config.glade: add accelerators,
taylor's patch
svn path=/trunk/; revision=11038
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-11 Jason Leach <jleach@ximian.com>
* gui/component/select-names/e-select-names.c (remove_cb): Added
some comments for clarity and fixed a pretty noticable bug with
how right click "Remove" was deleting more than it should with
consecutive runs.
svn path=/trunk/; revision=11004
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-10 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-file.c (pas_backend_file_load_uri): Set
bf->priv->file_db before calling do_create.
2001-07-06 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook-component.c (factory_fn): Fixed order
of arguments to evolution_shell_component_new.
svn path=/trunk/; revision=10949
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-08 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_insert_length): Check that str isn't
the empty string before doing an insert.
* backend/ebook/e-destination.c (e_destination_set_string): We were
being too smart for our own good here, and causing problems for
the completion code... (bug #4253, bug #4255, bug #4280)
(e_destination_set_name): Clear any cached address.
(e_destination_set_email): Clear any cached address.
(e_destination_get_address): Handle the cases where the name
contains some e-mail information.
svn path=/trunk/; revision=10901
|
|
|
|
|
|
|
|
|
| |
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/component/addressbook-component.c (populate_context_menu):
Removed. [It was just bogus testing code for the right-click menu
populating interface in the shell].
(factory_fn): Pass NULL as the PopulateContextMenuFn.
svn path=/trunk/; revision=10843
|
|
|
|
|
|
|
|
| |
* 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-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-07-02 Christopher James Lahey <clahey@ximian.com>
* gui/component/Makefile.am (evolution_addressbook_LDADD): Added
$(BONOBO_CONF_LIBS).
* gui/component/select-names/e-select-names.c
(e_select_names_create_categories),
gui/contact-editor/e-contact-editor.c (categories_clicked):
Switched to an ECategoriesMasterListWombat instead of an
ECategoriesMasterListArray here.
svn path=/trunk/; revision=10722
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-02 Christopher James Lahey <clahey@ximian.com>
* gui/contact-editor/e-contact-editor.c (categories_clicked):
Turned off wombatification of the categories master list here.
svn path=/trunk/; revision=10668
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-07-02 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card.c, backend/ebook/e-card.h: Added
related_contacts field.
* gui/component/select-names/e-select-names-model.c,
gui/component/select-names/e-select-names-model.h
(e_select_names_model_import_destinationv): Added this function.
* gui/contact-editor/contact-editor.glade: Replaced the entry here
for related contacts with a table which is filled in in the C code.
* gui/contact-editor/e-contact-editor.c,
gui/contact-editor/e-contact-editor.h (add_lists): Added a select
names entry here for the related contacts field.
* gui/widgets/Makefile.am: Removed all the test programs here
since there are circular dependencies now.
svn path=/trunk/; revision=10666
|
|
|
|
|
|
|
| |
* gui/component/e-address-popup.c (e_address_popup_construct): Marked
strings for translation.
svn path=/trunk/; revision=10628
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-30 Jon Trowbridge <trow@ximian.com>
* gui/merging/e-card-merging.c (match_query_callback): Make the
standard for considering two cards to be match stricter.
* gui/component/select-names/e-select-names-completion.c
(make_match): Use the card's use-score to set the match's
sort_major value.
(match_name): Removed obsolete code.
(e_select_names_completion_begin): Added (double) cast to make
match->score calculation come out properly.
* backend/ebook/e-card.c: Added X-EVOLUTION-LAST-USE and
X-EVOLUTION-USE-SCORE to attribute_jump_array.
(e_card_get_today): Added. A convenience routine for getting
today's date and putting it in a GDate.
(e_card_get_use_score): Added. Compute the current, time-decayed,
use-score for the card.
(e_card_touch): Increment the use-score by one; update the last
used date.
(e_card_date_to_string): Added as a convenience routine, getting
rid of some code duplication.
(e_card_get_vobject): Add handlers for X-EVOLUTION-USE-SCORE and
X-EVOLUTION-LAST-USE.
(parse_last_use): Added.
(parse_use_score): Added.
(e_card_class_init): Added args for last-use and use-score.
(e_card_get_arg): Added handlers for last-use and use-score.
o
(e_card_set_arg): Added handlers for last-use and use-score.
* backend/ebook/e-destination.c: Added pending_card_id to
EDestinationPrivate struct.
(e_destination_copy): Copy the pending_card_id.
(e_destination_is_empty): Check for a pending_card_id. We are
non-empty if we have one.
(e_destination_clear_card): Clear pending_card_id.
(e_destination_set_card): Clear pending_card_id.
(e_destination_has_pending_card): Added.
(e_destination_use_card): Added. An asynchronous way to load a
pending card and then apply a callback to it.
(build_field): Be paranoid, map our special characters to '_'.
(e_destination_export): Use EXPORT_MAX_FIELDS symbol rather than a
hard-wired array size. Added the "card" entry.
(e_destination_import): Fix bug in handling of the "name" field.
Process the "card" field.
(e_destination_touch): "Touch" and commit the ECard corresponding
to the e-mail address in the destination. (A query against the
local addressbook is actually performed, in case the destination
isn't cardified.
* backend/ebook/e-card-compare.c (e_card_compare_name): Revamp the
way E_CARD_MATCH_FOO results are mapped to comparison results.
Report better matches when the family name is matched.
svn path=/trunk/; revision=10626
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-29 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c (update_query):
Added a search field to the query here.
(e_select_names_init): Update the query on a number of signals here.
* gui/component/select-names/e-select-names.h: Added search_entry
here.
* gui/component/select-names/select-names.glade: Added the search
entry here. Added some labels. Removed the update button.
svn path=/trunk/; revision=10624
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-29 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_option_activated): Change the uri here to have
addressbook.db at the end.
* gui/component/select-names/select-names.glade: Changed the name
of the folder option menu here to match the name used in the code.
svn path=/trunk/; revision=10623
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-29 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c (update_query):
Change the query when the "Update List" button is pushed.
* gui/component/select-names/e-select-names.h: Removed
currently_selected field. Added categories_entry field.
* gui/component/select-names/select-names.glade: Added "Update
List" button.
svn path=/trunk/; revision=10622
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-29 Chris Toshok <toshok@ximian.com>
* gui/widgets/Makefile.am (INCLUDES): add EVOLUTION_IMAGESDIR
define.
* gui/widgets/e-minicard.h (struct _EMinicard): add our pixbuf and
pixbuf size.
* gui/widgets/e-minicard.c (e_minicard_init): init the icon pixbuf
and its size.
(e_minicard_destroy): unref the list_icon_pixbuf.
(e_minicard_realize): create the list_icon GnomeCanvasPixbuf.
(e_minicard_resize_children): clip the header_text by the
list_icon, and place the list_icon in the right spot.
(remodel): show the list_icon if we're a list, and hide it
otherwise.
svn path=/trunk/; revision=10596
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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
|
|
|
|
|
|
|
|
|
| |
`external_uri_schemas' attribute. Update the EvolutionShellComponent
GTK+ wrapper accordingly. Update all the components to pass a NULL
`external_uri_schemas' list when initializing themselves as
EvolutionShellComponents.
svn path=/trunk/; revision=10548
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-26 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_create_categories): Oops. Can't use the wombat
version of the master categories list yet.
svn path=/trunk/; revision=10527
|
|
|
|
|
|
|
|
|
|
|
| |
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-26 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c,
gui/component/select-names/e-select-names.h,
gui/component/select-names/select-names.glade
(e_select_names_create_categories): Added a categories combo here.
It's not used yet.
svn path=/trunk/; revision=10524
|
|
|
|
|
|
|
|
|
| |
2001-06-26 Christopher James Lahey <clahey@ximian.com>
* gui/search/addresstypes.xml: Added category searching to the
advanced search dialog here.
svn path=/trunk/; revision=10521
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-26 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-file.c (compare_category): Added
category searching to the file backend.
* gui/component/addressbook.c (addressbook_query_changed): Added
category searching to the search bar.
svn path=/trunk/; revision=10520
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-25 Jon Trowbridge <trow@ximian.com>
* gui/component/e-address-popup.c: Add a huge steaming pile of
code to handle the case of single-address merging. In other
words, if you go to "harvest" an address by right-clicking on it
in the mail viewer, and you already have a closely-matching
contact (w/ a different e-mail address), this gives you the
option of editting that contact's e-mail addresses to add the
one you just clicked on.
* backend/ebook/e-card-compare.c (match_search_info_free): It is
amazing how much better things work when you don't try to
dereference the pointer you just freed.
svn path=/trunk/; revision=10469
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-21 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-popup.c
(make_contact_editor_cb): Renamed. (The old name,
edit_contact_info_have_book_cb was a hold-over from before, when
we weren't using e_book_use_local_address_book.)
* gui/component/e-address-popup.c
(e_address_popup_schedule_refresh): A Added. We now do the name
refreshes in an idle function, rather than in the setters.
(e_address_popup_set_free_form): Added. Properly handle inputs of
the form "Foo <bar@zar.com>", extracting the name and e-mail
address.
(e_address_popup_set_name): Check to make sure that the free-form
handler shouldn't be used to handle the input. Schedule a refresh
after making any changes.
(e_address_popup_set_email): Check to make sure that the free-form
handler shouldn't be used to handle the input. Schedule a refresh
after making any changes.
(e_address_popup_name_only_matches): Temporary place-holder for
handling name-only matches.
(query_cb): If our initial query fails (and included e-mail
information), do a name-only query. This is to handle the case of
adding new e-mail addresses to existing contacts.
(e_address_popup_query): Eliminated the "common_book" crap; using
e_book_use_local_address_book instead.
* backend/ebook/e-card-compare.c (match_search_info_free): Make
sure that the ->avoid list gets properly freed.
svn path=/trunk/; revision=10374
|
|
|
|
|
|
|
|
|
| |
2001-06-20 Chris Toshok <toshok@ximian.com>
* contact-editor/e-contact-editor.c: add prototype for
close_dialog to remove warnings.
svn path=/trunk/; revision=10349
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-19 Chris Toshok <toshok@ximian.com>
* contact-editor/e-contact-quick-add.c (ce_have_book): rename
ce_book_found_fields to this, remove the fetching of fields (the
contact editor code handles that now.), and change the add_card
signal to card_added.
(card_added_cb): copied somewhat from merge_cb above. we don't
need to do the merge here, just call the callback.
* contact-editor/e-contact-editor.c (e_contact_editor_class_init):
track signal change. add book arg, and is_read_only -> editable.
(wants_html_changed): if the card isn't already changed, flag it
as such (and update the commands.)
(phone_entry_changed): same.
(email_entry_changed): same.
(address_text_changed): same.
(name_entry_changed): same.
(company_entry_changed): same.
(full_name_clicked): is_read_only -> editable.
(full_addr_clicked): same.
(card_added_cb): new function, emit our card_added signal, and
close the dialog if we're supposed to. properly deal with error
status here.
(card_modified_cb): same, modulo card_added -> card_modified.
(save_card): actually call e_card_merging_book_{add/commit}_card
instead of using a signal. Also, add a gboolean arg to tell
whether or not to close the dialog after saving the card.
(card_deleted_cb): new function, just emit our "card_deleted"
signal.
(delete_cb): actually call e_book_remove_card here, instead of
using a signal.
(tb_save_and_close_cb): call save_card with TRUE for should_close.
(e_contact_editor_init): init changed = FALSE;
(e_contact_editor_destroy): unref our book if we have one.
(e_contact_editor_new): new signature, set the "book" arg, and
call e_book_get_supported_fields here.
(supported_fields_cb): new function, show the contact editor.
(e_contact_editor_set_arg): initialize changed to FALSE when
setting the card (but *after*, since the changed callbacks will
set it to TRUE.) also, call command_state_changed if editable
changes. also handle setting "book". oh, and is_read_only ->
editable.
(command_state_changed): new function - set the state of the
commands we care about.
(e_contact_editor_get_arg): add "book" handling, and is_read_only
-> editable.
(_phone_arrow_pressed): is_read_only -> editable.
(_email_arrow_pressed): same.
(_address_arrow_pressed): same.
(enable_writable_fields): same.
(set_editable): rename set_read_only to this, and is_read_only ->
editable.
* contact-editor/e-contact-editor.h (struct _EContactEditor):
is_read_only -> editable, add a "changed" flag so we can sensitize
commands correctly, and add an EBook* arg to e_contact_editor_new
and to the EContactEditor struct. Also, change all the signals to
past tense, and send the EBookStatus in them.
* contact-editor/e-contact-editor-address.c
(e_contact_editor_address_class_init): is_read_only -> editable.
(e_contact_editor_address_set_arg): same.
(e_contact_editor_address_get_arg): same.
* contact-editor/e-contact-editor-address.h (struct
_EContactEditorAddress): same.
* contact-editor/e-contact-editor-fullname.c
(e_contact_editor_fullname_class_init): same.
(e_contact_editor_fullname_set_arg): same.
(e_contact_editor_fullname_get_arg): same.
* contact-editor/e-contact-editor-fullname.h (struct
_EContactEditorFullname): same.
* contact-editor/Makefile.am: don't build contact-editor-test now,
until contact-editor gets moved to gui/ and we can more easily
depend on the e_card_merging_* calls.
* backend/pas/pas-backend-ldap.c (ldap_error_to_response): return
CardIdAlreadyExists for LDAP_ALREADY_EXISTS.
* backend/idl/addressbook.idl: Add CardIdAlreadyExists to the
BookListener status enum.
* backend/ebook/e-book-types.h: add
E_BOOK_STATUS_CARD_ID_ALREADY_EXISTS.
* backend/ebook/e-book-listener.c
(e_book_listener_convert_status): add support for
CardIdAlreadyExists.
svn path=/trunk/; revision=10317
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-19 Jon Trowbridge <trow@gnu.org>
* contact-editor/e-contact-quick-add.c: Serious de-crufting,
removal of gtk_object_set_data() hacks, simplified by using
some of the newer ebook convenience routines, etc.
(ce_book_found_fields):
s/e_contact_editor_raise/e_contact_editor_show/, to accomodate the
small changes in the contact editor API.
svn path=/trunk/; revision=10289
|
|
|
|
|
|
|
|
|
| |
2001-06-14 Chris Toshok <toshok@ximian.com>
* contact-editor/e-contact-editor.c (delete_cb): save ourselves a
function call - call close_dialog instead of file_close_cb.
svn path=/trunk/; revision=10238
|
|
|
|
|
|
|
|
|
| |
2001-06-14 Jeffrey Stedfast <fejj@ximian.com>
* gui/component/addressbook-component.c: Set the
"expoted_dnd_types" to NULL in the folder_types.
svn path=/trunk/; revision=10237
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/select-names/e-select-names-completion.c
(search_override_check): Add a workaround for an EText bug.
(e_select_names_completion_begin): Fix up the match scoring in the
search_override case so the lines are offered in the correct
order.
svn path=/trunk/; revision=10194
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-11 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h:
Made e_card_simple_get_id return const char *.
* backend/ebook/e-card.c, backend/ebook/e-card.h: Made
e_card_get_id return const char *.
* gui/component/e-cardlist-model.c (e_cardlist_model_add): Made id
variable const here. Added a break to make it slightly more
efficient.
* gui/widgets/e-minicard.c, gui/widgets/e-minicard.h: Made
e_minicard_get_card_id return const char *.
svn path=/trunk/; revision=10183
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-11 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-compare.c, backend/ebook/e-card-compare.h
(e_card_locate_match_full): Added this function to let you do
slightly more complicated searches.
* gui/merging/e-card-merging.c (e_card_merging_book_add_card): Use
e_card_locate_match_full to check if the card exists in the book
it's being added to instead of in the default book.
svn path=/trunk/; revision=10178
|
|
|
|
|
|
|
|
|
| |
2001-06-09 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(match_name): Removed unused email variable.
svn path=/trunk/; revision=10173
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-05 Christopher James Lahey <clahey@ximian.com>
* contact-editor/e-contact-editor.c (categories_clicked): Remove
references to ECategoryMasterListWombat.
svn path=/trunk/; revision=10130
|
|
|
|
|
|
|
|
|
|
| |
2001-06-05 Jason Leach <jleach@ximian.com>
* gui/component/select-names/e-select-names.c (remove_cb): Make
this work when multiple names are selected then right
click->Remove.
svn path=/trunk/; revision=10127
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-05 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card.c (e_card_set_arg): Copy dates as they come
in.
* backend/pas/pas-backend-file.c
(pas_backend_file_changes_foreach_key, pas_backend_file_changes,
pas_backend_file_process_remove_card,
pas_backend_file_process_modify_card,
pas_backend_file_build_all_cards_list, pas_backend_file_get_vcard,
pas_backend_file_maybe_upgrade_db): memset DBTs to 0 before using
them.
(pas_backend_file_build_all_cards_list): Reindented.
* contact-editor/contact-editor.glade: Replaced GnomeDateEdits
with a custom widget that creates an EDateEdit.
* contact-editor/e-contact-editor.c: Use an EDateEdit here instead
of a GnomeDateEdit.
svn path=/trunk/; revision=10125
|
|
|
|
|
|
| |
Move an #include to the top, it's ugly to have it in the middle of the file.
svn path=/trunk/; revision=10124
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-05 Jason Leach <jleach@ximian.com>
(Fix bug #655: SelectNames doesn't let you remove addresses after
you add them)
* gui/component/select-names/e-select-names.c
(section_right_click_cb): New function, provides a popup menu
with just "Remove" in it.
(remove_cb): New callback to do the remove.
(e_select_names_add_section): Attach the "right_click" signal to
the section_right_click_cb above.
svn path=/trunk/; revision=10123
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-06-05 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(completion_handler): Change the completion handler to use the
ECompletionMatch.
* gui/component/select-names/e-select-names-completion.c
General changes to convert for ECompletionMatch use.
(emailify_match): Use extra sort keys in ECompletionMatch to let
us ensure that the primary email address is always the first
option, the secondary comes second, etc. There was no nice way to
do this previously.
(match_name): Removed code that adjusted score based on
similarities between the "real name" and the e-mail address. It
seemed like a good idea at the time, but produced unexpected and
confusing results.
svn path=/trunk/; revision=10120
|