| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-06 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(open_book_cb): change prototype to fix warning, and change the
comment to read load_source instead of load_uri (which isn't what
we use anymore.)
(update_completion_books): just use our source list for this.
check the "completion" source property.
(source_list_changed): recreate the completion books.
(e_select_names_manager_init): connect to the source_list's
changed signal.
(e_select_names_manager_dispose): don't need to free the
completion_uids list anymore.
* gui/component/select-names/e-select-names-config.c
(e_select_names_config_get_completion_books,
e_select_names_config_set_completion_books,
e_select_names_config_add_notification_completion_books): remove.
* gui/component/select-names/e-select-names-config.h: remove the
completion books calls, since we can just use the source list.
* gui/component/component-factory.c (factory): create the
autocompletion control.
* gui/component/autocompletion-config.[ch]: new config control for
selecting completion folders. Uses e-source-selector. Could
probably be beautified a bit.
* gui/component/Makefile.am (libevolution_addressbook_la_SOURCES):
add autocompletion-config.[ch]
* gui/component/GNOME_Evolution_Addressbook.server.in.in: remove
the ldap config control server, and add the autocompletion one.
svn path=/trunk/; revision=23663
|
|
|
|
|
|
|
|
| |
2003-12-06 JP Rosevear <jpr@ximian.com>
* */Makefile.am: Remove hard coded disable deprecated flags
svn path=/trunk/; revision=23658
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-05 JP Rosevear <jpr@ximian.com>
* gui/component/select-names/select-names.glade: no more custom
widget for the selection of the search source
* gui/component/select-names/e-select-names.h: add member
* gui/component/select-names/e-select-names.etspec: update model
column
* gui/component/select-names/e-select-names.c (find_first_source):
find the first source in the list
(addressbook_model_set_source): we have the source to set directly
now
(source_selected): listen for the source item to change
(e_select_names_init): create a source option menu and hook it up
(e_select_names_dispose): destroy the source list
(e_select_names_new): do away with the config setup here
* gui/component/select-names/e-select-names-manager.h: update
members
* gui/component/select-names/e-select-names-manager.c
(update_completion_books): add books based on source uid
(config_completion_books_changed_cb): handle the completion list
changing
(config_min_query_length_changed_cb): handle minimum query length
changing
(e_select_names_manager_new): we don't do the settings stuff here
any more
(e_select_names_manager_init): do the initial set up here for the
book loaded and listen for changes
(e_select_names_manager_dispose): destroy the new stuff
* gui/component/select-names/e-select-names-config.[hc]: config
information
* gui/component/select-names/e-select-names-config-keys.h: the
config keys
* gui/component/select-names/e-select-names-bonobo.c
(impl_SelectNames_activate_dialog): do away with the shell client
stuff
* gui/component/select-names/Makefile.am: build new files
svn path=/trunk/; revision=23654
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-config.c: Do not depend on
e-folder-list.
* gui/component/select-names/e-select-names.c: Remove dependency
on evolution-folder-selector-button.
(e_addressbook_create_folder_selector): Just return a FIXME label
for now.
(folder_selected): #if 0 out.
(e_select_names_init): Do not connect.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_activate_dialog): Don't get a shell_client
arg anymore.
(load_completion_books): Stub out.
* gui/component/select-names/e-select-names.c
(e_select_names_new): Don't get an EvolutionShellClient anymore.
Don't create the folder selector button for now.
* gui/component/select-names/e-select-names.h: Remove dependency
on evolution-shell-client.
* gui/component/select-names/e-select-names-bonobo.c: Remove
dependency on evolution-shell-client.
(impl_SelectNames_activate_dialog): Stub out.
* gui/widgets/eab-gui-util.c: Remove dependency on
evolution-shell-client.
(eab_transfer_contacts): Stub out.
* gui/main.c: Do not #include <evolution-shell-client.h>.
* gui/e-itip-control.c: Do not #include
<e-folder-selector-button.h> nor <evolution-shell-client.h>.
(start_default_server): Return FALSE.
(default_server_started_cb): Do not connect the "selected" signal
on the button since it's now NULL.
(button_selected_cb): #if 0 out.
* gui/e-cal-list-view.h: Do not #include
"evolution-activity-client.h".
* gui/tasks-component.c (impl_createControls): Give an empty label
for the status bar.
* gui/e-day-view.h: Remove all deps on evolution-activity-client.
svn path=/trunk/; revision=23596
|
|
|
|
|
|
|
|
|
|
| |
2003-12-01 Rodney Dawes <dobey@ximian.com>
* Use BASE_VERSION for repo_ids and OAFIIDs
* Update killev to kill the correct versions of gnome-spell and the
GtkHTML Editor
svn path=/trunk/; revision=23543
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-01 Hans Petter Jansson <hpj@ximian.com>
* gui/component/Makefile.am (libevolution_addressbook_la_SOURCES):
Remove addressbook-storage.[ch] and new-addressbook.[ch].
* gui/component/addressbook-storage.[ch]: Removed from repository.
* gui/component/new-addressbook.[ch]: Removed from repository.
* gui/component/addressbook-component.c (load_uri_for_selection):
Set source_uid property on view control, not folder_uri.
(new_addressbook_cb): Call addressbook_config_create_new_source ().
(edit_addressbook_cb): Implement.
(fill_popup_menu_callback): Hook up edit_addressbook_cb ().
(addressbook_component_init): Create the LDAP source group.
* gui/component/addressbook-config.c (AddressbookSourceDialog):
Take out the NEW_ADVANCED_UI stuff and add ESource related vars.
(ldap_unparse_auth)
(ldap_parse_auth)
(ldap_unparse_scope)
(ldap_unparse_ssl)
(ldap_parse_ssl): Moved here from addressbook-storage.c.
(addressbook_dialog_get_source)
(addressbook_dialog_set_source)
(objectclasses_create_server_table)
(objectclasses_create_evolution_table)
(objectclasses_add_foreach)
(objectclasses_add)
(objectclasses_sever_double_click)
(objectclasses_remove_foreach)
(objectclasses_remove)
(objectclasses_evolution_double_click)
(objectclasses_restore_default)
(server_selection_model_changed)
(evolution_selection_model_changed)
(setup_objectclasses_tab): Nuke aging, unfinished NEW_ADVANCED_UI.
(add_source_clicked)
(edit_source_clicked)
(delete_server)
(delete_source_clicked)
(ldap_config_control_destroy_callback)
(ldap_config_control_apply_callback)
(sources_selection_changed)
(sources_table_row_activated)
(ldap_dialog_new)
(addressbook_dialog_create_sources_table)
(ldap_config_control_new)
(addressbook_config_control_new): Nuke config control.
(create_source_dir)
(dialog_to_source)
(dialog_to_temp_source)
(source_to_uri_parts)
(source_to_dialog)
(source_group_changed_cb)
(source_group_menu_add_groups)
(folder_page_forward)
(finish_page_back): Implement.
(addressbook_ldap_init): Take ESource instead of AddressbookSource.
(addressbook_ldap_auth): Don't take a source, not needed.
(addressbook_root_dse_query): Ditto.
(addressbook_source_dialog_destroy): Clean up destroy function.
(addressbook_add_server_druid_finish): Clean up, create ESource.
(general_tab_check): If it's not LDAP, these options don't matter.
(do_ldap_root_dse_query): Source no longer needed here.
(query_for_supported_bases): Use a temp source generated from
current dialog settings.
(display_name_page_prepare): Renamed to folder_page_prepare ().
(druid_display_name_page_modify_cb): Renamed to
druid_folder_page_modify_cb ().
(addressbook_add_server_druid): Set up source list, group selector.
Make LDAP pages optional, dependent on selected group. Use ESource.
(edit_dialog_store_change): Remove config control list stuff,
export settings to ESource.
(addressbook_edit_server_dialog): Renamed to
addressbook_config_edit_source (), which takes an ESource. Remove
config control list stuff, make LDAP pages show up only if we have
an LDAP source. Remove NEW_ADVANCED_UI cruft.
(addressbook_config_create_new_source): Just call
addressbook_add_server_druid ().
* gui/component/addressbook-config.h: Move LDAP enums here, from
addressbook-storage.h.
* gui/component/addressbook.c (control_activate_cb): uri -> source
(addressbook_view_clear): Unref source list.
(book_open_cb): Use ESource.
(load_uri_auth_cb): Renamed to load_source_auth_cb (), manipulate
ESource instead of URI.
(get_remember_password): Implement.
(set_remember_password): Implement.
(addressbook_authenticate): Use ESource properties.
(load_uri_cb): Renamed to load_source_cb (), ESource adaptation.
(addressbook_load_uri): Renamed to addressbook_load_source (), takes
ESource.
(addressbook_load_default_book): ESource adaptation.
(get_prop): folder_uri property -> source_uid property.
(set_prop): folder_uri property -> source_uid property. Find ESource
by UID.
(addressbook_new_control): Set up source_uid property and ESourceList.
* gui/component/component-factory.c (factory): Disable config control.
* gui/component/ldap-config.glade: Druid and notebook dialogs
generalized to deal with local sources as well as LDAP. This file
should probably be renamed...
* gui/component/select-names/e-select-names-manager.c
(load_completion_books): Use addressbook_load_source (). However, this
needs a bit more work to get source UIDs instead of URIs.
* gui/component/select-names/e-select-names.c
(addressbook_model_set_uri): Use addressbook_load_source (). However,
this needs a bit more work to get source UIDs instead of URIs.
svn path=/trunk/; revision=23521
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-26 JP Rosevear <jpr@ximian.com>
* gui/widgets/Makefile.am: turn on deprecated gtk and libgnomeui
stuff
* gui/component/select-names/Makefile.am: turn on deprecated gtk
stuff
* gui/contact-editor/Makefile.am: ditto
svn path=/trunk/; revision=23492
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-17 JP Rosevear <jpr@ximian.com>
* configure.in: use the server.mk file to get rules for building
versioned .server files
* */Makefile.am: use simplified rule subst
svn path=/trunk/; revision=23387
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-07 JP Rosevear <jpr@ximian.com>
* gui/widgets/Makefile.am: make sure the marshal header is in the
source list
* gui/component/select-names/Makefile.am: ditto
* gui/contact-editor/Makefile.am: ditto
* gui/contact-list-editor/Makefile.am: ditto
svn path=/trunk/; revision=23219
|
|
|
|
| |
svn path=/trunk/; revision=23215
|
|
|
|
| |
svn path=/trunk/; revision=23206
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/select-names/e-select-names-factory.c: Update
factory ID.
* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in:
Version the SelectNames server IDs by appending a "_2".
svn path=/trunk/; revision=23175
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-31 JP Rosevear <jpr@ximian.com>
* configure.in: set up vars and rules for versioning the .server
files
* Makefile.am's: use rules for versioning .server file, ensure
built files are removed before disting
svn path=/trunk/; revision=23149
|
|
|
|
| |
svn path=/trunk/; revision=22965
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ebook/Makefile.am: use EVO_MARSHAL_RULE
* backend/pas/Makefile.am: Likewise
* gui/component/select-names/Makefile.am: Likewise
* gui/contact-editor/Makefile.am: Likewise
* gui/contact-list-editor/Makefile.am: Likewise
* gui/widgets/Makefile.am: Likewise
* gui/contact-editor/e-contact-editor.c
(e_contact_editor_class_init):
s/ece_marshal/e_contact_editor_marshal/
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_class_init): Likewise for ecle_marshal
svn path=/trunk/; revision=21913
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-13 Larry Ewing <lewing@ximian.com>
* gui/component/addressbook.c:
* gui/component/e-cardlist-model.c:
* gui/component/select-names/e-select-names-text-model.c:
* gui/contact-editor/e-contact-editor.c:
* gui/contact-editor/e-contact-save-as.c:
* gui/contact-list-editor/e-contact-list-editor.c:
* gui/widgets/e-addressbook-table-adapter.c:
* gui/widgets/e-addressbook-util.c:
* gui/widgets/e-addressbook-view.c:
* gui/widgets/e-minicard-view.c:
* gui/widgets/e-minicard.c: Fix lots of leaks, update for correct
use of g_object_get. Some misc cleanups.
svn path=/trunk/; revision=21442
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-06-05 Not Zed <NotZed@Ximian.com>
** For #42691.
* gui/component/select-names/Makefile.am (%.server.in): implicit
rule for .in file.
(BUILT_SOURCES): added server_DATA.
* gui/component/Makefile.am (%.server.in): use implicit rule for
.in file.
(BUILT_SOURCES): added, just server_DATA.
(CLEANFILES): added
* backend/ebook/Makefile.am (BUILT_SOURCES): add server_DATA.
svn path=/trunk/; revision=21400
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-13 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_set_separator): strlen ->
g_utf8_strlen.
(e_select_names_text_model_insert): same.
(e_select_names_text_model_insert_length): big change, make this
work with multibyte utf8.
(e_select_names_text_model_delete): same. this could possibly use
a tighter loop + a memmove, but this works.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_get_textification): make sure our truncation
to MAX_LENGTH characters uses utf8 characters, not bytes.
(e_select_names_model_name_pos): track e-text-model change.
pos/length are now in utf8 character terms, so use g_utf8_strlen
instead of strlen.
(e_select_names_model_text_pos): same.
svn path=/trunk/; revision=21165
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-11 Chris Toshok <toshok@ximian.com>
[ fixes bug #41245 ]
* gui/component/select-names/select-names.glade: fix
spacing/border widths as per HIG.
* gui/component/select-names/e-select-names.c
(e_select_names_init): set the border width/spacing on widgets we
create here.
svn path=/trunk/; revision=21144
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-09 Jeremy Katz <katzj@redhat.com>
* printing/e-contact-print.c (e_contact_print_response): Use glib
macro to case from pointer to int.
* printing/e-contact-print-envelope.c: Add missing #include.
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_start_query): Use
E_SELECT_NAMES_COMPLETION to avoid warning
svn path=/trunk/; revision=21138
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-23 Chris Toshok <toshok@ximian.com>
[ either mostly or entirely fixes #33708 ]
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_done): new function, factor it out of
_seq_complete_cb because we need to run the same code in a couple
of places.
(e_select_names_completion_got_book_view_cb): treat an error from
a book as getting a "sequence_complete", and decrement the count
of pending complete signals.
(e_select_names_completion_got_book_view_cb): remove the increment
of pending_completion_seq from here.
(e_select_names_completion_seq_complete_cb): factor out the body
of e_select_names_completion_done from here, and call it.
(e_select_names_completion_start_query): increment
pending_completion_seq here. remove the async variable, as we can
now use pending_completion_seq for that purpose (it's > 0 iff
async would have been TRUE).
svn path=/trunk/; revision=20943
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-16 Chris Toshok <toshok@ximian.com>
[ fixes #40694 ]
* gui/component/select-names/e-select-names-bonobo.c
(control_activate_cb): just grab focus if @activate == TRUE.
we'll do all merging/unmerging in the focus handler.
(widget_focus_cb): handle the merging here.
(e_bonobo_control_automerge_ui): store off the widget (so we can
grab focus on it) and connect to "activate".
svn path=/trunk/; revision=20897
|
|
|
|
|
|
|
|
| |
2003-04-18 Rodney Dawes <dobey@ximian.com>
* gui/component/select-names/Makefile.am: Add missing -DPREFIX
svn path=/trunk/; revision=20893
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-18 Rodney Dawes <dobey@ximian.com>
[ fixes #21499 ]
* gui/component/Makefile.am:
* gui/component/addressbook.c:
* gui/component/select-names/e-select-names-bonobo.c:
* gui/contact-editor/Makefile.am:
* gui/contact-editor/e-contact-editor.c:
* gui/contact-list-editor/Makefile.am:
* gui/contact-list-editor/e-contact-list-editor.c:
Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()
* gui/Makefile.am:
* gui/calendar-commands.c:
* gui/tasks-control.c:
* gui/dialogs/Makefile.am:
* gui/dialogs/comp-editor.c:
Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()
* Makefile.am:
* e-msg-composer.c:
Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ().
Fixes bug #21499.
* Makefile.am:
* folder-browser-ui.c:
* mail-signature-editor.c:
* message-browser.c:
Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ().
Fixes bug #21499.
* Makefile.am:
* e-summary-factory.c:
Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()
* e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for
bonobo_ui_util_set_ui () [#21499]
svn path=/trunk/; revision=20888
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-09 Chris Toshok <toshok@ximian.com>
[ fixes #40727 ]
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_start_query): if the query text is
either shorter than the cached query_text or they don't match,
don't just set can_reuse_cached_cards to FALSE. we also need to
invalidate the cache.
svn path=/trunk/; revision=20780
|
|
|
|
|
|
|
|
|
|
| |
2003-04-08 Mike Kestner <mkestner@ximian.com>
* e-search-bar.c (set_option): kill an old e_utf8_gtk usage
and remove some straggling e-font.h includes.
svn path=/trunk/; revision=20769
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-07 Chris Toshok <toshok@ximian.com>
[ fixes bug #39763 ]
* gui/component/select-names/e-select-names-bonobo.c (copy_cb):
verb callback for EditCopy
(cut_cb): verb callback for EditCut.
(paste_cb): verb callback for EditPaste.
(select_all_cb): verb callback for SelectAll.
(free_closure): new function
(merge_menu_items): same
(unmerge_menu_items): same
(control_set_frame_cb): same
(control_activate_cb): same
(widget_focus_cb): same
(e_bonobo_control_automerge_ui): new function, sets up focus
signals on the widget passed in to merge/unmerge the passed in
ui/verbs.
(impl_SelectNames_get_entry_for_section): call
e_bonobo_control_automerge_ui for this entry.
svn path=/trunk/; revision=20735
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-07 Chris Toshok <toshok@ximian.com>
[ last portion of #40046 fix ]
* gui/component/select-names/e-select-names-popup.c
(remove_recipient_cb): ifdef this out to quiet the compiler.
(remove_all_recipients_cb): same.
(toggle_html_mail_cb): same.
(populate_popup_card): change the #if 0 to #if
TOO_MANY_MENU_ITEMS.
(popup_menu_list): nuke, as it's handled by populate_popup_card.
(populate_popup_nocard): rename popup_menu_nocard to this, and
implement it as in populate_popup_card.
(e_select_names_populate_popup): we don't need the card, since we
don't check if it's a list here anymore. also, remove the #if 0
surrounding the nocard case.
svn path=/trunk/; revision=20718
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Clean up
server names.
* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in:
Likewise
* backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in:
Likewise. Also mark the evolution:menu_name for i18n.
* backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in:
Likewise
svn path=/trunk/; revision=20704
|
|
|
|
|
|
|
|
|
| |
2003-04-03 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/Makefile.am (INCLUDES): add
EVOLUTION_IMAGESDIR
svn path=/trunk/; revision=20658
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-04-02 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-popup.c: change all
this around so that we populate the existing popup. This means we
get the select names popup stuff on top of the normal EEntry popup
foo.
* gui/component/select-names/e-select-names-popup.h
(e_select_names_populate_popup): rename e_select_names_popup to
this.
* gui/component/select-names/e-select-names-manager.c
(populate_popup_cb): rename popup_cb here, and
e_select_names_popup -> e_select_names_populate_popup.
(e_select_names_manager_entry_new): popup -> populate_popup.
svn path=/trunk/; revision=20654
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/select-names/e-select-names.c
(e_select_names_init): Remove folder-selector button
initialization.
(e_select_names_new): Initialize folder-selector button here,
using the passed-in EvolutionShellClient rather than depending on
a global variable.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_activate_dialog): take an
EvolutionShellClient and pass it to e_select_names_new().
* gui/component/select-names/e-select-names-bonobo.c
(impl_SelectNames_activate_dialog): get a pointer to the shell
from bonobo-activation, create a shell_client, and pass it to
e_select_names_manager_activate_dialog.
svn path=/trunk/; revision=20597
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-26 Chris Toshok <toshok@ximian.com>
[ fixes bug #34651 ]
* gui/component/select-names/e-select-names.c
(select_entry_changed): strcmp -> g_utf8_collate.
(update_query): encode the string we pass for the query.
svn path=/trunk/; revision=20541
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-23 Chris Toshok <toshok@ximian.com>
[ fixes bug #32113 ]
* backend/ebook/e-destination.h: add include_email arg to
e_destination_get_textrep.
* backend/ebook/e-destination.c (e_destination_get_textrep): add
include_email arg. if it's TRUE, and if there's an email address to
add
* gui/contact-list-editor/e-contact-list-model.c
(contact_list_value_at): use e_destination_get_textrep so we don't
display QP text, and pass TRUE for include_email.
* gui/widgets/e-minicard.c (add_field): same.
(remodel): same.
* gui/widgets/e-addressbook-treeview-adapter.c (adapter_get_value): same.
* gui/widgets/e-addressbook-table-adapter.c (addressbook_value_at): same.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_insert_length): pass FALSE for
include_email.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_get_textification): pass FALSE for
include_email.
(e_select_names_model_get_string): same.
(e_select_names_model_replace): same.
(e_select_names_model_name_pos): same.
(e_select_names_model_text_pos): same.
svn path=/trunk/; revision=20467
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-18 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-table-model.c
(e_select_names_table_model_col_count): up the column count by one
for the underline.
(e_select_names_table_model_value_at): add handling for underline.
svn path=/trunk/; revision=20355
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-18 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-section.etspec: use
alternating-row-colors="false"
* gui/component/select-names/e-select-names.h: nuke prototypes for
e_select_names_get_source/section.
* gui/component/select-names/e-select-names.c (set_book): remove
the signal disconnect from here.
(addressbook_model_set_uri): same.
(e_select_names_init): connect to the search_result signal on the
addressbook model.
(e_select_names_child_free): disconnect the changed_id signal.
(e_select_names_add_section): set the underline column so the
recipient tables look like they did when they were EEntry.
(e_select_names_add_section): store off the changed_id.
(e_select_names_get_section): nuke.
(e_select_names_get_source): nuke.
svn path=/trunk/; revision=20345
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-18 Not Zed <NotZed@Ximian.com>
* gui/component/select-names/e-select-names.c (set_book,
addressbook_model_set_uri): disconnect/keep track of search result
signal id.
(e_select_names_init): Keep track of various signals, particularly
status signal.
(e_select_names_dispose): disconnect from any signals that are
still active. Fixes crash for #38202.
svn path=/trunk/; revision=20334
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-12 Chris Toshok <toshok@ximian.com>
[ fixes bug #20210 ]
* gui/component/select-names/e-select-names-popup.c
(popup_menu_card): change "Edit Contact Info" to "View Contact
Info", as you can't always edit the contact (if the book is read
only).
(popup_menu_list): same, but for a contact list.
svn path=/trunk/; revision=20270
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-11 Chris Toshok <toshok@ximian.com>
[ fixes bug #39507 ]
* gui/component/select-names/e-select-names.c (search_result): new
function, sync the models after we do a search.
(addressbook_model_set_uri): connect to search_result.
svn path=/trunk/; revision=20260
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-11 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_init): fix compiler warnings about deprecated
functions.
(e_select_names_child_free): unref the table model.
(remove_address): re-enable.
(section_right_click_cb): this is an ETable callback now.
(e_select_names_add_section): remove a gross gross awful hack, and
make the recipient tables ETables instead EEntry's. We lose the
nice underlining, but we can add that back in as another ETable
style (like strikeout and bold), and we also fix the longstanding
scrolling problems (like bug #25148) and can finally remove
addresses by double clicking on them (which is also a bug
someplace I think.. dunno the # offhand.)
* gui/component/select-names/e-select-names-table-model.c
(clear_info): always set the count to -1, regardless of what
model->data is.
* gui/component/select-names/e-select-names-model.c: remove some
unused enums.
* gui/component/select-names/Makefile.am (etspec_DATA): add
e-select-names-section.etspec
* gui/component/select-names/e-select-names-section.etspec: new
file, spec for the To:/Cc:/Bcc: etable's in the select-names
dialog.
svn path=/trunk/; revision=20259
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-04 JP Rosevear <jpr@ximian.com>
Fixes #37881
* gui/component/select-names/e-simple-card-bonobo.c
(impl_SimpleCard_get): if we get a null value, send back the empty
string
svn path=/trunk/; revision=20159
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-03-04 JP Rosevear <jpr@ximian.com>
* gui/component/select-names/e-select-names.etspec: reflect prior
column addition
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): set the arg properly
*
gui/component/select-names/Evolution-Addressbook-SelectNames.idl:
add Icscalendar to field list
* backend/pas/pas-backend-ldap.c: add icscalendar to prop list
* backend/ebook/e-card.h: add icscalendar data member
* backend/ebook/e-card.c: add icscalendar to list and its parse
routine
(e_card_get_vobject): add icscalendar prop value
(parse_icscalendar): parse routine
(e_card_class_init): add icscalendar arg
(e_card_destroy): destroy icscalendar member
(e_card_set_arg): set icscalendar
(e_card_init): init icscalendar
(e_card_get_arg): return icscalendar
* backend/ebook/e-card-simple.c (field_data): add icscalendar
* backend/ebook/e-card-simple.h: ditto
svn path=/trunk/; revision=20153
|
|
|
|
|
|
|
| |
g_object_new().
(e_select_names_init): Explictly make the dialog modal here.
svn path=/trunk/; revision=20131
|
|
|
|
|
|
|
|
| |
remove the widget from the container using gtk_container_remove().
This fixes a bunch of crashers in all the places using the
ESelectNames widget/control.
svn path=/trunk/; revision=20127
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-27 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook.c (book_open_cb): use g_signal_connect
here, not swapped... although since we pass the widget as the
closure it really doesn't matter.
(load_uri_auth_cb): use a GtkDialog here.
(search_result): same.
* gui/component/select-names/e-simple-card-bonobo.h: add prototype
for e_simple_card_bonobo_construct to fix warning.
* gui/widgets/e-addressbook-view.c (create_alphabet): remove call
to gtk_widget_set_usize.
* gui/contact-editor/e-contact-editor-address.c
(e_contact_editor_address_init): gtk_window_set_policy =>
gtk_window_set_resizable.
* gui/contact-editor/e-contact-editor-fullname.c
(e_contact_editor_fullname_init): same.
svn path=/trunk/; revision=20095
|
|
|
|
|
|
| |
some LDADDs in the process
svn path=/trunk/; revision=19994
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-17 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_start_query): if we can complete solely
from our cached cards, call e_completion_end_search from here when
we're done.
svn path=/trunk/; revision=19925
|
|
|
|
|
|
|
|
|
| |
2003-02-16 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_entry_new): indent properly.
svn path=/trunk/; revision=19919
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-02-09 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(sexp_initials): gone.
(match_initials): gone.
(book_query_sexp): remove the primary handling.
(book_query_score): same.
* backend/ebook/e-card.c (e_card_set_property):
g_value_get_pointer => g_value_get_object for "category_list".
* backend/ebook/e-book.c (struct _EBookPrivate): add a comment.
* backend/pas/pas-backend-ldap.c (func_beginswith): performance at
the cost of a tiny bit of correctness. If the ldap server doesn't
support evolutionPerson don't query on fileAs, use sn (since
that's effectively what gets used in the display when fileAs isn't
supported.)
svn path=/trunk/; revision=19863
|
|
|
|
|
|
|
|
|
|
| |
2003-02-09 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-completion.c: lots of
changes here. should be a big performance gain. god i hope this
is finally right.
svn path=/trunk/; revision=19860
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* backend/ebook/Makefile.am (e-book-marshal.c, e-book-marshal.h):
Use different tmp file names so these rules can be executed in
parallel without interfering with each otehr.
* backend/pas/Makefile.am: Make the ORBit compilation work
properly with parallel makes (i.e. make sure it does not spawn
multiple orbit-idl processes on the same IDL file at the same
time).
* gui/component/select-names/Makefile.am: Likewise.
* backend/ebook/Makefile.am: Likewise.
svn path=/trunk/; revision=19834
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/select-names/Makefile.am (INCLUDES): Remove cruft.
(serverdir, gladedir, etspecdir): Remove definitions
* gui/component/select-names/e-select-names.c: #include <string.h>
* gui/component/select-names/e-select-names-popup.c
(init_html_mail): Remove deprecated
gtk_check_menu_item_set_show_toggle call.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_entry_free):
s/gtk_timeout_remove/g_source_remove/
svn path=/trunk/; revision=19785
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in (idldir): Define componentdir instead of
COMPONENT_DIR. Set it to $privlibdir/components instead of
$libdir/evolution-$(BASE_VERSION)/components.
* gui/component/select-names/Makefile.am (componentdir): Remove
definition; no need to set it here since it's now defined in
configure.in
* gui/component/Makefile.am (componentdir): Likewise.
* gui/Makefile.am (componentdir): Removed definition; this is now
defined in configure.in.
* Makefile.am (componentdir): Removed definition; this is now
defined in configure.in.
* Makefile.am (componentdir): Removed definition; this is now
defined in configure.in.
svn path=/trunk/; revision=19588
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/select-names/Makefile.am (gladedir): Version using
$(BASE_VERSION).
(etspecdir): Likewise.
(iconsdir): Likewise.
* gui/contact-list-editor/Makefile.am (iconsdir): Version using
$(BASE_VERSION).
(gladedir): Likewise.
* gui/merging/Makefile.am (gladedir): Version using $(BASE_VERSION).
* gui/search/Makefile.am (ruledir): Version using $(BASE_VERSION).
* gui/component/Makefile.am (INCLUDES): Update EVOLUTION_IMAGESDIR
to be versioned through $(BASE_VERSION).
* gui/widgets/e-addressbook-view.c (init_collection): Use
EVOLUTION_GALVIEWSDIR.
* gui/widgets/Makefile.am (INCLUDES): Define EVOLUTION_GALVIEWSDIR
and update EVOLUTION_IMAGESDIR.
svn path=/trunk/; revision=19551
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
2003-01-09 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-popup.c: #include
gtklabel.h, fixes an unresolved symbol.
svn path=/trunk/; revision=19387
|
|
|
|
|
|
|
|
|
|
| |
2003-01-09 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c
(e_select_names_bonobo_new): call e_select_names_bonobo_construct
on the newly created object.
svn path=/trunk/; revision=19384
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-09 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in:
comment out the factory oaf_server, and change the location of the
SelectNames controls to be
OAFIID:GNOME_Evolution_Addressbook_Factory so the normal
addressbook.so will create them.
* gui/component/select-names/Makefile.am
(libeselectnames_la_SOURCES): remove the
e-select-names-factory.[ch] stuff for the time being.
* gui/component/component-factory.c (factory): we're now (for the
time being) the factory for the select names control.
svn path=/trunk/; revision=19369
|
|
|
|
|
|
|
| |
* Makefile.am: remove idldir definition. (It's defined in
configure.in now)
svn path=/trunk/; revision=19242
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-01-01 Chris Toshok <toshok@ximian.com>
[ fixes the non-ui portion of #36183 ]
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_start_query): use the entry's
minimum_query_length instead of a constant here.
(e_select_names_completion_set_minimum_query_length): new
function, set the entry's minimum_query_length.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_entry_new): set the minimum_query length
after setting the completion books.
(read_completion_settings_from_db): rename
read_completion_books_from_db to this, and read the
minimum_query_length too.
(db_listener): rename uris_listener to this, and listen for
changes on both the uris and minimum_query_length settings.
* gui/component/select-names/e-select-names-completion.h: add
prototype for e_select_names_completion_set_minimum_query_length.
* gui/component/select-names/e-select-names-manager.h: add
minimum_query_length to struct _ESelectNamesManager.
svn path=/trunk/; revision=19199
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-12-17 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(uris_listener): oops, use strcmp, not !strcmp here.
svn path=/trunk/; revision=19149
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/e-cardlist-model.c: #include <string.h>.
* gui/component/addressbook-storage.c: #include <string.h>,
<ctype.h>, <unistd.h>.
* gui/component/addressbook-factory.c: Removed.
* gui/component/addressbook-component.c: #include
<bonobo/bonobo-main.h>, <unistd.h> and <string.h>.
(create_view): addressbook_new_control() instead of
addressbook_factory_new_control().
* gui/component/select-names/e-select-names.c
(e_addressbook_create_ebook_table): Removed unused variable.
(e_select_names_add_section): Removed unused variable.
* gui/component/select-names/e-select-names-manager.c
(focus_in_cb): Use g_source_remove() here instead of
gtk_timeout_remove().
* gui/widgets/e-minicard-control.c
(e_minicard_control_factory_init): Removed.
(e_minicard_control_control_factory): Removed.
(e_minicard_control_new): New.
* gui/component/e-address-widget.c
(e_address_widget_factory_init): Removed.
(e_address_widget_new_control): Renamed from
e_address_widget_factory_new_control(), made public.
(e_address_widget_factory): Removed.
* gui/component/e-address-popup.c (e_address_popup_new_control):
New.
(e_address_popup_factory_new_control): Removed.
(e_address_popup_factory): Removed.
(e_address_popup_factory_init): Removed.
* gui/component/addressbook-config.c
(addressbook_config_register_factory): Removed.
(addressbook_config_create_control): New.
* gui/component/addressbook-component.c
(addressbook_component_factory_init): Removed.
(addressbook_component_get_object): New.
(owner_set_cb): Do not call addressbok_config_register_factory().
* gui/component/addressbook.c (addressbook_factory_init): Removed.
(addressbook_new_control): Renamed from
addressbook_factory_new_control().
svn path=/trunk/; revision=19041
|
|
|
|
|
|
|
|
|
|
| |
2002-12-05 Jeffrey Stedfast <fejj@ximian.com>
* gui/component/select-names/e-select-names.etspec: Use collate
for sorting rather than the normal string sort. This fixes bug
#26335 without causing bug #33933 :-)
svn path=/trunk/; revision=19015
|
|
|
|
|
|
|
|
|
| |
2002-11-28 Chris Toshok <toshok@ximian.com>
[ roll forward from 1.2 branch, partial fix for #31763 ]
* gui/component/select-names/select-names.glade: add the Find
button back in.
svn path=/trunk/; revision=18956
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-26 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard.c (e_minicard_reflow): remove redundant
setting of y2.
* gui/contact-list-editor/e-contact-list-editor.c
(e_contact_list_editor_init): show the table.
* gui/component/select-names/e-select-names-completion.c: remove
an unnecessary #include.
* gui/component/addressbook-storage.c (addressbook_storage_setup):
use g_build_filename.
* gui/component/addressbook-component.c (remove_folder): use
g_build_filename.
(add_creatable_item): same.
(ensure_completion_uris_exist): same, and use the right gconf
paths for completion uris.
svn path=/trunk/; revision=18940
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-26 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(read_completion_books_from_db): use new schema for
completion/uris.
(uris_listener): same.
* gui/component/select-names/e-select-names.h: Convert to
GtkDialog from GnomeDialog.
* gui/component/select-names/e-select-names.c: Convert to
GtkDialog from GnomeDialog.
(folder_selected): use new schema for last_used_uri.
(e_select_names_init): same.
(e_select_names_set_default): use pango markup to set
bold/not-bold.
(e_select_names_add_section): don't bother creating an EEntry, we
can use pango and a normal label. This also keeps us from
wrapping "contacts ->" at the '-'.
* gui/component/apps_evolution_addressbook.schemas: new file.
* gui/component/Makefile.am: add the schema stuff.
svn path=/trunk/; revision=18939
|
|
|
|
| |
svn path=/trunk/; revision=18917
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-21 Not Zed <NotZed@Ximian.com>
* gui/component/select-names/e-select-names-bonobo.c
(entry_changed): Pass type to bonobo_ctonrol_set_property, and
also NULL terminate the valist.
* gui/component/select-names/e-select-names-text-model.c
(changed_cb): Fix signature for signal.
svn path=/trunk/; revision=18871
|
|
|
|
|
|
|
|
| |
* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in,
* gui/component/select-names/Makefile.am: Same changes as below
for the SelectNames component.
svn path=/trunk/; revision=18845
|
|
|
|
|
|
|
|
|
| |
2002-11-18 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_init): show the custom table.
svn path=/trunk/; revision=18834
|
|
|
|
|
|
|
|
|
| |
2002-11-17 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/Makefile.am (servers_DATA): oops,
missed some "oaf"'s.
svn path=/trunk/; revision=18817
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/Makefile.am: Added rule to generate
GNOME_Evolution_Addressbook.server.in from
GNOME_Evolution_Addressbook.server.in.in, substituting
@LIBEXECDIR@.
* GNOME_Evolution_Addressbook.server.in.in: Renamed from
GNOME_Evolution_Addressbook.server.in. Added @LIBEXECDIR@ before
the location of the executable.
* gui/component/select-names/select-names.glade: Ported to Glade
2.
* gui/component/select-names/recipient.glade: Ported to Glade 2.
svn path=/trunk/; revision=18794
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-12 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-editor.c (_popup_position): push_in
= FALSE, no clue why... :)
(_arrow_pressed): call g_signal_stop_emission here, seems to fix
things.
* gui/component/select-names/e-select-names.c
(e_select_names_init): fix warnings.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_activate_dialog): fix warning.
* gui/component/addressbook.c (forget_passwords_cb): remove the
PENDING_PORT ifdef.
(load_uri_auth_cb): same.
(addressbook_authenticate): same.
* gui/component/addressbook-factory.c (main): same.
* gui/component/addressbook-storage.c (load_source_data): be
silent about text nodes if they contain nothing but whitespace.
svn path=/trunk/; revision=18728
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-11 Chris Toshok <toshok@ximian.com>
* gui/widgets/test-reflow.c (destroy_callback): change signature
to that of a weak ref notify function.
(main): ::destroy -> weak_ref.
* gui/widgets/test-minicard.c (destroy_callback): change signature
to that of a weak ref notify function.
(main): ::destroy -> weak_ref.
* gui/widgets/test-minicard-view.c (destroy_callback): change
signature to that of a weak ref notify function.
(main): ::destroy -> weak_ref.
* gui/widgets/test-minicard-label.c (destroy_callback): change
signature to that of a weak ref notify function.
(main): ::destroy -> weak_ref.
* gui/widgets/e-minicard-widget.c (e_minicard_widget_init): ifdef
out the call to gnome_canvas_set_scroll_region. It doesn't seem
necessary judging from the rest of the code, and it also crashes
the addressbook if it's in.
* gui/widgets/e-minicard-widget-test.c (destroy_callback): change
signature to that of a weak ref notify function.
(main): ::destroy -> weak_ref.
* gui/widgets/e-minicard-control.c (free_struct): change signature
to that of a weak ref notify function.
(e_minicard_control_factory): ::destroy -> weak_ref.
* gui/widgets/e-addressbook-view.c (e_addressbook_view_init):
::destroy -> weak_ref.
(e_addressbook_view_print): same.
(free_closure): change signature to that of a weak ref notify
function.
(e_contact_print_destroy): same.
(invisible_destroyed): same.
* gui/widgets/e-addressbook-util.c
(e_addressbook_prompt_save_dialog): convert from GnomeDialog to
GtkDialog.
(e_addressbook_show_multiple_cards): same.
* gui/contact-list-editor/e-contact-list-editor.c
(prompt_to_save_changes): change response ids to use
GTK_RESPONSE_.
* gui/component/select-names/e-select-names-manager.c
(clear_widget): new function.
(e_select_names_manager_activate_dialog): ::destroy -> weak_ref.
* gui/component/select-names/e-select-names.c (clear_widget):
change signature to that of a weak ref notify function.
(e_select_names_init): ::destroy -> weak_ref.
* gui/component/e-address-popup.c (mini_wizard_destroy_cb): change
signature to that of a weak ref notify function.
(mini_wizard_new): ::destroy -> weak_ref.
* gui/component/addressbook-config.c
(addressbook_source_dialog_destroy): change signature to that of a
weak ref notify function.
(ldap_config_control_destroy_callback): same.
(addressbook_add_server_druid): ::destroy -> weak_ref.
(addressbook_edit_server_dialog): same.
(ldap_config_control_new): same.
* gui/component/addressbook.c (destroy_callback): change signature
to that of a a weak ref notify function.
(addressbook_factory_new_control): ::destroy -> weak_ref.
* gui/merging/e-card-merging.c (response): rename clicked to this,
and destroy the dialog here.
(match_query_callback): ::clicked -> ::response
* gui/merging/e-card-merging-book-commit-duplicate-detected.glade:
convert.
* gui/merging/e-card-duplicate-detected.glade: same.
svn path=/trunk/; revision=18719
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-model.h: parent class
is GObjectClass.
* gui/component/select-names/e-simple-card-bonobo.c
(impl_dispose): guard against multiple invocations, and chain
dispose.
* gui/component/select-names/e-select-names.c
(e_select_names_dispose): guard against multiple invocations.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_dispose): guard against multiple
invocations.
(e_select_names_text_model_set_source): fix casts.
* gui/component/select-names/e-select-names-table-model.c
(e_select_names_table_model_add_source): remove the GTK_OBJECT
cast, fixes a warning.
(clear_info): guard against multiple invocations from ::dispose.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_dispose): same.
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_dispose): same.
* gui/component/select-names/e-select-names-bonobo.c
(impl_dispose): guard against multiple invocations.
svn path=/trunk/; revision=18681
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-08 Chris Toshok <toshok@ximian.com>
* backend/ebook/e-book-util.c
(set_default_book_uri_from_config_db): prepend /apps/Evolution to
config db paths.
* gui/component/select-names/e-select-names-manager.c (read_completion_books_from_db): same.
(uris_listener): same.
svn path=/trunk/; revision=18664
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-07 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-bonobo.[ch]: more
porting work.
* gui/component/select-names/e-select-names-completion.[ch]: more
porting work.
* gui/component/select-names/e-select-names-manager.[ch]: more
porting work.
* gui/component/select-names/e-select-names-model.[ch]: more
porting work.
* gui/component/select-names/e-select-names-popup.c: more
porting work.
* gui/component/select-names/e-select-names-table-model.[ch]: more
porting work.
* gui/component/select-names/e-select-names-text-model.[ch]: more
porting work.
* gui/component/select-names/e-select-names.[ch]: more
porting work.
svn path=/trunk/; revision=18657
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-05 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-simple-card-bonobo.[ch]: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names.[ch]: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-text-model.c: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-table-model.c: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-popup.[ch]: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-model.c: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-manager.[ch]: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-factory.c: Port to
GObject/gnome2.
* gui/component/select-names/e-select-names-completion.[ch]: Port
to GObject/gnome2.
* gui/component/select-names/e-select-names-bonobo.[ch]: Port to
GObject/gnome2.
* gui/component/select-names/Makefile.am: typical port stuff. add
marshaller generation foo, dist it, and switch the .oaf to .server
* gui/component/select-names/.cvsignore: ignore the marshaller
stuff.
svn path=/trunk/; revision=18587
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/select-names/e-select-names.c
(folder_selected): Set /Addressbook/select_names_uri in the
configdb to the selected folder.
(e_select_names_init): Look for /Addressbook/select_names_uri
before /DefaultFolders/contacts_uri for the initial folder. So the
select names dialog now starts up using the same folder you used
last time, which is useful when you have an LDAP company directory
(which can't be your default contacts folder because it's
read-only).
svn path=/trunk/; revision=18416
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-10 Kjartan Maraas <kmaraas@gnome.org>
[Â Fix #7094, #7064, #7095, #31944, #31945 ]
* gui/component/Makefile.am: Hook up new etspec file.
* gui/component/addressbook-config.c: Remove ETable spec.
* gui/component/addressbook-config.etspec: New file.
* gui/component/ldap-config.glade: Fix typo.
* gui/component/select-names/e-select-names.c: Remove inline spec.
* gui/component/select-names/e-select-names.etspec: New file.
* gui/contact-list-editor/Makefile.am: Hook up etspec.
* gui/contact-list-editor/e-contact-list-editor.c: Remove inline spec.
* gui/contact-list-editor/e-contact-list-editor.etspec: New file.
* gui/widgets/Makefile.am: Hook up new spec.
* gui/widgets/e-addressbook-view.c: Remove inline spec.
* gui/widgets/e-addressbook-view.etspec: New file.
svn path=/trunk/; revision=18361
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-23 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-table-adapter.c (addressbook_destroy):
free adapter->priv.
* gui/widgets/e-addressbook-model.c (addressbook_destroy): free
model->query.
* gui/component/select-names/e-select-names-manager.c
(load_completion_books): use e_book_expand_uri here, and free the
expanded uri after calling addressbook_load_uri, plugging a leak.
* gui/component/select-names/e-select-names.c (set_book): unref
esn->model before we unref esn. fixes an edge case memory
corruption bug.
(clear_widget): utility function to set a widget's ref to NULL
when it's destroyed.
(e_select_names_init): hook the status_message, categories option
menu, and select_entry to clear_widget.
(addressbook_model_set_uri): use e_book_expand_uri.
svn path=/trunk/; revision=18292
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (folder_types): Rename
"ldap-contacts" to "contacts/ldap" and add "contacts/public".
(IS_CONTACT_TYPE): update for new types.
* gui/component/select-names/e-select-names.c
(e_select_names_init): Use "contacts/*" for selector_types.
* gui/widgets/e-addressbook-util.c (e_addressbook_transfer_cards):
Likewise.
* gui/component/GNOME_Evolution_Addressbook.oaf.in: add
"evolution:config_item:type" = "contacts/ldap" to the LDAP sources
control so it comes up by default when you open Preferences in an
LDAP folder.
svn path=/trunk/; revision=18221
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-23 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-table-adapter.c (addressbook_destroy):
free adapter->priv.
* gui/widgets/e-addressbook-model.c (addressbook_destroy): free
model->query.
* gui/component/select-names/e-select-names-manager.c
(load_completion_books): use e_book_expand_uri here, and free the
expanded uri after calling addressbook_load_uri, plugging a leak.
* gui/component/select-names/e-select-names.c (set_book): unref
esn->model before we unref esn. fixes an edge case memory
corruption bug.
(clear_widget): utility function to set a widget's ref to NULL
when it's destroyed.
(e_select_names_init): hook the status_message, categories option
menu, and select_entry to clear_widget.
(addressbook_model_set_uri): use e_book_expand_uri.
svn path=/trunk/; revision=18217
|
|
|
|
|
|
|
|
|
| |
2002-09-22 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-manager.h: oops, add
cached_folder_list to struct _ESelectNamesManager.
svn path=/trunk/; revision=18161
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-22 Chris Toshok <toshok@ximian.com>
[ Fixes #30481 ]
* gui/component/select-names/e-select-names.c
(e_select_names_init): initialize the select names dialog with the
default contacts folder.
svn path=/trunk/; revision=18160
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-22 Chris Toshok <toshok@ximian.com>
[ Fixes #28165, 29171 ]
* gui/component/select-names/e-select-names-manager.c
(uris_listener): check to see if the value has really changed.
the way the preferences dialog works is such that we'll get called
when any of the Folder Options are changed (default folders,
offline stuff, etc.) we really only want to tear down and build
back up the completion books if the autocomplete folder setting
changed.
(read_completion_books_from_db): cache the folder list, and call
load_completion_books.
(load_completion_books): new function, loads from the
cached_folder_list.
(e_select_names_manager_init): init cached_folder_list to NULL.
(e_select_names_manager_destroy): g_free (cached_folder_list).
svn path=/trunk/; revision=18154
|
|
|
|
|
|
|
|
|
|
| |
2002-09-20 Chris Toshok <toshok@ximian.com>
[ Fixes #30483 ]
* gui/component/select-names/e-select-names-completion.c
(name_style_query): argh, contains => beginswith.
svn path=/trunk/; revision=18150
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-11 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_start_query): institute an arbitrary
minimum limit on the number of characters before we actually try
to autocomplete. It's 3, btw.
svn path=/trunk/; revision=18053
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-09-04 Chris Toshok <toshok@ximian.com>
[ Fixes #29904 ]
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_activate_obj): we need to activate
either a contact list editor or contact editor depending on if
it's a list (this screams for a utility function.)
svn path=/trunk/; revision=17980
|
|
|
|
|
|
|
|
|
|
| |
2002-09-03 Mike Kestner <mkestner@ximian.com>
* gui/component/select-names/e-select-names.c (e_select_names_destroy):
unref the "without", adapter, and model, then chain up the GnomeDialog
destroy function.
svn path=/trunk/; revision=17960
|
|
|
|
|
|
|
|
|
| |
2002-08-28 Mike Kestner <mkestner@ximian.com>
* gui/component/select-names/e-select-names-completion.c : stop the
EBookViews before unreffing.
svn path=/trunk/; revision=17910
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-28 Chris Toshok <toshok@ximian.com>
[ oops, merged the .h and .glade file back to the HEAD from the
1-0 branch, but missed the .c file. ]
* gui/component/select-names/e-select-names.c (status_message): set
the status label's text.
(e_select_names_init): get the status message widget from the
glade ui.
svn path=/trunk/; revision=17889
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-28 Chris Toshok <toshok@ximian.com>
[ fixes #28897 ]
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_clear_book_data): set book_data to NULL
after clearing/freeing the list. fixes a crash.
svn path=/trunk/; revision=17887
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-19 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-manager.h: add the
listener_id slot.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_new): store off the listener_id.
(e_select_names_manager_destroy): remove the bonobo listener -
fixes a crash when modifying the completion folders after you
bring up a compose window.
(e_select_names_manager_entry_new): another random timeout change
- make the completion at 100ms.
svn path=/trunk/; revision=17815
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-19 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-book-view.c (pas_book_view_notify_complete):
take and pass the CallStatus to our listener.
* backend/pas/pas-book-view.h: change the prototype for
notify_complete to include the CallStatus.
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_seq_complete_cb): add the status arg.
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_class_init): init the search_result signal.
(e_addressbook_view_init): connect to the model's search_result
signal.
(emit_search_result): emit our search_result signal.
(search_result): call emit_search_result.
* gui/widgets/e-addressbook-view.h (struct
_EAddressbookViewClass): add the search_result signal.
* gui/widgets/e-addressbook-model.c (sequence_complete): emit both
a "search_result" as well as the "stop_state_changed" signal.
(e_addressbook_model_class_init): init the search_result signal.
* gui/widgets/e-addressbook-model.h: add search_result signal.
* gui/component/addressbook.c (search_result): pop up a dialog
telling the user why the search failed or was truncated.
(addressbook_factory_new_control): connect to the "search_result"
signal on the view.
* conduit/address-conduit.c (sequence_complete): add the status
parameter to sequence_complete.
* backend/idl/addressbook.idl: add BookViewListener_CallStatus,
and change notifySequenceComplete to take a CallStatus.
* backend/pas/pas-backend-ldap.c (create_card_handler): pass
status back in the notify_complete call.
(remove_card_handler): same.
(modify_card_modify_handler): same
(ldap_search_handler): same, and parse out the ldap return code so
we can report limits being properly.
* backend/pas/pas-backend-file.c (do_summary_query): pass status
back in the notify_complete call.
(pas_backend_file_search): same, and get rid of the
status_message, as the status is passed back properly.
(pas_backend_file_search): pass status
back in the notify_complete call.
(pas_backend_file_changes): same.
(pas_backend_file_process_create_card): same.
(pas_backend_file_process_remove_card): same.
(pas_backend_file_process_modify_card): same.
* backend/ebook/e-book-util.c (simple_query_sequence_complete_cb):
add status parameter.
* backend/ebook/e-book-view-listener.c
(e_book_view_listener_queue_status_event): change name from
_queue_empty_event, and take a status arg.
(e_book_view_listener_queue_id_event): init resp->status (to
SUCCESS).
(e_book_view_listener_queue_sequence_event): same.
(e_book_view_listener_queue_message_event): same.
(impl_BookViewListener_notify_sequence_complete): call
queue_status_event, and convert the corba status to
EBookViewStatus.
(e_book_view_listener_convert_status): new function, conver the
corba status to EBookViewStatus.
* backend/ebook/e-book-view-listener.h: add a "status" slot to
EBookViewListenerResponse.
* backend/ebook/e-book-view.h: change prototype for
sequence_complete signal.
* backend/ebook/e-book-view.c (e_book_view_do_complete_event):
sequence_complete takes a parameter now (EBookViewStatus).
(e_book_view_class_init): add the enum arg to the signal.
* backend/ebook/e-book-types.h: add EBookViewStatus enum.
svn path=/trunk/; revision=17814
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): add an "addresses" property, to get the
"Dan Winship <danw@ximian.com>" form, as opposed to "text", which
gets you what's displayed, which might be just "Dan Winship".
(entry_set_property_fn): When setting, just reuse the "text" code,
since it should properly cardify everything for us anyway.
(impl_SelectNames_get_entry_for_section): Add the property.
svn path=/trunk/; revision=17803
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-component.c (user_create_new_item_cb):
If invoked from a non-contact folder, add the contact to the
default contact folder, not the local one. If invoked from a
contact folder, don't append "addressbook.db" to the URI, let
ebook do the right thing. Fixes #28327 and #28325.
* backend/idl/addressbook.idl (CallStatus): Add NoSuchBook.
(Initially intended as part of a fix for #28327, but the other
changes make it so the error code never ends up getting used any
more, but it's still good to have.)
* gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog):
Handle NO_SUCH_BOOK.
* backend/ebook/e-book-types.h (EBookStatus): Add
E_BOOK_STATUS_NO_SUCH_BOOK.
* backend/ebook/e-book-listener.c
(e_book_listener_convert_status): add case for NoSuchBook.
* backend/ebook/e-book-util.c (e_book_load_local_address_book):
Kill this. Nothing should ever explicitly load the local
addressbook.
(e_book_use_default_book): Replaces e_book_use_local_address_book,
using the default book instead.
(e_book_default_book_open): Fall back to local contact folder on
E_BOOK_STATUS_NO_SUCH_BOOK too.
(e_book_query_address_default): Use default book, not local.
* gui/component/e-address-widget.c (query_idle_fn): Use the
default book, not the local book.
* gui/component/select-names/e-select-names-popup.c
(edit_contact_info_cb): Use the default book, not the local book.
* backend/ebook/e-destination.c (e_destination_cardify): Use the
default book, not the local book.
(e_destination_touch): Query the default book, not the local book.
* backend/ebook/e-card-compare.c (e_card_locate_match,
e_card_locate_match_full): Use the default book, not the local
book.
svn path=/trunk/; revision=17764
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-01 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.h (struct
_ESelectNames): no more search_entry.
* gui/component/select-names/e-select-names.c (update_query): no
more search_entry, search_entry => select_entry, and add file_as
to the query since some entries don't have names (like the Ximian,
Inc. default card.)
(e_select_names_init): no more search_entry, and add an "activate"
handler on select_entry that updates the query.
svn path=/trunk/; revision=17682
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-01 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.h (struct
_ESelectNames): remove folders and folders_by_uri, and the 2
listeners.
* gui/component/select-names/e-select-names.c
(e_select_names_destroy): remove the hash_table_destroys of
folders and folders_by_uri, since they no longer exist. same for
other_contacts_listener and local_listener.
svn path=/trunk/; revision=17681
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-16 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/select-names.glade: remove the option
menu and browse button, and add a custom widget placeholder for
the folder-selector.
* gui/component/select-names/e-select-names.c
(addressbook_model_set_uri): move the "append /addressbook.db"
stuff here.
(e_addressbook_create_ebook_table): remove the code setting
initial uri from here.
(e_select_names_folder_free): gone.
(e_select_names_option_activated): gone.
(add_menu_item): gone.
(update_option_menu): gone.
(new_folder): gone.
(removed_folder): gone.
(folder_browse): gone.
(hookup_listner): gone.
(add_additional_select_names_uris): gone.
(e_select_names_hookup_listners): gone.
(e_addressbook_create_folder_selector): new function, create the
folder selector button.
(folder_selected): new function, callback for the folder selector.
just calls addresbook_model_set_uri.
(e_select_names_init): get the folder selector and initialize it
to show /local/Contacts. also, set the model's uri here to the
same folder. nuke the code involving the old option menu and
browse button.
svn path=/trunk/; revision=17484
|
|
|
|
| |
svn path=/trunk/; revision=17478
|
|
|
|
|
|
|
|
|
| |
2002-07-08 Peter Williams <peterw@ximian.com>
* gui/component/select-names/Makefile.am (idl_DATA): Install the
SelectNames IDL and ancillary changes.
svn path=/trunk/; revision=17477
|
|
|
|
|
|
|
|
|
| |
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Make the
ENTRY_PROPERTY_ID_SIMPLE_CARD_LIST case not crash, although
there's still something wrong.
svn path=/trunk/; revision=17446
|
|
|
|
|
|
|
|
|
|
|
| |
2002-07-10 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_start_query): e_book_get_book_view =>
e_book_get_completion_view, so the backends have the option of
using a pregenerated summary.
svn path=/trunk/; revision=17417
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-04 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_book_ready): Commented out this unused
function.
* gui/component/select-names/e-select-names-manager.c
(open_book_cb): Ref if we're keeping the book. Don't unref if
we're not keeping the book.
(clean_cb): Commented out this unused function.
svn path=/trunk/; revision=17105
|
|
|
|
|
|
|
|
|
|
| |
2002-05-29 Anna Marie Dirks <anna@ximian.com>
* gui/component/select-names/select-names.glade: Changed some spacing
and expanding behavior to make this dialog behave more like I intended
to.
svn path=/trunk/; revision=17037
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-24 Chris Toshok <toshok@ximian.com>
[ #24189 ]
* gui/component/select-names/e-select-names-manager.c
(focus_out_cb): ifdef out the body of this because it only works
with a single completion book. not sure what to do here, but it
doesn't impact most usage scenarios.
(completion_popup_cb): same.
(e_select_names_manager_entry_new): add the books that have been
loaded successfully by the time this entry is created.
(open_book_cb): add the opened book to the entries that have
already been created, and store it in our list so that entries
that are created in the future can catch up.
(read_completion_books_from_db): slurp in the folder list from the
config db and load all the uris.
(uris_listener): listener function - when there's a change it
calls _clear_books on all the created entries, and clears our
list. It then re-reads the books from the db.
(e_select_names_manager_new): create our bonobo listener and call
read_completion_books_from_db.
(e_select_names_manager_init): init completion_books.
(e_select_names_manager_destroy): free our list of
completion_books.
* gui/component/select-names/e-select-names-manager.h: switch from
a single EBook to a GList of completion_books here.
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_add_book): deal with the case where
there's an active query (by effectively restarting it.) This is
quite a contrived edge case.
(e_select_names_completion_clear_books): stop the current query
and clear our list of books.
(e_select_names_completion_new): track change to prototype, and
axe the majority of this method since an EBook* isn't passed
anymore.
(e_select_names_completion_clear_book_data): split this code out
from the destroy method so it can be called from _clear_books.
* gui/component/select-names/e-select-names-completion.h: the
constructor no longer takes an EBook -- pass in as many as you
want using _add_book. Also, add prototype for _clear_books.
* gui/component/addressbook.c (load_uri_cb): when
storing/retrieving passwords, use the cleaned (without params)
version of the uri, so changing things like download limit don't
cause the user to be prompted for a password again.
* gui/component/addressbook-component.c
(ensure_completion_uris_exist): new function - probably doesn't
belong in this file. Make sure the basic local Contacts folder
exists in the completion uris.
(addressbook_component_factory_init): call
ensure_completion_uris_exist.
* backend/ebook/e-book-util.h: add prototype for
e_book_get_default_book_uri.
* backend/ebook/e-book-util.c (e_book_get_default_book_uri): new
function, just return the default contacts uri.
(e_book_load_default_book): change
to use e_book_get_default_book_uri.
svn path=/trunk/; revision=16999
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-05-10 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/Evolution-Addressbook-SelectNames.idl:
Added SimpleCard interface.
* gui/component/select-names/Makefile.am: Added
e-simple-card-bonobo.c and e-simple-card-bonobo.h.
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Added SIMPLE_CARD_LIST arg.
* gui/component/select-names/e-simple-card-bonobo.c,
gui/component/select-names/e-simple-card-bonobo.h: New class to
represent an ECardSimple across Bonobo.
svn path=/trunk/; revision=16757
|
|
|
|
|
|
|
|
|
| |
2002-05-09 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Added "first_email" property.
svn path=/trunk/; revision=16734
|
|
|
|
|
|
|
|
|
|
| |
2002-05-02 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c (selection_change):
Desensitize the to, cc, and bcc buttons if there's no selection
here. Fixes Ximian bug #21482.
svn path=/trunk/; revision=16671
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-26 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_child_free): Unref the text_model here instead of
the model, since the model never gets set. Removed the model
field since it's no longer used.
svn path=/trunk/; revision=16592
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-24 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 (folder_browse):
Added a "Browse..." button to switch to a different addressbook
folder.
* gui/widgets/e-addressbook-util.c (e_addressbook_transfer_cards):
Moved extern EvolutionShellClient out of this function so that
it'd be more readable.
svn path=/trunk/; revision=16574
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-23 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c,
gui/component/select-names/e-select-names.h: Coded handling of the
select_entry to search within the displayed contacts.
* gui/component/select-names/select-names.glade: Updated this
dialog to have an entry-select instead of an entry-find.
svn path=/trunk/; revision=16570
|
|
|
|
|
|
|
|
|
| |
2002-04-23 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/select-names.glade: Updated this
dialog to match the redesign.
svn path=/trunk/; revision=16569
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-22 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.h: Removed an unused
variable here.
* gui/widgets/e-addressbook-view.c (table_right_click,
table_white_space_event): Added a current view submenu to the
popup menu here.
svn path=/trunk/; revision=16561
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped required gal version number to 0.19.99.11.
From addressbook/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_create_categories): Changed this to use
ECategoriesMasterListOptionMenu.
* gui/component/select-names/e-select-names.c
(section_right_click_cb),
gui/widgets/e-addressbook-reflow-adapter.c,
gui/widgets/e-addressbook-view.c: Updated these to match the new
EPopupMenu.
From calendar/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c,
gui/dialogs/meeting-page.c: Updated these to match the new
EPopupMenu.
From mail/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* folder-browser.c, mail-display.c: Updated these to match the new
EPopupMenu.
From shell/ChangeLog:
2002-04-17 Christopher James Lahey <clahey@ximian.com>
* e-activity-handler.c: Updated this to match the new EPopupMenu.
svn path=/trunk/; revision=16498
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-11 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook-component.c: Include
addressbook-config.h here as this file uses it.
* gui/component/select-names/e-select-names.c (SPEC, SPEC2): Made
this dialog searchable by typing in the ETable.
* gui/widgets/e-addressbook-model.c: Include e-addressbook-util.h
here.
* gui/widgets/e-addressbook-reflow-adapter.c
(e_addressbook_reflow_adapter_right_click),
gui/widgets/e-addressbook-view.c (table_right_click): Fixed a
memory leak here by using "selection-done" signal.
* gui/widgets/e-addressbook-reflow-adapter.c,
gui/widgets/e-addressbook-reflow-adapter.h,
gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-view.c:
Added a right click menu for areas that aren't cards.
svn path=/trunk/; revision=16440
|
|
|
|
|
|
|
| |
* gui/component/select-names/e-select-names-text-model.c:
parent_class should be static. (From Max Horn <max@quendi.de>)
svn path=/trunk/; revision=16304
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-15 Jeffrey Stedfast <fejj@ximian.com>
* gui/widgets/e-addressbook-view.c (table_right_click): Update to
use new EPopupMenu API.
* gui/widgets/e-addressbook-reflow-adapter.c
(e_addressbook_reflow_adapter_right_click): Update to use new
EPopupMenu API.
* gui/component/select-names/e-select-names.c
(section_right_click_cb): Update to match new EPopupMenu api.
svn path=/trunk/; revision=16183
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-11 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.c (update_query):
change contains x-evolution-any-field to beginswith on email,
full_name, and nickname. faster, and more applicable to this
dialog.
svn path=/trunk/; revision=16103
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-04 Chris Toshok <toshok@ximian.com>
[fixes bug #20871]
* gui/component/select-names/select-names.glade: add the
status-message label.
* gui/component/select-names/e-select-names.h (struct
_ESelectNames): add status_message field.
* gui/component/select-names/e-select-names.c (status_message):
new function, set the label's text from the message.
(e_select_names_init): get the status-message label, and if it's
valid, connect to the status_message signal of the
EAddressbookModel.
svn path=/trunk/; revision=15913
|
|
|
|
|
|
|
|
|
| |
2002-02-13 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c (set_book): Keep a
ref of the model in this case as well.
svn path=/trunk/; revision=15716
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-02-13 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names.c (set_book): Make
sure to only set the query once when creating a new book and not
at all on addressbook model creation. This prevents an accidental
pair of changes from making the addressbook model load a remote
addressbook.
* gui/widgets/e-addressbook-model.c (get_view): If this is the
first_get_view and the addressbook is remote, empty the view
instead of leaving it in the state it used to be in. This only
occurs if you set the book after the model has existed for a
while.
(e_addressbook_model_set_arg): When setting the book, set
first_get_view to TRUE.
svn path=/trunk/; revision=15715
|
|
|
|
| |
svn path=/trunk/; revision=15486
|
|
|
|
|
|
|
|
|
| |
2002-01-15 JP Rosevear <jpr@ximian.com>
* gui/component/select-names/select-names.glade: remove misleading
title and fix spacing
svn path=/trunk/; revision=15330
|
|
|
|
| |
svn path=/trunk/; revision=15293
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-27 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(real_add_address_cb): When we clean, don't clean the model's last
element. This helps keep things working properly when we have
signal-character separators.
(section_right_click_cb): Changed to work properly with our
EText-emitted popup signal.
(e_select_names_add_section): Use ETexts for the recipient
sections, rather than tables. This lets us make them directly
editable. (Bug #1721)
* gui/component/select-names/e-select-names-popup.c
(popup_info_new): Pass in a ESelectNamesTextModel, not a
ESelectNamesModel.
(e_select_names_popup): Adjust for the new signature for
e_select_names_model_text_pos.
* gui/component/select-names/e-select-names-manager.c
(focus_out_cb): Schedule a cleaning when we focus out.
(focus_in_cb): Cancel pending cleaning when we get focus. This
helps us avoid bad things happening during the fast focus out/ins
that happen when the completion dropdown appears.
(completion_handler): Adjust for new signatures of
e_select_names_model_text_pos and e_select_names_model_name_pos.
(e_select_names_manager_entry_new): Pass in our
ESelectNamesTextModel when constructing the
ESelectNamesCompletion.
(e_select_names_manager_entry_free): Cancel any pending clean-ups.
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Get the text off of the text model.
Which is the only way that really makes sense when you think about
it.
* gui/component/select-names/e-select-names-completion.c: Added a
copy of the associated ESelectNamesTextModel to
ESelectNamesCompletionPrivate. This replaces the
ESelectNamesModel.
(e_select_names_completion_destroy): Unref ->text_model.
(e_select_names_completion_handle_request): Pass in our text
model's separator info when calling e_select_names_model_text_pos.
(e_select_names_completion_new): Pass in the text model as an arg
instead of the model, and ref it as needed.
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_init): Set separator as either ", " or
",", depending on the value of the EVOLUTION_DISABLE_MAGIC_COMMA
environment variable.
(e_select_names_text_model_destroy): Free the separator.
(changed_cb): Flush our cached text on changed.
(e_select_names_text_model_set_source): Use our own changed_cb
callback on changed, rather than just connecting up
e_text_model_changed.
(e_select_names_text_model_set_separator): Added. Lets the
separator between recipients be specified.
(e_select_names_text_model_get_text): Cache the text we get from
calling e_select_names_model_get_textification.
(e_select_names_text_model_insert_length): A bunch of small
changes to properly support generic separators, rather than
(implicit and explicitly) assuming ", ".
(e_select_names_text_model_delete): More small tweaks to handle
generic separators.
(e_select_names_text_model_get_nth_obj): Use new signature when
calling e_select_names_model_name_pos, and use our cached text.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_destroy): We don't cache the text or
addr_text anymore, so no need to free them here.
(e_select_names_model_changed): ...and no need to reset our text
and addr_text caches here.
(e_select_names_model_get_textification): Take a separator as an
arg, rather than just using ", ". Also, no caching.
(e_select_names_model_get_address_text): Take a separator as an
arg, rather than just using ", ". And no caching here either.
(e_select_names_model_clean): Add arg that give us control over
whether or not the last entry should get cleaned. We need this
when using a one-character separator, so that new destinations
that get tacked onto the end don't get immediately cleaned away
for being empty.
(e_select_names_model_name_pos): Take the separator length as an
argument, remove implicit assumption of length 2.
(e_select_names_model_text_pos): Take the separator length as an
argument, remove implicit assumption of length 2.CVS: ----------------------------------------------------------------------
svn path=/trunk/; revision=15221
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-17 Chris Toshok <toshok@ximian.com>
[ fixes bug 17355 ]
* gui/component/select-names/e-select-names.c (new_folder): if
we're dealing with an LDAP folder, prepend [LDAP] to it. Now that
we have 3 different places where folders are coming from, it helps
to be able to differentiate "Contacts" in ~/evolution and a
"Contacts" ldap server and a "Contacts" exchange folder.
(add_additional_select_names_uris): loop through the bonobo conf
settings for additional folders, adding them to the option menu.
(e_select_names_hookup_shell_listeners): call
add_additional_select_names_uris.
svn path=/trunk/; revision=15143
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-16 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c: Added
'cache_complete' flag to ESelectNamesCompletionPrivate.
(e_select_names_completion_seq_complete_cb): Set cache_complete
to TRUE if our query wasn't interrupted.
(e_select_names_completion_start_query): Set cache_complete to
FALSE at the beginning of a potentially-cached query.
(e_select_names_completion_do_query): Only reuse cached cards
if cache_complete is TRUE. (Fixes bug #10241)
svn path=/trunk/; revision=15096
|
|
|
|
|
|
|
|
|
|
| |
2001-12-07 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_entry_new): Remove a reference to code
I don't want to commit yet. :-)
svn path=/trunk/; revision=14935
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-07 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c: Extensively
refactored -- this code had gotten _really_ ugly. Untangle things
to the point where our reference counting problems are fixable.
* gui/component/select-names/e-select-names-bonobo.c
(impl_destroy): Remove all of the ugly hacks to work around our
memory management problems, and just unref the manager.
(Fixes #14412)
svn path=/trunk/; revision=14934
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-12-03 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c (focus_out_cb): Clean
ESelectNamesModel on focus-out. (Half of a fix for 15656)
* backend/ebook/e-destination.c (nonempty): Fix this function
and make it utf8-safe. (The other half of the fix for 15656)
svn path=/trunk/; revision=14855
|
|
|
|
|
|
|
|
|
|
| |
2001-11-08 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c
(impl_destroy): Explicitly destroy entries. Part of the fix for
the lingering completion window bug.
svn path=/trunk/; revision=14628
|
|
|
|
|
|
|
|
|
|
| |
2001-11-02 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c
(impl_destroy): Leak select-names related data structures until
the memory management issues get sorted out. Fixed bug #14086.
svn path=/trunk/; revision=14578
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-31 Christopher James Lahey <clahey@ximian.com>
* gui/component/e-cardlist-model.c,
gui/component/select-names/e-select-names-table-model.c,
gui/widgets/e-addressbook-table-adapter.c: Make the pre_changes
and changes match here.
svn path=/trunk/; revision=14526
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-31 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(e_select_names_destroy): Check that local_listener and
other_contacts_listener are non-NULL before
disconnecting/unrefing.
* gui/component/select-names/e-select-names-manager.c
(entry_destroyed): The entry shouldn't unref the manager.
(e_select_names_manager_create_entry): The entry shouldn't hold a
ref to the manager. It becomes circular.
(e_select_names_manager_create_entry): On the other hand, we
should hold a ref to the entry we create.
* gui/component/select-names/e-select-names-bonobo.c
(impl_destroy): Remove the explicit dialog destroy hack.
svn path=/trunk/; revision=14519
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-30 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c
(impl_destroy): Force the select names dialog to be destroyed.
This is a hack to fix bug #14002 -- I'll clean up the refcounting
issues post-freeze. At least now it won't crash.
svn path=/trunk/; revision=14495
|
|
|
|
|
|
|
|
|
| |
001-10-30 JP Rosevear <jpr@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c
(manager_ok_cb): send a null bonobo arg to prevent explosion
svn path=/trunk/; revision=14437
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c (init):
Connect to manager's "ok" signal.
(manager_ok_cb): Emit "ok" bonobo-signal.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_class_init): Added "ok" signal.
(e_select_names_clicked): Emit 'ok' signal.
svn path=/trunk/; revision=14415
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_destroy): We were using
book_data->book_view immediately after unrefing it. Reordered the
code a bit to avoid this.
svn path=/trunk/; revision=14382
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-29 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(make_match): Drop a match if either of the text fields is NULL.
This could happen if any of the utf-8 involved is invalid, for
example. (Bug #13757)
svn path=/trunk/; revision=14365
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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=14211
|
|
|
|
|
|
| |
explicitly.
svn path=/trunk/; revision=14188
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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/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-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/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-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
|
|
|
|
|
|
|
|
|
|
| |
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-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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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 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 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-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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/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-02 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-book.c (e_book_add_card, e_book_commit_card),
backend/pas/pas-backend-file.c (do_create),
backend/pas/pas-backend-ldap.c
(create_card_handler, remove_card_handler, modify_card_handler,
pas_backend_ldap_process_get_vcard, poll_ldap): Use
e_card_get_vcard_assume_utf8 instead of e_card_get_vcard here
since all internal communications and database storage are assumed
to be utf8.
* backend/ebook/e-card-simple.c, backend/ebook/e-card-simple.h
(e_card_simple_duplicate): Simplified this function considerably.
(e_card_simple_get_vcard_assume_utf8): Added this function.
* backend/ebook/e-card.c, backend/ebook/e-card.h (e_card_new,
e_card_load_cards_from_file, e_card_load_cards_from_string): Made
these functions pay attention to charset attributes.
(e_card_new_with_default_charset,
e_card_load_cards_from_file_with_default_charset,
e_card_load_cards_from_string_with_default_charset): New functions
that let you change the default charset from UTF-8.
(e_card_get_vcard): Made this write out charset attributes when
necessary.
(e_card_get_vcard_assume_utf8): New function that writes out a
card without writing out charset attributes.
* backend/ebook/evolution-vcard-importer.c (book_open_cb),
backend/ebook/load-gnomecard-addressbook.c (book_open_cb),
backend/ebook/test-card.c (main),
gui/component/addressbook-component.c
(destination_folder_handle_drop), gui/contact-editor/test-editor.c
(main), gui/contact-list-editor/e-contact-list-editor.c
(table_drag_data_received_cb), gui/widgets/e-addressbook-view.c
(selection_received), gui/widgets/e-minicard-control.c
(pstream_load): Changed the default charset to be used here to
ISO-8859-1.
* backend/ebook/load-gnomecard-addressbook.c (add_card_cb),
backend/ebook/load-pine-addressbook.c (add_card_cb),
backend/ebook/test-client-list.c (get_cursor_cb),
backend/ebook/test-client.c (get_cursor_cb, get_card_cb): Use
e_card_get_vcard_assume_utf8 to print out testing strings.
* gui/component/select-names/e-select-names-model.c,
gui/component/select-names/e-select-names-model.h
(e_select_names_model_contains): Changed this to be const
EDestination *dest to fix a warning.
* gui/contact-editor/e-contact-editor.c (e_contact_editor_init):
Translate window title here.
svn path=/trunk/; revision=12558
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-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/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-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-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-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-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/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-11 Kjartan Maraas <kmaraas@gnome.org>
svn path=/trunk/; revision=11916
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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-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 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-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-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/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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-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-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-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
|
|
|
|
| |
svn path=/trunk/; revision=10883
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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/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-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-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
|
|
|
|
|
|
|
|
|
|
| |
* 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-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-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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-31 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names.h (struct
_ESelectNames): add the EAddressbookModel* and change the
ETableModel's name to "adapter".
* gui/component/select-names/e-select-names.c (set_book),
(addressbook_model_set_uri): these two things take an
EAddressbookModel* instead of an ETableModel now.
(e_addressbook_create_ebook_table): don't case the
EAddressbookModel* to ETableModel*, create an EAddressbookTableAdapter
on the EAddressbookModel instead.
(e_select_names_init): set e_select_names->adapter.
svn path=/trunk/; revision=10072
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-20 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook-config.c
(addressbook_source_item_new): Removed an unused variable.
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Made text here non-const.
* gui/component/select-names/e-select-names-popup.c
(edit_contact_info_cb): Cast to a gpointer here.
* gui/component/select-names/e-select-names.c
(e_addressbook_create_ebook_table): Cast to E_TABLE_MODEL here.
svn path=/trunk/; revision=9902
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-18 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(match_name): Do a better job constructing match strings, so we
never try to use a segment of the name that isn't there (resulting
in ugly (null)'s in the string). Boost our score if some part of
the name also matches the front part of the e-mail address, so the
name match will always trump the e-mail match.
svn path=/trunk/; revision=9882
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-18 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Return the serialized EDestinations
(rather than just a string w/ e-mail addresses) through the bonobo
component's property bag.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_export_destinationv): Added. A convenience routine
for serializing the model's EDestinations into a string.
* gui/component/select-names/e-select-names-popup.c
(add_html_mail): Added. Puts in a check menu item for whether or
not the recipient wants HTML mail.
(popup_menu_card): Add menu item for HTML mail. Enable edit
contact info item.
(popup_menu_nocard): Add menu item for HTML mail. Enable edit
contact info item.
* backend/ebook/e-book-util.c (e_book_use_local_address_book):
Added. Fetches the local addressbook and caches it on the first
call. This is meant to be an easy and efficient way to get at the
local addressbook with the minimum of code.
(e_book_query_address_locally): Added. Convenience code that
does an e-mail only e_book_name_and_email_query against the
local address book.
* backend/ebook/e-destination.c
(e_destination_set_html_mail_pref): Added. Allows the intended
recipient's HTML mail preference to be manipulated.
(e_destination_get_email_verbose): Added. Cleaned up to use
e_destination_get_name.
(e_destination_get_html_mail_pref): Added. Read the recipient's HTML mail
preference. If the destination is linked to a card, the
preference is taken from the card (unless it has been explicitly
overridden by a called to e_destination_set_html_mail_pref).
(e_destination_get_address_textv): Added. Form a unified address string
from a NULL-terminated vector of EDestinations.
(e_destination_export): Added. Serialize an EDestination to a string.
(e_destination_import): Added. Unserialize a string to build an
EDestination.
(e_destination_exportv): Added. Serialize a NULL-terminated vector of
EDestinations to a string.
(e_destination_importv): Added. Unserialize a string to build a
NULL-terminated vector of EDestinations.
* gui/component/select-names/e-select-names-completion.c:
Implemented local versions of g_strcasecmp and g_strncasecmp
(which should really be in glib, I think...) for utf8, and used
them to make this code utf8-safe.
2001-05-18 Jon Trowbridge <trow@ximian.com>
* Makefile.am (evolution_mail_LDADD): Added libebook.la (which is
now required by the composer.)
2001-05-18 Jon Trowbridge <trow@ximian.com>
* e-msg-composer-hdrs.c (set_recipients): Properly unserialize the
string returned by the "text" property of the bonobo control,
convert it into EDestinations, and use them to get the e-mail
addresses of our recipients.
22001-05-18 Jon Trowbridge <trow@ximian.com>
* Makefile.am (SUBDIRS): Changed build order. Now addressbook
gets built before mail.
svn path=/trunk/; revision=9878
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-07 Gediminas Paulauskas <menesis@delfi.lt>
* gui/component/addressbook.c: use define from
widgets/misc/e-filter-bar.h instead of own enumeration and search menu
names.
* gui/component/Makefile.am, gui/component/select-names/Makefile.am:
removed EVOLUTION_VERSION.
2001-05-07 Gediminas Paulauskas <menesis@delfi.lt>
* gui/event-editor.c (make_title_from_comp): conversion summary
from utf8 here, use translated strings as is.
(set_title_from_comp): reflect this, simplify.
* gui/dialogs/task-editor.c: updated copies of above functions here.
* gui/gnome-cal.c: use defines from widgets/misc/e-filter-bar.h for
consistency in "Show all".
svn path=/trunk/; revision=9693
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-16 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-destination.c (e_destination_get_name): Added.
* gui/component/select-names/e-select-names.c
(real_add_address_cb): Use e_select_names_model_append. It's
nicer.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_append): Added.
* gui/component/select-names/e-select-names-completion.c
(book_query_process_card_list): Filter out completion matches that
don't have an associated e-mail address.
(book_query_score): Give a bonus to the primary address, so that
it always comes up first in the completion results.
* gui/component/e-address-popup.c (e_address_popup_refresh_names):
Convert utf8 strings into gtk strings before displaying.
svn path=/trunk/; revision=9390
|
|
|
|
|
|
|
|
|
|
| |
Do this everywhere, also fixup CLEANFILES
2001-04-14 Michael Meeks <michael@ximian.com>
* Makefile.am (dist-hook): remove built sources from dist.
svn path=/trunk/; revision=9309
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-13 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names-bonobo.c
(entry_get_property_fn): Get the ESelectNamesModel from the
widget's text model instead of storing it as a gtk_object_set_data
since it may change.
svn path=/trunk/; revision=9299
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-31 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names.c
(real_add_address_cb): Call e_select_names_model_clean after
adding address. This should deal with the bug reports related
to stray commas.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_clean): Added. Remove all empty destinations.
* backend/ebook/e-destination.c (e_destination_is_empty): Added. Check
if an EDestination is in essentially a null state.
svn path=/trunk/; revision=9067
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-29 Jon Trowbridge <trow@ximian.com>
* printing/e-contact-print.c: Added #include <libgnome/gnome-paper.h>
* printing/e-contact-print-envelope.c: Added #include <time.h>
and #include <libgnome/gnome-paper.h>
* gui/component/select-names/e-select-names-completion.c
(match_email): Better handle matching of "nameless" contacts.
* backend/ebook/e-destination.c (e_destination_get_string): Better
handle the case of a "nameless" contact.
2001-03-29 Jon Trowbridge <trow@ximian.com>
* camel-filter-driver.c (camel_filter_driver_filter_message): Save
the source URL using camel_mime_message_set_source.
* camel-mime-message.c (camel_mime_message_set_source): Renamed
camel_mime_message_set_identity to this. Sets the X-Evolution-Source
header.
(camel_mime_message_get_source): Returns the X-Evolution-Source
header.
2001-03-29 Jon Trowbridge <trow@ximian.com>
* mail-callbacks.c: Added #include <time.h> to get things
to compile.
* mail-callbacks.c (mail_generate_reply): Look at the
X-Evolution-Source header, and try to find a corresponding
account. If this works, send the mail from this account.
If not, use the default account.
* mail-ops.c (send_queue_send): Strip out the X-Evolution-Source
header before sending.
* mail-config.c (mail_config_get_account_by_source_url): Added.
Look up accounts by source URL.
svn path=/trunk/; revision=9032
|
|
|
|
|
|
|
|
|
| |
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-28 Christopher James Lahey <clahey@ximian.com>
* gui/component/select-names/e-select-names-table-model.c
(fill_in_info): Use E_CARD_SIMPLE_FIELD_NAME_OR_ORG instead of
getting the NAME and then the ORG. That way if we expand
NAME_OR_ORG, this will use it.
* gui/component/select-names/e-select-names.c
(e_addressbook_create_ebook_table, SPEC): Use the correct column
in the SPEC.
svn path=/trunk/; revision=9000
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-25 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c
(e_select_names_completion_seq_complete_cb): Rather than starting
the pending query by directly calling
e_select_names_completion_do_query, call
e_completion_begin_search. Circumventing the ECompletion API was
causing it to get confused in some cases.
svn path=/trunk/; revision=8922
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-17 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-completion.c: Brutally
refactored to boost performance in large-addressbook situations.
These fixes give accepable performance (even with the suboptimal
pas-backend-file searching) using tigert's addressbook-of-death.
svn path=/trunk/; revision=8793
|