| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-02-26 Hans Petter Jansson <hpj@ximian.com>
* util/eab-destination.c (name_and_email_cb): Move unused variable
declaration inside notyet conditional.
* printing/e-contact-print.c: Include gal/util/e-util.h
* gui/merging/eab-contact-compare.c (eab_contact_locate_match): Cast
callback to an EBookCallback.
(eab_contact_locate_match_full): Ditto.
* gui/contact-editor/e-contact-quick-add.c (quick_add_set_name):
Remove unused variable and cast 3rd arg to e_contact_set () (perhaps
this should take a gconstpointer?).
* gui/contact-editor/e-contact-editor-im.c (setup_service_optmenu):
Remove unused variable.
* gui/component/select-names/e-select-names.c (e_select_names_init):
Cast the vbox to a GtkBox.
* gui/component/addressbook-config.c (dialog_to_source): Correctly cast
the spin button to a GtkSpinButton, not a GtkEntry.
* gui/component/addressbook-component.c (load_primary_selection):
Remove unused variable.
svn path=/trunk/; revision=24898
|
|
|
|
|
|
|
|
|
| |
2004-02-24 Hans petter Jansson <hpj@ximian.com>
* gui/contact-editor/e-contact-quick-add.c (quick_add_set_name):
Port to new way of setting name in contact.
svn path=/trunk/; revision=24861
|
|
|
|
| |
svn path=/trunk/; revision=23206
|
|
|
|
| |
svn path=/trunk/; revision=22965
|
|
|
|
|
|
|
|
|
| |
2003-05-19 Anna Marie Dirks <anna@ximian.com>
* gui/contact-editor/e-contact-quick-add.c: Added HIG-appropriate
HIG-appropriate spacing, padding, accelerators. Fixes bug #41210
svn path=/trunk/; revision=21254
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-06 Chris Toshok <toshok@ximian.com>
* gui/component/e-address-popup.c (email_table_save_card_cb):
check the status, not the book, and unref the book here.
(contact_editor_cb): same.
(start_query): unref the book in the failure case.
(add_card_idle_cb): addressbook_load_default_book returns void
now.
(edit_contact_info_cb): same.
(e_address_popup_query): same.
* gui/component/addressbook.c (control_activate_cb): track change
to addressbook_load_uri return type.
(set_prop): same.
(addressbook_load_uri): return type is void now.
(addressbook_load_default_book): same.
* gui/component/addressbook.h:
addressbook_load_uri/addressbook_load_default_book return void
now.
* conduit/address-conduit.c (start_addressbook_server):
e_book_load_default_book returns void now.
* backend/ebook/e-book-util.h: track changes to return types.
* backend/ebook/e-book-util.c (e_book_load_address_book_by_uri):
fallout from change to e_book_load_uri. return type for this
function is void now too.
(e_book_use_address_book_by_uri): same.
(e_book_use_default_book): same.
(e_book_load_default_book): same.
(got_uri_book_cb): if unsuccessful and book is non-NULL, unref it
here.
(got_default_book_cb): same.
* backend/ebook/e-book.c (e_book_load_uri): no longer return a
gboolean. any error is communicated to the callback.
* backend/ebook/e-book.h: e_book_load_uri no longer returns a
gboolean (it's void.)
* backend/ebook/evolution-ldif-importer.c (ebook_create): track
change to the e_book_load_uri family of functions.
* backend/ebook/test-client-list.c (ebook_create): same.
* backend/ebook/test-client.c (ebook_create): same.
* backend/ebook/load-pine-addressbook.c (ebook_create): same.
* backend/ebook/evolution-vcard-importer.c (ebook_create): same.
svn path=/trunk/; revision=19839
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/contact-editor/Makefile.am (INCLUDES): Remove some cruft.
rename ICONSDIR to IMAGESDIR.
(images_DATA): Install arrow.png in imagesdir instead of
privdatadir.
* gui/contact-editor/e-contact-quick-add.c: #include <string.h>
* gui/contact-editor/e-contact-editor.c: #include <string.h>
(e_contact_editor_init): s/EVOLUTION_ICONSDIR/EVOLUTION_IMAGESDIR/
(e_contact_editor_new): s/gtk_object_ref/g_object_ref/
(_replace_button): Look in imagesdir, not privdatadir
(_phone_arrow_pressed): Remove call to deprecated
gtk_check_menu_item_set_show_toggle.
(_email_arrow_pressed): Likewise
(_address_arrow_pressed): Likewise
(set_address_field): Remove unused variable
(enable_widget):
s/gtk_entry_set_editable/gtk_editable_set_editable/
* gui/contact-editor/e-contact-editor-address.c
(e_contact_editor_address_init):
s/EVOLUTION_ICONSDIR/EVOLUTION_IMAGESDIR
(e_contact_editor_address_set_property):
s/gtk_entry_set_editable/gtk_editable_set_editable/
* gui/contact-editor/e-contact-editor-fullname.c
(e_contact_editor_fullname_init):
s/EVOLUTION_ICONSDIR/EVOLUTION_IMAGESDIR
(e_contact_editor_fullname_set_property): Likewise.
svn path=/trunk/; revision=19781
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/widgets/e-addressbook-util.c
(e_addressbook_prompt_save_dialog): Change dialog from
Yes/No/Cancel to Discard/Cancel/Save to match the HIG.
* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_init): Change dialog from OK/Cancel
to Cancel/OK to match the HIG.
* gui/contact-editor/e-contact-save-as.c (file_exists): Change
dialog from Overwrite/Cancel to Cancel/Overwrite to match the HIG.
* gui/contact-editor/e-contact-quick-add.c
(build_quick_add_dialog): Fix typo s/reponse/response/. Also
change the dialog to be Edit/Cancel/OK instead of OK/Edit/Cancel
to match the HIG.
* gui/contact-editor/e-contact-editor.c
(e_contact_editor_confirm_delete): Make alert cancel/delete
instead of delete/cancel to match the HIG.
* gui/contact-editor/e-contact-editor-fullname.c
(e_contact_editor_fullname_init): Make dialog Cancel/OK instead of
OK/Cancel to match the HIG.
* gui/contact-editor/e-contact-editor-address.c
(e_contact_editor_address_init): Make dialog Cancel/OK instead of
OK/Cancel to match the HIG.
* gui/component/select-names/e-select-names.c
(e_select_names_init): Make dialog Cancel/OK instead of OK/Cancel
to match the HIG.
svn path=/trunk/; revision=19472
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-12-18 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard.c (e_minicard_realize): drop use of
"font" arg.
(get_left_width): use pango to calculate this instead of a GdkFont.
* gui/widgets/e-minicard-view.c: drop include of e-unicode.h.
* gui/widgets/e-minicard-label.c (e_minicard_label_construct):
don't need to create the font anymore.
* gui/search/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED.
* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_new): use g_object_new instead of
gtk_type_new.
* gui/merging/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED.
* gui/contact-list-editor/Makefile.am (INCLUDES): add
-D*_DISABLE_DEPRECATED.
* gui/contact-list-editor/e-contact-list-editor.c (is_named):
strdup (or not, if we don't need to save the value) instead of
using the e_utf8 functions.
(fill_in_info): same.
* gui/contact-editor/Makefile.am (INCLUDES): add
-D*_DISABLE_DEPRECATED.
* gui/contact-editor/e-contact-save-as.c (e_contact_save_as):
strdup (or not, if we don't need to save the value) instead of
using the e_utf8 functions.
(e_contact_list_save_as): same.
* gui/contact-editor/e-contact-quick-add.c (clicked_cb): strdup
(or not, if we don't need to save the value) instead of using the
e_utf8 functions.
(build_quick_add_dialog): same.
* gui/contact-editor/e-contact-editor.c (phone_entry_changed):
strdup (or not, if we don't need to save the value) instead of
using the e_utf8 functions.
(file_as_set_style): same.
(name_entry_changed): same.
(full_name_clicked): same.
(categories_clicked): same.
(set_field): same.
(fill_in_field): same.
(fill_in_single_field): same.
(extract_field): same.
(extract_single_field): same.
* gui/contact-editor/e-contact-editor-fullname.c (extract_field):
just strdup, it's already utf8.
* gui/contact-editor/e-contact-editor-address.c (extract_field):
they're all entries, use GTK_ENTRY foo here.
* gui/component/select-names/Makefile.am (INCLUDES): add
-D*_DISABLE_DEPRECATED.
* gui/component/select-names/e-select-names.c
(e_select_names_add_section): remove the extra
utf8_from_locale_string stuff.
* gui/component/select-names/e-select-names-popup.c
(set_uiinfo_label): gtk_container_children ->
gtk_container_get_children, and remove the extra utf8 stuff.
* gui/component/Makefile.am (INCLUDES): add
-D*_DISABLE_DEPRECATED.
* gui/component/addressbook-storage.c
(addressbook_storage_init_source_uri): g_string_sprintfa ->
g_string_append_printf.
* gui/component/addressbook-config.c (focus_help):
gtk_notebook_set_page -> gtk_notebook_set_current_page.
(addressbook_source_dialog_set_source): same.
(auth_optionmenu_activated): gtk_container_children ->
gtk_container_get_children.
(ssl_optionmenu_activated): same.
(ssl_optionmenu_selected): same, and gtk_notebook_set_page ->
gtk_notebook_set_current_page.
(scope_optionmenu_activated): same.
(set_advanced_button_state): same.
(addressbook_ldap_init): hook "response" to gtk_widget_destroy to
make the dialog go away when clicked.
(addressbook_ldap_auth): same.
(addressbook_root_dse_query): same.
(do_ldap_root_dse_query): same.
(addressbook_config_control_new): fix return type and cast.
(main): remove call to gtk_widget_push_visual.
* gui/component/addressbook-config.h:
addressbook_config_control_new returns a BonoboObject, not a
BonoboControl.
* gui/component/addressbook.c: remove e-unicode.h include.
* backend/pas/Makefile.am (INCLUDES): Add
-DLIBGNOME_DISABLE_DEPRECATED.
* backend/ebook/Makefile.am (INCLUDES): Add
-DLIBGNOME_DISABLE_DEPRECATED.
* backend/ebook/e-card.c (e_card_get_property): remove misleading
comment.
svn path=/trunk/; revision=19160
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-26 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-quick-add.c: add include for
gtkstock.h.
* gui/contact-list-editor/e-contact-list-model.c
(e_contact_list_model_add_destination): add pre_change call.
(e_contact_list_model_remove_row): same.
(e_contact_list_model_remove_all): same.
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_new): ref/sink the contact list editor so
we don't get the floating unref warning from gtk.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_new):
ref/sink the contact editor so we don't get the floating unref
warning from gtk.
(e_contact_editor_init): use g_build_filename instead of
g_concat_dir_and_file.
* gui/widgets/e-minicard-label.c
(e_minicard_label_resize_children): use MAX (value, 0) to make
sure we aren't passing negative values for clip-widths.
* gui/widgets/e-minicard.c (e_minicard_realize): use MAX (value,
0) to make sure we aren't passing negative values for widths.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
use g_build_filename.
svn path=/trunk/; revision=18946
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor-address.[ch]: port work.
* gui/contact-editor/e-contact-editor-fullname.[ch]: port work.
* gui/contact-editor/e-contact-editor.[ch]: port work.
* gui/contact-editor/e-contact-quick-add.c: port work.
* gui/contact-editor/e-contact-save-as.c: port work.
svn path=/trunk/; revision=18667
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c: more porting work.
* e-contact-editor-fullname.[ch]: more porting work.
* e-contact-editor.c: more porting work.
* e-contact-quick-add.c: more porting work.
* e-contact-save-as.c: more porting work.
* test-editor.c: more porting work.
* e-contact-editor-confirm-delete.glade, file-exists.glade,
fulladdr.glade, fullname.glade: run these through
libglade-convert.
svn path=/trunk/; revision=18663
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/.cvsignore: ignore the marshal generated
stuff.
* gui/contact-editor/Makefile.am: typical port stuff. add
marshaller generation foo, dist it...
* gui/contact-editor/e-contact-editor-address.[ch]: Port to GObject/gnome2.
* gui/contact-editor/e-contact-editor-fullname.c: Port to GObject/gnome2.
* gui/contact-editor/e-contact-editor.c: Port to GObject/gnome2.
* gui/contact-editor/e-contact-quick-add.c: Port to GObject/gnome2.
* gui/contact-editor/e-contact-save-as.[ch]: Port to GObject/gnome2.
* gui/contact-editor/test-editor.c: Port to GObject/gnome2.
svn path=/trunk/; revision=18589
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-27 Chris Toshok <toshok@ximian.com>
[ fixes #27521 ]
* gui/contact-editor/e-contact-quick-add.c (editor_closed_cb):
always unref the contact editor when we get the editor_closed
signal.
svn path=/trunk/; revision=18255
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-11 Chris Toshok <toshok@ximian.com>
[ fixes the other half of #17336 ]
* gui/contact-editor/e-contact-quick-add.c (quick_add_set_name):
parse the name when we're asked to set it, so the full name
doesn't get stored as (potentially) "Last, First" in the card.
svn path=/trunk/; revision=18051
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
svn path=/trunk/; revision=14211
|
|
|
|
|
|
| |
explicitly.
svn path=/trunk/; revision=14188
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-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-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-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-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-04-21 Jon Trowbridge <trow@ximian.com>
* contact-editor/e-contact-quick-add.c (clicked_cb): Properly
convert to utf8. (Bug #2256)
(build_quick_add_dialog): Properly convert from utf8. (Bug #2256)
svn path=/trunk/; revision=9485
|
|
|
|
|
|
|
|
|
| |
2001-03-29 Kjartan Maraas <kmaraas@gnome.org>
* *.*: Clean up #includes. Replace <gnome.h>, <bonobo.h> and
<gtk/gtk.h> with more finegrained headers where needed.
svn path=/trunk/; revision=9026
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-15 Jon Trowbridge <trow@ximian.com>
* gui/component/e-address-widget.c: Added addressbook querying and
"cardification" functions, which are turned off by default for now
because of addressbook bugs. Added a popup menu option to turn
queries on, so that others can enjoy the thrill of massive flaming
death.
* gui/component/addressbook-factory.c (main): Made warnings always
be fatal.
* backend/pas/pas-book-view.c: Added some debugging spew.
* backend/pas/pas-backend-file.c (pas_backend_file_search): Added
a little experimental code to try to make file searches scale
better. #if 0/#endif-ed out for now.
* contact-editor/e-contact-quick-add.c: #included e-book-util.h.
* backend/ebook/e-card.c (e_card_name_match_string): Added.
Looser name-matching function.
(e_card_email_match_string): Added. Loose e-mail matching.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_check_queue): Added code to cause us to
abort rather than get trapped in a 100%-CPU-consuming loop in
certain situations. Now we just need to figure out how to avoid
these situations altogether.
* backend/ebook/e-book-util.c: Added. Now contains the simple
query stuff and the open local addressbook functions.
* backend/ebook/e-book.c: Moved simple query stuff and open local
addressbook functions into e-book-util.c.
2001-03-15 Jon Trowbridge <trow@ximian.com>
* wombat.c (main): If we can't initialize a service on startup,
tell us which one before terminating.
svn path=/trunk/; revision=8754
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-12 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard.c (supported_fields_cb): add is_read_only
param.
* gui/widgets/e-minicard-view.c (supported_fields_cb): add
is_read_only param.
* gui/widgets/e-addressbook-view.c (supported_fields_cb): add
is_read_only param.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_activate_obj): add is_read_only param.
also, include a little policy here and make it TRUE, as the user
shouldn't be editting in this context anyway (imo).
* gui/component/addressbook.c (supported_fields_cb): add
is_read_only param.
* contact-editor/test-editor.c (main): add is_read_only param.
* contact-editor/e-contact-editor.c (set_read_only): new function,
that either enables or disables all the text fields, combo boxes,
and some buttons, depending on the state of is_read_only.
(e_contact_editor_class_init): add read/write arg "is_read_only".
(full_name_clicked): set the is_read_only of the fullname dialog
to the editor's.
(full_addr_clicked): same.
(e_contact_editor_new): add is_read_only param, that gets set
along with the other params.
(e_contact_editor_set_arg): add setter for is_read_only.
(e_contact_editor_get_arg): add getter for is_read_only.
(_phone_arrow_pressed): change TRUE to !editor->is_read_only for
entry.
(_email_arrow_pressed): same.
(_address_arrow_pressed): same.
(enable_writable_fields): same.
* contact-editor/e-contact-editor-fullname.c
(e_contact_editor_fullname_class_init): add read/write arg
"is_read_only".
(e_contact_editor_fullname_set_arg): add setter for is_read_only
that enables/disables all the entries/combos.
(e_contact_editor_fullname_get_arg): add getter for is_read_only.
* contact-editor/e-contact-editor-fullname.h (struct
_EContactEditorFullname): add is_read_only flag.
* contact-editor/e-contact-editor-address.c
(e_contact_editor_address_class_init): add read/write arg
"is_read_only".
(e_contact_editor_address_set_arg): add setter for is_read_only
that disables/enables all the entries/combos.
(e_contact_editor_address_get_arg): add getter for is_read_only.
* contact-editor/e-contact-editor-address.h (struct
_EContactEditorAddress): add is_read_only flag.
svn path=/trunk/; revision=8662
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-08 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-popup.c
(quick_add_cb): Switched to use e_contact_quick_add_free_form.
Removed debugging code, hopefully without introducing any bugs
in the process.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_insert_length): Fix bug with commas
inside of name/address combos. As long as the comma is inside of
quotes, it will be treated as part of the name rather than as a
break between addresses.
* gui/component/select-names/e-select-names-completion.c
(match_nickname): Use e_card_name_to_string for nickname match
strings.
(match_email): Use e_card_name_to_string for email match strings.
(e_select_names_completion_begin): Strip quotes out of query text,
so we don't produce malformed sexps.
Added William Blake quote easter egg.
* contact-editor/e-contact-quick-add.c: Further attempts to fix...
mostly unsuccessful.
(e_contact_quick_add_free_form): Added. Takes a single string
and tries to parse out (using some simple, loose rules) the
name and e-mail -- then calls e_contact_quick_add. An attempt to
get the computer to automatically Do The Right Thing.
* backend/ebook/e-book.c: Fixed some broken indentation. Yes, I'm
anal.
* gui/component/GNOME_Evolution_Addressbook.oafinfo: Added oaf_server
info for EAddressWidget.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Added oaf_server
info for EAddressWidget.
* gui/component/addressbook-factory.c (main): Add call to
e_address_widget_factory_init.
* gui/component/e-address-widget.h:
* gui/component/e-address-widget.c: Added. A little widget (and a
Bonobo control, BTW) for displaying addresses, with a left-click
menu. Used to display addresses in the mail viewer (as embedded
GtkHTML objects, replacing the text previously used). Still quite
incomplete.
2001-03-08 Jon Trowbridge <trow@ximian.com>
* mail-format.c (write_field_row_begin): Added. Table row HTML
broken out into its own function.
(write_subject): Added. Emits the proper HTML for the subject
line.
(write_field_to_stream): #ifdef-ed out of existence.
(write_address): Take a CamelInternetAddress and spit out an
<object> tag with the appropriate <param>s.
* mail-display.c (on_object_requested): Check for an "address"
object. If found, call...
(handle_embedded_address_object): ...this function, which creates
an AddressWidget bonobo control and passes in the necessary info.
I never really realized just quite how much GtkHTML kicks ass
until I figured out how to make this work.
svn path=/trunk/; revision=8607
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-06 Benjamin Kahn <xkahn@cybersites.com>
* contact-editor/e-contact-quick-add.c (clicked_cb):
Added the third argument to e_contact_editor_new. (Cheated
and send NULL for the field argument, which is probably
troublesome. It will be fixed soon by either clahey or
toshok.)
svn path=/trunk/; revision=8568
|
|
2001-03-06 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_replace): Fix a reference counting bug.
* gui/component/select-names/e-select-names-manager.c (popup_cb):
A callback for creating the appropriate popup by calling
e_select_names_popup.
(e_select_names_manager_create_entry): Connect popup_cb to the
entry's popup signal
* gui/component/select-names/e-select-names-popup.c: Added. Code
for popup right-click menus for recipient entries. Still a bit
incomplete.
* backend/ebook/e-destination.c (e_destination_get_email_num):
Added.
* contact-editor/e-contact-quick-add.c: Added. Some code and a
dialog for very quickly adding entries to the address book.
Still not fully working.
svn path=/trunk/; revision=8567
|