aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tag 'GEDIT_2_5_92'.GEDIT_2_5_92nobody2003-12-091-2951/+0
| | | | svn path=/tags/GEDIT_2_5_92/; revision=23726
* change prototype to fix warning, and change the comment to readChris Toshok2003-12-071-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove hard coded disable deprecated flagsJP Rosevear2003-12-071-0/+4
| | | | | | | | 2003-12-06 JP Rosevear <jpr@ximian.com> * */Makefile.am: Remove hard coded disable deprecated flags svn path=/trunk/; revision=23658
* no more custom widget for the selection of the search sourceJP Rosevear2003-12-061-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* call remove_book_view/free_data here as well, to guard against multipleChris Toshok2003-12-061-0/+6
| | | | | | | | | | 2003-12-05 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-model.c (book_view_loaded): call remove_book_view/free_data here as well, to guard against multiple book_view's being loaded. svn path=/trunk/; revision=23652
* Clean up and sync with current model columns.Hans Petter Jansson2003-12-051-0/+5
| | | | | | | | | 2003-12-05 Hans Petter Jansson <hpj@ximian.com> * gui/widgets/e-addressbook-view.etspec: Clean up and sync with current model columns. svn path=/trunk/; revision=23644
* (retrieve_shell_view_interface_from_control): Remove.Ettore Perazzoli2003-12-041-0/+7
| | | | | | | (set_folder_bar_label): Remove. (addressbook_new_control): Don't connect. svn path=/trunk/; revision=23613
* Do not depend on e-folder-list.Ettore Perazzoli2003-12-031-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Version the schemas Removed AddedRodney Dawes2003-12-021-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 Rodney Dawes <dobey@ximian.com> * gui/component/Makefile.am: Version the schemas * gui/component/apps_evolution_addressbook.schemas: Removed * gui/component/apps_evolution_addressbook.schemas.in.in: Added 2003-12-02 Rodney Dawes <dobey@ximian.com> * gui/Makefile.am: Version the schemas * gui/apps_evolution_calendar.schemas: Removed * gui/apps_evolution_calendar.schemas.in.in: Added 2003-12-02 Rodney Dawes <dobey@ximian.com> * Makefile.am: Version the schemas * evolution-mail.schemas: Removed * evolution-mail.schemas.in.in: Added 2003-12-02 Rodney Dawes <dobey@ximian.com> * Makefile.am: Version the schemas * apps_evolution_shell.schemas: Removed * apps_evolution_shell.schemas.in.in: Added svn path=/trunk/; revision=23579
* (set_status_message): CallEttore Perazzoli2003-12-021-0/+6
| | | | | | | e_activity_handler_operation_finished() on the current activity ID when done. svn path=/trunk/; revision=23564
* Replace activity_client with activity_id. (set_status_message): Use theEttore Perazzoli2003-12-021-0/+15
| | | | | | | | | | | | | | | | | * gui/component/addressbook.c (struct AddressbookView): Replace activity_client with activity_id. (set_status_message): Use the EActivityHandler from the AddressbookComponent. * gui/component/addressbook-component.c (struct _AddressbookComponentPrivate): New member activity_handler. (addressbook_component_init): Init. (impl_dispose): Unref. (addressbook_component_peek_activity_handler): New. (impl_createControls): Return an ETaskBar as the statusbar control and attach it to the activity handler. svn path=/trunk/; revision=23560
* Pass a label for the status bar control for now.Ettore Perazzoli2003-12-021-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/calendar-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/tasks-component.c (impl_createControls): Pass a label for the status bar control for now. * mail-component.c (impl_createControls): Pass a label for the status bar control for now. * e-shell.c (struct _EShellPrivate): Remove member activity_handler. (setup_activity_interface): Remove. (e_shell_init): Don't call. (create_window): Don't attach the task bar to the activity handler. * e-shell-window.c (struct _ComponentView): New member statusbar_widget. (struct _EShellWindowPrivate): Remove member task_bar. (init_view): Get the status bar control from createControls and put it in the ComponentView struct. (setup_task_bar): New. (setup_statusbar_notebook): New. (switch_view): Switch the statusbar notebook too. (impl_dispose): Add missing GTK_OBJECT() cast. (e_shell_window_peek_task_bar): Remove. * Evolution-Component.idl (Component::createControls): New out arg "statusbar_control"; this way components can provide their own status bar. * e-activity-handler.c, e-activity-handler.h: Turn into a plain GObject; translate all the CORBA methods into plain C methods. * Makefile.am: Move e-activity-handler to libeshell instead of it being in the shell. svn path=/trunk/; revision=23555
* remove stray conflict markerLarry Ewing2003-12-021-1/+0
| | | | svn path=/trunk/; revision=23554
* remove GTK_DISABLED_DEPRECATED so that we can build with gtk-2.3.Larry Ewing2003-12-021-0/+6
| | | | | | | | | 2003-12-01 Larry Ewing <lewing@ximian.com> * gui/component/Makefile.am (INCLUDES): remove GTK_DISABLED_DEPRECATED so that we can build with gtk-2.3. svn path=/trunk/; revision=23553
* Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill theRodney Dawes2003-12-021-0/+13
| | | | | | | | | | 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
* Fix start page text.Hans Petter Jansson2003-12-021-0/+10
| | | | | | | | 2003-12-01 Hans Petter Jansson <hpj@ximian.com> * gui/component/ldap-config.glade: Fix start page text. svn path=/trunk/; revision=23541
* use privconduitdirJP Rosevear2003-12-021-0/+6
| | | | | | | | | | 2003-12-01 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: use privconduitdir * conduit/e-address.conduit.in: subst right thing svn path=/trunk/; revision=23537
* specify privlibdir as the locationJP Rosevear2003-12-021-0/+6
| | | | | | | | | | 2003-12-01 JP Rosevear <jpr@ximian.com> * conduit/e-address.conduit.in: specify privlibdir as the location * conduit/Makefile.am: install the conduit to privlibdir svn path=/trunk/; revision=23532
* version the .conduit fileJP Rosvear2003-12-021-0/+4
| | | | | | | | 2003-12-01 JP Rosvear <jpr@ximian.com> * conduit/Makefile.am: version the .conduit file svn path=/trunk/; revision=23531
* Remove addressbook-storage.[ch] and new-addressbook.[ch].Hans Petter Jansson2003-12-011-0/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* turn on deprecated gtk and libgnomeui stuffJP Rosevear2003-11-261-0/+10
| | | | | | | | | | | | | | 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
* Store a ref to the source selector. (impl_requestCreateItem): Implement.Hans Petter Jansson2003-11-181-0/+12
| | | | | | | | | | | | | | | | 2003-11-17 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-component.c (impl_createControls): Store a ref to the source selector. (impl_requestCreateItem): Implement. (impl_dispose): Unref the source selector. (addressbook_component_init): Set up default sources. * gui/widgets/e-addressbook-model.c (eab_model_set_property): If the 'book' property is set, and editability changes, emit a signal to that effect. svn path=/trunk/; revision=23404
* Oops.JP Rosevear2003-11-151-0/+4
| | | | svn path=/trunk/; revision=23368
* Return TRUE for all cells, for now.Hans Petter Jansson2003-11-141-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2003-11-13 Hans Petter Jansson <hpj@ximian.com> * gui/contact-list-editor/e-contact-list-model.c (contact_list_is_cell_editable): Return TRUE for all cells, for now. * gui/widgets/e-addressbook-table-adapter.c (card_modified_cb): Renamed to contact_modified_cb (). (addressbook_set_value_at): Port to use EContact instead of ECard. (addressbook_is_cell_editable): Ditto. (addressbook_append_row): Ditto. * gui/widgets/e-minicard-label.c (e_minicard_label_set_property): Make not editable, ever, and add a comment to this effect. (e_minicard_label_realize): Ditto. * gui/widgets/e-minicard.c (e_minicard_set_property): Ditto. (add_field): Ditto. svn path=/trunk/; revision=23348
* (impl__get_userCreatableItems): New, implementation for theEttore Perazzoli2003-11-131-0/+9
| | | | | | | | | userCreatableItems property. (impl_requestCreateItem): New, implementation for the requestCreateItem method. (addressbook_component_class_init): Install. svn path=/trunk/; revision=23325
* Add component_alias of "contacts".Ettore Perazzoli2003-11-131-0/+5
| | | | | | | Add component_alias of "contacts". svn path=/trunk/; revision=23301
* Add new-addressbook.[ch]. (glade_DATA): Add new-addressbook.glade.Hans Petter Jansson2003-11-091-0/+17
| | | | | | | | | | | | | | | | | | | | | 2003-11-08 Hans Petter Jansson <hpj@ximian.com> * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): Add new-addressbook.[ch]. (glade_DATA): Add new-addressbook.glade. * gui/component/addressbook-component.c (add_popup_menu_item): Implement. (new_addressbook_cb): Implement. (delete_addressbook_cb): Implement (skeletal). (fill_popup_menu_callback): Implement. (impl_createControls): Hook up fill_popup_menu_callback(). * gui/component/new-addressbook.[ch]: New files. * gui/component/new-addressbook.glade: New file. svn path=/trunk/; revision=23238
* Remove some includes of directories that don't exist any moreDan Winship2003-11-081-0/+5
| | | | | | | * util/Makefile.am (INCLUDES): Remove some includes of directories that don't exist any more svn path=/trunk/; revision=23231
* don't include the c marshaller file twiceJP Rosevear2003-11-071-0/+7
| | | | | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * gui/contact-editor/Makefile.am: don't include the c marshaller file twice * gui/widgets/Makefile.am: ditto svn path=/trunk/; revision=23221
* make sure the marshal header is in the source listJP Rosevear2003-11-071-0/+11
| | | | | | | | | | | | | | | 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
* dist the marshal listJP Rosevear2003-11-071-1/+5
| | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * util/Makefile.am: dist the marshal list svn path=/trunk/; revision=23210
* don't destroy the widget here - its dead when removed from the panedJP Rosevear2003-11-071-0/+6
| | | | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * gui/widgets/e-addressbook-view.c (change_view_type): don't destroy the widget here - its dead when removed from the paned container svn path=/trunk/; revision=23207
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-071-0/+6
| | | | svn path=/trunk/; revision=23206
* Fix a castLarry Ewing2003-11-051-0/+4
| | | | svn path=/trunk/; revision=23189
* Update factory ID.Ettore Perazzoli2003-11-041-0/+8
| | | | | | | | | | * 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
* Change "evolution:config_item" into "evolution2:config_item".Ettore Perazzoli2003-11-041-0/+5
| | | | | | | Change "evolution:config_item" into "evolution2:config_item". svn path=/trunk/; revision=23173
* add the S/MIME config control here.Chris Toshok2003-10-301-0/+5
| | | | | | | | | 2003-10-29 Chris Toshok <toshok@ximian.com> * gui/component/GNOME_Evolution_Addressbook.server.in.in: add the S/MIME config control here. svn path=/trunk/; revision=23126
* change the poa hint to PER_REQUEST. fixes a couple of deadlocks.Chris Toshok2003-10-301-0/+5
| | | | | | | | | 2003-10-29 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book-listener.c (e_book_listener_new): change the poa hint to PER_REQUEST. fixes a couple of deadlocks. svn path=/trunk/; revision=23125
* ifdef the smime code with HAVE_NSS.Chris Toshok2003-10-301-0/+8
| | | | | | | | | | | | 2003-10-29 Chris Toshok <toshok@ximian.com> * gui/component/component-factory.c (factory): ifdef the smime code with HAVE_NSS. * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): conditionally include libevolution-smime.la. svn path=/trunk/; revision=23124
* libpas should depend on libebook, but NOT on libpasfile, etc, since itDan Winship2003-10-241-0/+20
| | | | | | | | | | | * backend/pas/Makefile.am (libpas_la_LIBADD): libpas should depend on libebook, but NOT on libpasfile, etc, since it needs to be linked into all backends, not just the wombat. (libpasfile_la_LIBADD): depend on libpas.la and libedb3util.la (libpasvcf_la_LIBADD): depend on libpas.la (libpasldap_la_LIBADD): depend on libpas.la and $(LDAP_LIBS) svn path=/trunk/; revision=23062
* convert 8 spaces to a tab.Chris Toshok2003-10-241-0/+15
| | | | | | | | | | | | | | | | | | | 2003-10-23 Chris Toshok <toshok@ximian.com> * tools/Makefile.am: convert 8 spaces to a tab. * tools/.cvsignore: ignore evolution-addressbook-abuse and evolution-addressbook-clean. * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): add libevolution-smime.la. * gui/component/component-factory.c (factory): add the certificate manager config control stuff here, at least for now. * gui/component/GNOME_Evolution_Addressbook.server.in.in: same. svn path=/trunk/; revision=23048
* make it work with the new ebook apiJP Rosevear2003-10-231-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 003-10-21 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c: make it work with the new ebook api * backend/pas/pas-book.c (pas_book_respond_get_changes): put the vcard in for every change * backend/pas/pas-backend.c (pas_backend_change_add_new): just use the vcard field (pas_backend_change_modify_new): ditto (pas_backend_change_delete_new): ditto * backend/pas/pas-backend-file.c (pas_backend_file_changes_foreach_key): create a fake contact with the uid (pas_backend_file_get_changes): add the card to the changes * backend/ebook/tests/ebook/test-changes.c (main): just print the uid * backend/ebook/e-book.c (e_book_free_change_list): unref the contact * backend/ebook/e-book-types.h: the change struct contains an EContact now * backend/ebook/e-book-listener.c (impl_BookListener_respond_get_changes): create the contact from the vcard string * backend/idl/addressbook.idl: Book change item is no longer a union, it always gives back a card svn path=/trunk/; revision=23031
* fixed typo in variable name.Rodrigo Moya2003-10-231-0/+5
| | | | | | | | | 2003-10-23 Rodrigo Moya <rodrigo@ximian.com> * gui/component/addressbook-config.c (addressbook_dialog_create_source_table): fixed typo in variable name. svn path=/trunk/; revision=23028
* Add an "evolution:button_icon" attribute.Ettore Perazzoli2003-10-231-0/+5
| | | | | | | Add an "evolution:button_icon" attribute. svn path=/trunk/; revision=23024
* Add an "evolution:button_sort_order" property.Ettore Perazzoli2003-10-231-0/+5
| | | | | | | Add an "evolution:button_sort_order" property. svn path=/trunk/; revision=23016
* use the synchronous api for this. simplifies it a bunch.Chris Toshok2003-10-231-4/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-21 Chris Toshok <toshok@ximian.com> * tools/evolution-addressbook-abuse.c: use the synchronous api for this. simplifies it a bunch. 2003-10-21 Chris Toshok <toshok@ximian.com> * backend/pas/pas-book.c (impl_GNOME_Evolution_Addressbook_Book_remove): we can ill afford bad debug spew. (view_listener_died_cb): implement. (impl_GNOME_Evolution_Addressbook_Book_getBookView): hook up an ORBit_small connection listener on the view's listener. (pas_book_respond_create): use e_contact_get_const instead of e_contact_get here. fixes a leak. * backend/pas/pas-book-view.c (impl_GNOME_Evolution_Addressbook_BookView_stop): implement, call pas_backend_stop_book_view. (pas_book_view_get_listener): return the book view's listener. (pas_book_view_class_init): fill in epv->stop. (pas_book_view_init): use a #define for THRESHOLD_MAX instead of the constant. * backend/pas/pas-book-view.h: add prototype for pas_book_view_get_listener. * backend/pas/pas-backend.c (pas_backend_stop_book_view): implement. (pas_backend_remove_book_view): implement. * backend/pas/pas-backend.h: add prototype for stop_book_view and remove_book_view. * backend/pas/pas-backend-vcf.c (load_file): pass in the fd and use fdopen here. (foreach_build_list): don't creat EContacts here, because we'll just be converting them back to vcards anyway. (save_file): use char*'s instead of EContacts, and split entries with 2 blank lines. Also, hold the lock over the entire function. (do_create): hold the lock around uid generation and touching the hash table. (pas_backend_vcf_process_remove_contacts): same. (pas_backend_vcf_process_modify_contact): same. (pas_backend_vcf_stop_book_view): new function, but leave unimplemented for now. (pas_backend_vcf_load_uri): the uri contains the directory name, not the filename. (pas_backend_vcf_dispose): grab the lock here just for sanity's sake. Also reorder things a bit, and free the hashtable and mutex. (pas_backend_vcf_init): init the mutex. * backend/pas/pas-backend-summary.c (pas_backend_summary_add_contact): don't unref the contact here. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_process_stop_book_view): new function, but leave unimplemented for now. * backend/pas/pas-backend-file.c (build_summary): use an EContact for this call. (do_summary_query): nuke, the contents of this has been moved to start_book_view. (pas_backend_file_search_timeout): same. (pas_backend_file_search): same. (pas_backend_file_start_book_view): glom everything into here involving searching. This function could (and should) be renamed and reused from both this function and _get_contact_list. (pas_backend_file_stop_book_view): new function. (pas_backend_file_class_init): fill in backend->stop_book_view. * backend/pas/Makefile.am (LDAP_BACKEND): libpasldap.a -> libpasldap.la (noinst_LTLIBRARIES): *.a -> *.la. (libpas_la_SOURCES): same. (libpasfile_la_SOURCES): same. (libpasvcf_la_SOURCES): same. (libpasldap_la_SOURCES): same. * backend/idl/addressbook.idl: add BookView::stop. * backend/ebook/e-vcard.c (read_attribute_value): fix GString related leaks. (read_attribute_params): same. (parse): don't leak the EVCardAttributes corresponding to BEGIN/END:vCard. (free_gstring): new function (e_vcard_attribute_remove_values): free the decoded_values list, using free_gstring. * backend/ebook/e-book.c (e_book_response_get_book_view): ref the listener here. * backend/ebook/e-book-view.h: add prototype for e_book_view_stop. * backend/ebook/e-book-view.c (e_book_view_stop): new function. * backend/ebook/e-book-async.c (_get_book_view_response_dtor): unref the book view. svn path=/trunk/; revision=23000
* Make the the scrolled window have an "in" shadow. Likewise. Likewise.Ettore Perazzoli2003-10-231-0/+9
| | | | | | | | | | | * gui/component/addressbook-component.c (impl_createControls): Make the the scrolled window have an "in" shadow. * gui/component/addressbook-config.c (addressbook_dialog_create_sources_table): Likewise. * gui/widgets/e-addressbook-view.c (create_minicard_view): Likewise. (create_treeview_view): Likewise. svn path=/trunk/; revision=22996
* (impl_createControls): SetEttore Perazzoli2003-10-231-0/+6
| | | | | | | the GtkScrolledWindow scrollbar policy to "automatic" for both the horizontal and the vertical scrollbar. svn path=/trunk/; revision=22990
* Add an "evolution:button_label" property on the component for use in theEttore Perazzoli2003-10-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * gui/GNOME_Evolution_Calendar.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * GNOME_Evolution_Mail.server.in.in: Add an "evolution:button_label" attribute to the Component for use in the shell. * e-shell-window.c (struct _ComponentView): New member button_id. (struct _EShellWindowPrivate): New member sidebar. (component_new_new): Get a button_id arg. (component_button_clicked_callback): Removed. (sidebar_button_selected_callback): New. (create_component_button): Removed. (setup_widget): Set up the sidebar using ESidebar and hook up its "button_selected" signal. Also get the component name from a property on the server info. (e_shell_window_new): Use BASE_VERSION for the version in the app name instead of hardcoding "1.5". * e-sidebar.c: New. * e-sidebar.h: New. svn path=/trunk/; revision=22988
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-2/+2071
| | | | svn path=/trunk/; revision=22965
* remove the "addressbook.db.summary" correctly. #48538Gilbert Fang2003-09-191-0/+5
| | | | | | | | | 2003-09-19 Gilbert Fang <gilbert.fang@sun.com> * addressbook/gui/component/addressbook-component.c (xfer_folder): remove the "addressbook.db.summary" correctly. #48538 svn path=/trunk/; revision=22624
* Remove libebook-static.laDan Winship2003-09-111-0/+9
| | | | | | | | | | | * backend/ebook/Makefile.am (privlib_LTLIBRARIES): Remove libebook-static.la * conduit/Makefile.am (libeaddress_conduit_la_LIBADD): Use non-static versions of libraries: the static ones were only needed for libtool 1.3. svn path=/trunk/; revision=22515
* duplicate the extra address linesJP Rosevear2003-08-271-0/+5
| | | | | | | | | 2003-08-26 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (ecard_from_remote_record): duplicate the extra address lines svn path=/trunk/; revision=22370
* use memcpy to assign CORBA_char_sequence instead of strcpy. (#46706)Gilbert Fang2003-08-201-0/+6
| | | | | | | | | | 2003-08-20 Gilbert Fang <gilbert.fang@sun.com> * gui/widgets/e-addressbook-util.c (e_addressbook_send_card_list): use memcpy to assign CORBA_char_sequence instead of strcpy. (#46706) svn path=/trunk/; revision=22305
* unref the EComponentListener before unloading the CORBA object.Rodrigo Moya2003-08-161-0/+5
| | | | | | | | | 2003-08-12 Rodrigo Moya <rodrigo@ximian.com> * backend/ebook/e-book.c (e_book_dispose): unref the EComponentListener before unloading the CORBA object. svn path=/trunk/; revision=22248
* Chain.Hans Petter Jansson2003-08-141-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-08-12 Hans Petter Jansson <hpj@ximian.com> * backend/ebook/e-destination.c (e_destination_dispose): Chain. * gui/component/e-address-widget.c (e_address_widget_destroy): Chain. Prevent double frees. Prevent double GSource removal. * gui/component/e-cardlist-model.c (e_cardlist_model_class_init): Store parent class. (e_cardlist_model_dispose): Chain. Prevent double frees and unrefs. * gui/contact-editor/e-contact-editor-address.c (e_contact_editor_address_dispose): Chain. * gui/contact-editor/e-contact-editor-fullname.c (e_contact_editor_fullname_dispose): Chain. * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_dispose): Chain. * gui/contact-list-editor/e-contact-list-model.c (contact_list_model_destroy): Chain. Prevent double frees and unrefs. * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_dispose): Chain. (addressbook_finalize): Chain. * gui/widgets/e-addressbook-table-adapter.c (addressbook_dispose): Chain. * gui/widgets/e-addressbook-treeview-adapter.c (addressbook_destroy): Chain. Prevent double free. * gui/widgets/gal-view-minicard.c (gal_view_minicard_dispose): Chain. Prevent double free and detach. * gui/widgts/gal-view-treeview.c (gal_view_treeview_dispose): Chain. Prevent double free and detach. * printins/e-contact-print-style-editor.c (e_contact_print_stule_editor_destroy): Chain. Prevent double unref. svn path=/trunk/; revision=22229
* deal with "uses_list". Fixes #30839. (e_contact_print_dialog_new): useChris Toshok2003-07-281-0/+10
| | | | | | | | | | | | | | 2003-07-23 Chris Toshok <toshok@ximian.com> * printing/e-contact-print.c (e_contact_print_response): deal with "uses_list". Fixes #30839. (e_contact_print_dialog_new): use GINT_TO_POINTER instead of casting to void*, and set "uses_list" to FALSE. (e_contact_print_card_dialog_new): same. (e_contact_print_card_list_dialog_new): same, but set "uses_list" to TRUE. svn path=/trunk/; revision=21987
* fix a typo.Chris Toshok2003-07-281-0/+4
| | | | | | | | 2003-07-23 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book.c (e_book_dispose): fix a typo. svn path=/trunk/; revision=21985
* Use 'Sans' instead of 'Helvetica' for the font name. Likewise.Akira TAGOH2003-07-251-0/+6
| | | | | | | | | | 2003-07-22 Akira TAGOH <tagoh@redhat.com> * printing/e-contact-print-envelope.c (ecpe_print): Use 'Sans' instead of 'Helvetica' for the font name. * printing/e-contact-print.c (e_contact_build_style): Likewise. svn path=/trunk/; revision=21962
* use EVO_MARSHAL_RULE Likewise Likewise Likewise Likewise LikewiseDan Winship2003-07-241-0/+14
| | | | | | | | | | | | | | | | | | * 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
* Remove gtk_window_set_policy call since that function is deprecated and itDan Winship2003-07-231-0/+10
| | | | | | | | | | | | * gui/search/e-addressbook-search-dialog.c (e_addressbook_search_dialog_init): Remove gtk_window_set_policy call since that function is deprecated and it was just setting everything to the default values anyway. * gui/widgets/e-addressbook-util.c: #include gal/util/e-util.h for e_free_object_list. svn path=/trunk/; revision=21904
* Make the "vcard" arg const. ...: add lots and lots of other consts as aDan Winship2003-07-221-0/+6
| | | | | | | | * backend/ebook/e-card.c: (e_card_new, e_card_new_with_default_charset): Make the "vcard" arg const. ...: add lots and lots of other consts as a side effect svn path=/trunk/; revision=21888
* disconnect from model signals to prevent a race condition at shutdownDan Winship2003-07-181-0/+20
| | | | | | | | | | | | | | | | | | | | | | * gui/widgets/e-addressbook-view.c (e_addressbook_view_dispose): disconnect from model signals to prevent a race condition at shutdown where the view gets destroyed and then the model notices the backend dying before being destroyed itself. * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_finalize): add, to free priv. (e_addressbook_reflow_adapter_class_init): set it up * gui/component/e-address-popup.c (e_address_popup_set_free_form): Don't leak strings * gui/component/addressbook-storage.c (load_source_data): don't leak xml data. * gui/component/addressbook-component.c (new_item_cb): don't leak the new card. svn path=/trunk/; revision=21858
* new function, override the event handler for focus_in_event, set the firstGilbert Fang2003-06-261-0/+7
| | | | | | | | | | | 2003-06-25 Gilbert Fang <gilbert.fang@sun.com> * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_real_focus_in_event): new function, override the event handler for focus_in_event, set the first item be focused if no focused item at all. Fixes bug 41826. svn path=/trunk/; revision=21547
* in the EUrlEntry case just reassign widget. it'll be handled by theChris Toshok2003-06-241-0/+6
| | | | | | | | | | 2003-06-18 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (fill_in_field): in the EUrlEntry case just reassign widget. it'll be handled by the GtkEditable code below. Fixes #43841. svn path=/trunk/; revision=21514
* Fix lots of leaks, update for correct use of g_object_get. Some cleanups.Larry Ewing2003-06-141-1/+12
| | | | | | | | | | | | | | | 2003-06-14 Larry Ewing <lewing@ximian.com> * gui/backend/ebook/e-card-simple.c: * gui/backend/ebook/e-card.c: * gui/backend/ebook/evolution-ldif-importer.c: * gui/backend/ebook/load-pine-addressbook.c: * gui/backend/ebook/test-card.c: * gui/backend/pas/pas-backend-card-sexp.c: * gui/backend/pas/pas-backend-ldap.c: Fix lots of leaks, update for correct use of g_object_get. Some cleanups. svn path=/trunk/; revision=21443
* Fix lots of leaks, update for correct use of g_object_get. Some miscLarry Ewing2003-06-141-1/+14
| | | | | | | | | | | | | | | | | | | 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
* update for correct used of g_object_get.Larry Ewing2003-06-141-0/+5
| | | | | | | | | 2003-06-13 Larry Ewing <lewing@ximian.com> * printing/e-contact-print.c: update for correct used of g_object_get. svn path=/trunk/; revision=21441
* ** For #42691.Not Zed2003-06-111-2/+20
| | | | | | | | | | | | | | | | | | | 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
* Roll over ChangeLogs.Ettore Perazzoli2003-06-101-16759/+0
| | | | svn path=/trunk/; revision=21387
* adapted to changes in EComponentListener API.Rodrigo Moya2003-06-041-0/+5
| | | | | | | | | 2003-06-04 Rodrigo Moya <rodrigo@ximian.com> * backend/ebook/ebook.c (e_book_do_response_open): adapted to changes in EComponentListener API. svn path=/trunk/; revision=21383
* i2003-05-19 Chris Toshok <toshok@ximian.com>Chris Toshok2003-05-201-0/+6
| | | | | | | | * backend/pas/pas-backend-ldap.c (func_beginswith): use the more convoluted (but more correct) query if evolutionPerson is supported. Fixes #42825. svn path=/trunk/; revision=21270
* handle the case where @book == NULL, which can happen if there was aChris Toshok2003-05-201-0/+6
| | | | | | | | | | 2003-05-19 Chris Toshok <toshok@ximian.com> * backend/ebook/e-destination.c (use_default_book_cb): handle the case where @book == NULL, which can happen if there was a problem opening the default book. Should fix #43005. svn path=/trunk/; revision=21269
* fix the initial run case. the config upgrade code creates all elements soChris Toshok2003-05-201-0/+7
| | | | | | | | | | | 2003-05-19 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (ensure_completion_uris_exist): fix the initial run case. the config upgrade code creates all elements so we can't just check for NULL - we have to check if the string is empty. Fixes #43213. svn path=/trunk/; revision=21263
* if we've got focus, set the background of the rect to bg[NORMAL], and theChris Toshok2003-05-201-0/+8
| | | | | | | | | | | | 2003-05-19 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-label.c (set_colors): if we've got focus, set the background of the rect to bg[NORMAL], and the fill color of the text and label to text[NORMAL]. This will make the background a different color than the canvas, but won't make it use the selected background. fixes #42472 svn path=/trunk/; revision=21262
* add a g_object_ref(card), to match the one inChris Toshok2003-05-201-0/+6
| | | | | | | | | | 2003-05-19 Chris Toshok <toshok@ximian.com> * gui/merging/e-card-merging.c (e_card_merging_book_commit_card): add a g_object_ref(card), to match the one in e_card_merging_book_add_card. Fixes #43175. svn path=/trunk/; revision=21259
* Added HIG-appropriate HIG-appropriate spacing, padding, accelerators.Anna Marie Dirks2003-05-191-0/+3
| | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * gui/contact-editor/e-contact-quick-add.c: Added HIG-appropriate HIG-appropriate spacing, padding, accelerators. Fixes bug #41210 svn path=/trunk/; revision=21254
* HIG-ified the various dialogs (including the settings pages, the configAnna Marie Dirks2003-05-191-0/+4
| | | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * gui/component/ldap-config.glade: HIG-ified the various dialogs (including the settings pages, the config druid, and the edit dialog) in this glade file. This fixes bugs #41140, #41137, #41130 svn path=/trunk/; revision=21252
* Changed button order, and added HIG-appropriate spacing/padding. Fixes bugAnna Marie Dirks2003-05-191-0/+4
| | | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * gui/merging/e-card-merging-book-commit-duplicate-detected.glade: Changed button order, and added HIG-appropriate spacing/padding. Fixes bug #41232. svn path=/trunk/; revision=21248
* Changed button order, and added HIG-appropriate spacing/padding. Fixes bugAnna Marie Dirks2003-05-191-0/+6
| | | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * gui/merging/e-card-duplicate-detected.glade: Changed button order, and added HIG-appropriate spacing/padding. Fixes bug #41229 and #41231. svn path=/trunk/; revision=21246
* i2003-05-19 Sean Gao <sean.gao@sun.com>Chris Toshok2003-05-191-0/+5
| | | | | | | * gui/component/addressbook-component.c (xfer_folder): remove the summary if @remove_source is TRUE. Fixes 38084. svn path=/trunk/; revision=21240
* Added HIG-appropriate spacing, padding, capitalization and accelerators.Anna Marie Dirks2003-05-171-0/+6
| | | | | | | | | | 2003-05-16 Anna Marie Dirks <anna@ximian.com> * gui/contact-list-editor/contact-list-editor.glade: Added HIG-appropriate spacing, padding, capitalization and accelerators. Fixes bug #41254 svn path=/trunk/; revision=21227
* Added HIG-appropriate spacing, padding, capitalization and accelerators.Anna Marie Dirks2003-05-171-0/+4
| | | | | | | | | 2003-05-16 Anna Marie Dirks <anna@ximian.com> * gui/contact-editor/fulladdr.glade: Added HIG-appropriate spacing, padding, capitalization and accelerators. Fixes bug #41251 svn path=/trunk/; revision=21226
* Added HIG-appropriate spacing, padding, caps, title and accelerators.Anna Marie Dirks2003-05-171-0/+6
| | | | | | | | | | 2003-05-14 Anna Marie Dirks <anna@ximian.com> * gui/contact-editor/fullname.glade: Added HIG-appropriate spacing, padding, caps, title and accelerators. Fixes bug #41249, and also bug #41250.. svn path=/trunk/; revision=21225
* Added HIG-appropriate spacing, padding, capitalization and accelerators.Anna Marie Dirks2003-05-171-0/+6
| | | | | | | | | 2003-05-16 Anna Marie Dirks <anna@ximian.com> * gui/contact-editor/contact-editor.glade: Added HIG-appropriate spacing, padding, capitalization and accelerators. Fixes bug #41248. svn path=/trunk/; revision=21224
* Move the tools to a more appropriate directory, privlibexecdirRodney Dawes2003-05-171-0/+5
| | | | | | | | | 2003-05-16 Rodney Dawes <dobey@ximian.com> * addressbook/backend/ebook/Makefile.am: Move the tools to a more appropriate directory, privlibexecdir svn path=/trunk/; revision=21218
* Revert the patch I didn't mean to commit anywayRodney Dawes2003-05-171-4/+0
| | | | svn path=/trunk/; revision=21217
* Check for libgcc stuff to make solaris happyRodney Dawes2003-05-161-0/+4
| | | | | | | | | | 2003-05-15 Rodney Dawes <dobey@ximian.com> * configure.in: Check for libgcc stuff to make solaris happy * gui/component/Makefile.am: libgcc fix for Solaris __eprintf issue svn path=/trunk/; revision=21212
* this change fixes 43090 tooChris Toshok2003-05-161-1/+1
| | | | svn path=/trunk/; revision=21204
* backing out a tiny porting of jpr's fix - we need to set the book on theChris Toshok2003-05-161-0/+7
| | | | | | | | | | | 2003-05-15 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (book_open_cb): backing out a tiny porting of jpr's fix - we need to set the book on the EAddressbookView, or else it won't do queries, and it won't show any cards. Fixes #43023, #43090. svn path=/trunk/; revision=21201
* new function, split out the duplicated teardown code from final_cb andChris Toshok2003-05-161-0/+9
| | | | | | | | | | | | | 2003-05-15 Chris Toshok <toshok@ximian.com> * gui/merging/e-card-merging.c (free_lookup): new function, split out the duplicated teardown code from final_cb and final_id_cb. also, unref the card. (final_id_cb): call free_lookup. (final_cb): same. (e_card_merging_book_add_card): ref the card. fixes bug #43016. svn path=/trunk/; revision=21200
* replace the text_buffer_delete/text_buffer_insert withChris Toshok2003-05-151-1/+12
| | | | | | | | | | | | | | | 2003-05-14 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (full_addr_clicked): replace the text_buffer_delete/text_buffer_insert with set_buffer_set_text. call widget_changed if they clicked OK, so we actually mark the dialog changed. (fill_in_field): make this handle GtkTextViews, because for some reason that escapes rational thought GtkTextView's don't implement GtkEditable. fixes #42606. (extract_field): same. svn path=/trunk/; revision=21184
* set the clip_height on reflow so the name of the field is as high as theChris Toshok2003-05-151-0/+8
| | | | | | | | | | | | 2003-05-12 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-label.c (e_minicard_label_reflow): set the clip_height on reflow so the name of the field is as high as the field's value. makes it possible to click anywhere to the left of a tall field (like an address) and have it select the field. Fixes #42625. svn path=/trunk/; revision=21183
* handle the case where we haven't filled in the address yet. fixes #42620.Chris Toshok2003-05-151-0/+6
| | | | | | | | | | 2003-05-14 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (address_mailing_changed): handle the case where we haven't filled in the address yet. fixes #42620. svn path=/trunk/; revision=21182
* clear the view (book_open_cb): track the book in the view, don't unref theJP Rosevear2003-05-151-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-14 JP Rosevear <jpr@ximian.com> * gui/component/addressbook.c (addressbook_view_unref): clear the view (book_open_cb): track the book in the view, don't unref the book (set_prop): set the book (retrieve_shell_view_interface_from_control): get the shell view every time (set_folder_bar_label): release and unref the shell view * gui/component/addressbook-storage.h: add proto * gui/component/addressbook-storage.c (addressbook_storage_cleanup): unref the storage * gui/component/addressbook-component.c (owner_unset_cb): clean up storage * backend/ebook/e-book.c (e_book_load_uri): track the listener signal (e_book_dispose): unref the listener and disconnect the signal svn path=/trunk/; revision=21179
* strlen -> g_utf8_strlen. (e_select_names_text_model_insert): same.Chris Toshok2003-05-141-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 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
* rename addressbook_destroy to this, and guard against multiple calls.Chris Toshok2003-05-141-0/+9
| | | | | | | | | | | | | 2003-05-13 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-table-adapter.c (addressbook_dispose): rename addressbook_destroy to this, and guard against multiple calls. (e_addressbook_table_adapter_class_init): GtkObject -> GObject, and destroy -> dispose. (e_addressbook_table_adapter_init): GtkObject -> GObject. svn path=/trunk/; revision=21157
* terminate g_build_filename with NULL.Sean Gao2003-05-121-0/+6
| | | | | | | | | | 2003-05-12 Sean Gao <sean.gao@sun.com> * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_init): terminate g_build_filename with NULL. svn path=/trunk/; revision=21151
* [ fixes bug #42048 ] button => response. (e_addressbook_view_print):Chris Toshok2003-05-121-0/+7
| | | | | | | | | | | 2003-05-11 Chris Toshok <toshok@ximian.com> [ fixes bug #42048 ] * gui/widgets/e-addressbook-view.c (e_contact_print_button): button => response. (e_addressbook_view_print): connect to "response", not "clicked". svn path=/trunk/; revision=21145
* [ fixes bug #41245 ] fix spacing/border widths as per HIG.Chris Toshok2003-05-121-0/+10
| | | | | | | | | | | | | | 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
* Use glib macro to case from pointer to int.Jeremy Katz2003-05-091-0/+11
| | | | | | | | | | | | | | | 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
* i2003-05-06 Chris Toshok <toshok@ximian.com>Chris Toshok2003-05-071-12/+11
| | | | | | | | | | | | | [ really commit this, fixes bug #41910 ] * gui/contact-list-editor/e-contact-list-model.c (e_contact_list_model_remove_row): change from model_changed to row_deleted here. model_changed causes the table to free its ETableSelection, which is what we iterate over when deleting contacts. (e_contact_list_model_add_destination): no need to be calling model_changed here either. svn path=/trunk/; revision=21117
* [ fixes bug #41255 ] use stock buttons for Add/Remove.Chris Toshok2003-04-301-0/+6
| | | | | | | | | | 2003-04-29 Chris Toshok <toshok@ximian.com> [ fixes bug #41255 ] * gui/contact-list-editor/contact-list-editor.glade: use stock buttons for Add/Remove. svn path=/trunk/; revision=21030
* [ fixes bug #41144 ] use stock buttons for the Add/Delete buttons. SwitchChris Toshok2003-04-301-0/+8
| | | | | | | | | | | | 2003-04-29 Chris Toshok <toshok@ximian.com> [ fixes bug #41144 ] * gui/component/ldap-config.glade: use stock buttons for the Add/Delete buttons. Switch from "Delete" to "Remove", though, as "Remove" fits much better with the one for "Add". Also, add our stock-edit-24.png icon for "Edit". svn path=/trunk/; revision=21028
* [ fixes bug #41211 ] call e_button_new_with_stock_icon to create ourChris Toshok2003-04-301-0/+7
| | | | | | | | | | | 2003-04-29 Chris Toshok <toshok@ximian.com> [ fixes bug #41211 ] * gui/component/e-address-popup.c (e_address_popup_no_matches): call e_button_new_with_stock_icon to create our button and give it the right icon. svn path=/trunk/; revision=21023
* remove duplicate HOME_COUNTRY field add.Gilbert Fang2003-04-301-0/+5
| | | | | | | | | 2003-04-29 Gilbert Fang <gilbert.fang@sun.com> * tools/evolution-addressbook-export-list-cards.c (set_pre_defined_field): remove duplicate HOME_COUNTRY field add. svn path=/trunk/; revision=21015
* [ fixes bug #41910 ] change from model_changed to row_deleted here.Chris Toshok2003-04-301-0/+12
| | | | | | | | | | | | | | | 2003-04-28 Chris Toshok <toshok@ximian.com> [ fixes bug #41910 ] * gui/contact-list-editor/e-contact-list-model.c (e_contact_list_model_remove_row): change from model_changed to row_deleted here. model_changed causes the table to free its ETableSelection, which is what we iterate over when deleting contacts. (e_contact_list_model_add_destination): no need to be calling model_changed here either. svn path=/trunk/; revision=21010
* [ fixes bug #41843] use e_card_simple_get_ecard_field instead ofChris Toshok2003-04-281-0/+8
| | | | | | | | | | | | 2003-04-28 Chris Toshok <toshok@ximian.com> [ fixes bug #41843] * tools/evolution-addressbook-export-list-cards.c (e_card_simple_csv_get_name): use e_card_simple_get_ecard_field instead of e_card_simple_get_name, so the return value won't be localized. svn path=/trunk/; revision=20978
* [ fixes bug #41779 ] we don't need to call gtk_widget_destroy on the oldChris Toshok2003-04-281-0/+7
| | | | | | | | | | | 2003-04-28 Chris Toshok <toshok@ximian.com> [ fixes bug #41779 ] * gui/component/e-address-popup.c (mini_wizard_container_add): we don't need to call gtk_widget_destroy on the old child, since gtk_container_remove will unref it for us. svn path=/trunk/; revision=20977
* [ fixes bug #37351 ] the row the signal is called with is already theChris Toshok2003-04-241-0/+7
| | | | | | | | | | | 2003-04-23 Chris Toshok <toshok@ximian.com> [ fixes bug #37351 ] * gui/widgets/e-addressbook-view.c (table_drag_data_get): the row the signal is called with is already the model row, not the view row, so don't call e_table_view_to_model_row on it. svn path=/trunk/; revision=20944
* [ either mostly or entirely fixes #33708 ] new function, factor it out ofChris Toshok2003-04-241-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 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
* [ fixes bug #40954 ] guard against NULL bf->priv->summary (happens if theChris Toshok2003-04-201-1/+12
| | | | | | | | | | | | | | | 2003-04-19 Chris Toshok <toshok@ximian.com> [ fixes bug #40954 ] * backend/pas/pas-backend-file.c (pas_backend_file_dispose): guard against NULL bf->priv->summary (happens if the initial load_uri failed). (pas_backend_file_load_uri): always set bf->priv->uri, since it's used in _get_uri, which is called when the backend goes away. This only happened before if you tried to load a folder that didn't exist. svn path=/trunk/; revision=20898
* [ fixes #40694 ] just grab focus if @activate == TRUE. we'll do allChris Toshok2003-04-201-0/+10
| | | | | | | | | | | | | | 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
* Add missing -DPREFIXRodney Dawes2003-04-191-0/+4
| | | | | | | | 2003-04-18 Rodney Dawes <dobey@ximian.com> * gui/component/select-names/Makefile.am: Add missing -DPREFIX svn path=/trunk/; revision=20893
* [ fixes #21499 ]Rodney Dawes2003-04-191-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [ fixes #41252 ] change title from "Check Address" to "Full Address".Chris Toshok2003-04-161-0/+6
| | | | | | | | | | 2003-04-15 Chris Toshok <toshok@ximian.com> [ fixes #41252 ] * gui/contact-editor/fulladdr.glade: change title from "Check Address" to "Full Address". svn path=/trunk/; revision=20848
* [ fixes #40727 ] if the query text is either shorter than the cachedChris Toshok2003-04-091-0/+9
| | | | | | | | | | | | | 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
* (d): Remove all debuggingEttore Perazzoli2003-04-091-0/+5
| | | | | | messages. svn path=/trunk/; revision=20764
* Remove color specifications from the druid so it will use theme colors.Dan Winship2003-04-081-0/+9
| | | | | | | | | | | * gui/component/ldap-config.glade: Remove color specifications from the druid so it will use theme colors. * gui/component/addressbook-config.c (addressbook_add_server_druid): Use g_signal_connect_after for "prepare" signal (to work around b.g.o 81869) svn path=/trunk/; revision=20756
* [ fixes #7103 ] init style_set. and add the signal.Chris Toshok2003-04-081-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> [ fixes #7103 ] * gui/widgets/e-minicard-label.c (e_minicard_label_class_init): init style_set. and add the signal. (e_minicard_label_realize): include e_minicard_label_construct's code here, and call set_colors after we create the sub-items. (e_minicard_label_unrealize): indent, and remove dead code. (e_minicard_label_event): indent, and call set_colors instead of setting the colors manually. (set_colors): new function, set our colors based on the current style. (e_minicard_label_style_set): new function, just call set_colors. (e_minicard_label_new): e_minicard_label_construct doesn't exist anymore. * gui/widgets/e-minicard-label.h (struct _EMinicardLabelClass): add style_set signal. * gui/widgets/e-minicard.c (set_selected): little tweaks in the coloring. (e_minicard_unrealize): reindent, and remove some unused code. * gui/widgets/e-minicard-view-widget.h (struct _EMinicardViewWidget): add background. * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_class_init): init widget_class->style_class. (e_minicard_view_widget_style_set): new function, just set the background's fill_color_gdk to base[GTK_STATE_NORMAL]. (e_minicard_view_widget_realize): store off the background canvas item so we can set the color later. svn path=/trunk/; revision=20742
* [ fixes bug #40901 ] HIG-ify the ldap server edit dialog's button layout.Chris Toshok2003-04-081-0/+6
| | | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> [ fixes bug #40901 ] * gui/component/ldap-config.glade: HIG-ify the ldap server edit dialog's button layout. svn path=/trunk/; revision=20737
* [ fixes bug #39763 ] verb callback for EditCopy (cut_cb): verb callbackChris Toshok2003-04-081-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 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
* change the ok/cancel button layout to be higified.Chris Toshok2003-04-081-1/+7
| | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> * gui/component/e-address-popup.c (mini_wizard_new): change the ok/cancel button layout to be higified. svn path=/trunk/; revision=20720
* [ last portion of #40046 fix ] ifdef this out to quiet the compiler.Chris Toshok2003-04-081-0/+15
| | | | | | | | | | | | | | | | | | | | 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
* Fixes #40252.Not Zed2003-04-081-0/+9
| | | | | | | | | | | | | 2003-04-07 Not Zed <NotZed@Ximian.com> Fixes #40252. * conduit/address-conduit.c: Change the LOG macro to a single arg macro which copies its arg. Fix all callers. Change WARN and INFO to simply g_warning/g_message. Init G_LOG_DOMAIN before including anything. svn path=/trunk/; revision=20715
* add tools.Chris Toshok2003-04-081-0/+4
| | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> * Makefile.am (SUBDIRS): add tools. svn path=/trunk/; revision=20711
* [ fixes bug #23036 ] : new and improved export utility.Gilbert Fang2003-04-081-0/+8
| | | | | | | | | | | | 2003-04-07 Gilbert Fang <gilbert.fang@sun.com> [ fixes bug #23036 ] * tools/evolution-addressbook-export.c, tools/evolution-addressbook-export-list-cards.c, tools/evolution-addressbook-export-list-folders.c: : new and improved export utility. svn path=/trunk/; revision=20709
* Clean up server names.Dan Winship2003-04-081-0/+14
| | | | | | | | | | | | | | | | * 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
* set "handle_popup" on the field to be TRUE if it's got focus, FALSE ifChris Toshok2003-04-041-0/+12
| | | | | | | | | | 2003-04-03 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-label.c (e_minicard_label_event): set "handle_popup" on the field to be TRUE if it's got focus, FALSE if not. svn path=/trunk/; revision=20665
* set the im_context on the field's EText. (e_minicard_label_event): removeChris Toshok2003-04-041-0/+6
| | | | | | | | | | 2003-04-03 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-label.c (e_minicard_label_construct): set the im_context on the field's EText. (e_minicard_label_event): remove a huge swath of #if 0'd code. svn path=/trunk/; revision=20663
* [ fixes bug #40715 ] add this callback, to unref the book/free the closureChris Toshok2003-04-041-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-03 Chris Toshok <toshok@ximian.com> [ fixes bug #40715 ] * gui/merging/e-card-merging.c (final_id_cb): add this callback, to unref the book/free the closure after calling the user's callback. (final_cb): same. (doit): use final{_id}_cb (cancelit): same. (response): don't free the lookup struct here. (match_query_callback): same. (e_card_merging_book_add_card): ref the book. (e_card_merging_book_commit_card): same. * gui/component/e-address-popup.c (card_picker_init): make sure to set the "text" attribute on the cell renderer so the text actually shows up. also, g_object_connect -> g_signal_connect *sigh*. Lastly, get rid of the scrolled window and just make the window size to show the text. * gui/widgets/e-minicard.c (e_minicard_style_set): only call set_selected if we're realized (we create all the canvas objects that set_selected manipulates in our realize method.) svn path=/trunk/; revision=20662
* add EVOLUTION_IMAGESDIRChris Toshok2003-04-031-0/+5
| | | | | | | | | 2003-04-03 Chris Toshok <toshok@ximian.com> * gui/component/select-names/Makefile.am (INCLUDES): add EVOLUTION_IMAGESDIR svn path=/trunk/; revision=20658
* change all this around so that we populate the existing popup. This meansChris Toshok2003-04-031-0/+16
| | | | | | | | | | | | | | | | | | | | 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
* add NONE:OBJECTChris Toshok2003-04-031-0/+12
| | | | | | | | | | | | | | | | 2003-04-02 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-marshal.list: add NONE:OBJECT * gui/widgets/e-minicard.c (e_minicard_class_init): add style_set signal. (e_minicard_style_set): just call set_selected with the currently selected flag, so we recolor properly. * gui/widgets/e-minicard.h (struct _EMinicardClass): add style_set signal. svn path=/trunk/; revision=20651
* added "folder_type" parameter to EvolutionImporterLoadFileFn.Rodrigo Moya2003-04-031-0/+6
| | | | | | | | | | 2003-04-01 Rodrigo Moya <rodrigo@ximian.com> * backend/ebook/evolution-ldif-importer.c (load_file_fn): * backend/ebook/evolution-vcard-importer.c (load_file_fn): added "folder_type" parameter to EvolutionImporterLoadFileFn. svn path=/trunk/; revision=20644
* new function, just return the local uri. (set_default_book_uri_local): useChris Toshok2003-04-011-0/+8
| | | | | | | | | | | | 2003-03-31 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book-util.c (get_local_book_uri): new function, just return the local uri. (set_default_book_uri_local): use get_local_book_uri. (e_book_default_book_open): only try and reload the default book if it's not already the local book. svn path=/trunk/; revision=20610
* it emits a list nowJP Rosevear2003-03-311-0/+4
| | | | | | | | 2003-03-31 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (card_removed): it emits a list now svn path=/trunk/; revision=20598
* Remove folder-selector button initialization. (e_select_names_new):Dan Winship2003-03-311-0/+21
| | | | | | | | | | | | | | | | | | | | * 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
* braindead, and *extremely* forgiving vcard parser. not for publicChris Toshok2003-03-311-0/+5
| | | | | | | | | 2003-03-30 Chris Toshok <toshok@ximian.com> * backend/ebook/e-vcard.[ch]: braindead, and *extremely* forgiving vcard parser. not for public consumption yet. svn path=/trunk/; revision=20589
* [ fixes bug #39381 (again) ] add "GtkWidget *button" first arg, so weChris Toshok2003-03-311-0/+6
| | | | | | | | | | 2003-03-30 Chris Toshok <toshok@ximian.com> [ fixes bug #39381 (again) ] * gui/component/e-address-popup.c (edit_contact_info_cb): add "GtkWidget *button" first arg, so we don't crash. svn path=/trunk/; revision=20585
* [ fixes bug #40403 ] revert the fix for 28945, as was done on the 1.2Chris Toshok2003-03-291-0/+8
| | | | | | | | | | | | 2003-03-28 Chris Toshok <toshok@ximian.com> [ fixes bug #40403 ] * backend/ebook/e-card.c (e_card_get_vobject): revert the fix for 28945, as was done on the 1.2 branch. this is because the "fix" actually breaks internal use of contact lists. We need to make the exporting of contacts DTRT, instead of fixing it here. svn path=/trunk/; revision=20568
* [ fix the contact editor so that the only time the address is parsed isChris Toshok2003-03-291-0/+14
| | | | | | | | | | | | | | | | | | 2003-03-28 Chris Toshok <toshok@ximian.com> [ fix the contact editor so that the only time the address is parsed is when the user types in the address GtkTextView. ] * gui/contact-editor/e-contact-editor.c (address_mailing_changed): make this use delivery addresses instead of labels. (full_addr_clicked): same. (find_address_mailing): same. * backend/ebook/e-card-simple.c (e_card_simple_set_delivery_address): make this operate similar to e_card_simple_set_address: it sets both the delivery address and the label for the address. svn path=/trunk/; revision=20567
* [ fixes bug #19178 ] use e_book_load_address_book_by_uri on the passed inChris Toshok2003-03-271-0/+11
| | | | | | | | | | | | | | | 2003-03-26 Chris Toshok <toshok@ximian.com> [ fixes bug #19178 ] * backend/ebook/evolution-ldif-importer.c (ebook_open): use e_book_load_address_book_by_uri on the passed in uri. (load_file_fn): pass the uri. * backend/ebook/evolution-vcard-importer.c (ebook_open): use e_book_load_address_book_by_uri on the passed in uri. (load_file_fn): pass the uri. svn path=/trunk/; revision=20543
* [ fixes bug #34651 ] strcmp -> g_utf8_collate. (update_query): encode theChris Toshok2003-03-271-0/+7
| | | | | | | | | | | 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
* [ fixes bug #34085 ] only successfully complete the drag if they dropped aChris Toshok2003-03-271-0/+8
| | | | | | | | | | | | 2003-03-26 Chris Toshok <toshok@ximian.com> [ fixes bug #34085 ] * gui/contact-list-editor/e-contact-list-editor.c (table_drag_data_received_cb): only successfully complete the drag if they dropped a valid vcard (or vcard list). Call gtk_drag_finish. svn path=/trunk/; revision=20539
* $evolution_uidir -> $evolutionuidirChris Toshok2003-03-271-0/+5
| | | | | | | | | 2003-03-26 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/Makefile.am (INCLUDES): $evolution_uidir -> $evolutionuidir svn path=/trunk/; revision=20538
* [ fixes bug #39170 ] remove 'return'. (pas_backend_remove_cards): same.Philip Zhao2003-03-271-0/+17
| | | | | | | | | | | | | | | | | | | | | 2003-03-26 Philip Zhao <philip.zhao@sun.com> [ fixes bug #39170 ] * backend/pas/pas-backend.c (pas_backend_create_card): remove 'return'. (pas_backend_remove_cards): same. (pas_backend_modify_card): same. (pas_backend_check_connection): same. (pas_backend_get_vcard): same. (pas_backend_get_cursor): same. (pas_backend_get_book_view): same. (pas_backend_get_completion_view): same. (pas_backend_get_changes): same. (pas_backend_authenticate_user): same. (pas_backend_get_supported_fields): same. (pas_backend_get_supported_auth_methods): same. svn path=/trunk/; revision=20532
* append the second line to the address if necessaryJP Rosevear2003-03-271-0/+7
| | | | | | | | | | | 2003-03-26 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (local_record_from_ecard): append the second line to the address if necessary (ecard_from_remote_record): split the address line in two if necessary svn path=/trunk/; revision=20526
* set the dialog to "Visible: No" so it doesn't flash when we bring it up.Chris Toshok2003-03-241-0/+5
| | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/contact-list-editor.glade: set the dialog to "Visible: No" so it doesn't flash when we bring it up. svn path=/trunk/; revision=20475
* [ fixes bug #40026 ] add EContactEditor arg, and block/unblock signalsChris Toshok2003-03-241-0/+10
| | | | | | | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> [ fixes bug #40026 ] * gui/contact-editor/e-contact-editor.c (set_field): add EContactEditor arg, and block/unblock signals around the gtk_entry_set_text, since that generates a "changed" signal which causes problems. (set_phone_field): take and pass along an EContactEditor arg. (set_fields): pass editor to set_field. svn path=/trunk/; revision=20474
* nuke.Chris Toshok2003-03-241-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> * gui/contact-editor/arrow.png: nuke. * gui/contact-editor/Makefile.am (EXTRA_DIST): remove images_DATA (images_DATA): nuke, don't need it anymore. * gui/contact-editor/e-contact-editor.c (connect_arrow_button_signal): rename _replace_button to this. we no longer create an image, as it's a GtkArrow in the .glade file now. (connect_arrow_button_signals): rename _replace_buttons to this. no longer pass the arrow.png's to _replace_button. (e_contact_editor_init): _replace_buttons -> connect_arrow_button_signals. (_arrow_pressed): remove some dead code, and some args that aren't used. (_phone_arrow_pressed): track change to _arrow_pressed. (_email_arrow_pressed): same. (_address_arrow_pressed): same. svn path=/trunk/; revision=20473
* [ fixes bug #31786 ] fix some gtk warnings. (set_advanced_button_state):Chris Toshok2003-03-241-0/+12
| | | | | | | | | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> [ fixes bug #31786 ] * gui/component/addressbook-config.c (addressbook_source_dialog_set_source): fix some gtk warnings. (set_advanced_button_state): the advanced dialog isn't present in the glade file anymore, so ifdef everything dealing with it. (addressbook_edit_server_dialog): same. * gui/component/ldap-config.glade: remove all the unused Advanced UI stuff to lessen the amount of strings needing translation. svn path=/trunk/; revision=20472
* [ fixes bug #32113 ] add include_email arg to e_destination_get_textrep.Chris Toshok2003-03-231-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692]Ettore Perazzoli2003-03-201-0/+6
| | | | | | | | * backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692] * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: Likewise. svn path=/trunk/; revision=20366
* up the column count by one for the underline.Chris Toshok2003-03-191-0/+7
| | | | | | | | | | | 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
* fix use of deprecated gtk_menu_append. (card_picker_selection_changed):Chris Toshok2003-03-191-0/+17
| | | | | | | | | | | | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> * gui/component/e-address-popup.c (email_menu_add_option): fix use of deprecated gtk_menu_append. (card_picker_selection_changed): change this to be used with the "changed" signal on GtkTreeSelection. (free_str): yeah, gross. i know. (card_picker_init): this needed some fixing, so the strings don't go away after we insert them into the model. also, connect to the "changed" GtkTreeSelection signal instead of using the nonexistant gtk_tree_selection_set_func. (e_address_popup_construct): gtk_style_unref -> g_object_unref. (popup_size_allocate_cb): nuke. (e_address_popup_ambiguous_email_add): use gtk_window_set_position and let the window manager place the window instead of doing it ourself. svn path=/trunk/; revision=20352
* [ Fixes addressbook bug #39730 ] add response ids to the search baseChris Toshok2003-03-191-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> [ Fixes addressbook bug #39730 ] * gui/component/ldap-config.glade: add response ids to the search base dialog. * gui/component/addressbook-config.c (addressbook_source_dialog_destroy): use g_object_unref, not gtk_widget_destroy, on the GladeXML. (addressbook_add_server_druid): call gtk_window_set_type_hint GDK_WINDOW_TYPE_HINT_DIALOG so this window looks like a dialog. (editor_modify_cb): no more apply button. (edit_dialog_apply_clicked): nuked. (edit_dialog_close_clicked): rename to _cancal_clicked. (edit_dialog_ok_clicked): call gtk_widget_destroy here instead of calling _cancel_clicked. (addressbook_edit_server_dialog): no more apply button, and close_button -> cancel_button. Also, set the hint to GDK_WINDOW_TYPE_HINT_DIALOG. (ldap_dialog_new): fix compiler warning. (addressbook_dialog_create_sources_table): same. svn path=/trunk/; revision=20351
* use alternating-row-colors="false"Chris Toshok2003-03-191-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 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
* kill warning by sinking objectsJP Rosevear2003-03-191-0/+5
| | | | | | | | | 2003-03-18 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (addrconduit_load_configuration): kill warning by sinking objects svn path=/trunk/; revision=20338
* disconnect/keep track of search result signal id. (e_select_names_init):Not Zed2003-03-181-0/+10
| | | | | | | | | | | | | | 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
* use set_entry_changed_signal_email for the email entry so the email getsChris Toshok2003-03-141-0/+8
| | | | | | | | | | | | 2003-03-13 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (set_entry_changed_signals): use set_entry_changed_signal_email for the email entry so the email gets saved out. (set_entry_changed_signal_email): new function, analogous to set_entry_changed_signal_phone, but for email. svn path=/trunk/; revision=20282
* [ fixes bug #20210 ] change "Edit Contact Info" to "View Contact Info", asChris Toshok2003-03-131-0/+9
| | | | | | | | | | | | | 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
* [ fixes bug #39507 ] new function, sync the models after we do a search.Chris Toshok2003-03-121-0/+37
| | | | | | | | | | | 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
* Updated phone number. Bug #37204.Not Zed2003-03-111-0/+3
| | | | | | | | | 2003-03-11 Not Zed <NotZed@Ximian.com> * backend/pas/pas-backend-file.c (INITIAL_VCARD): Updated phone number. Bug #37204. svn path=/trunk/; revision=20247
* re-enable in build, include e-destination.h. For #39256.Not Zed2003-03-101-0/+5
| | | | | | | | | 2003-03-11 Not Zed <NotZed@Ximian.com> * gui/widgets/e-addressbook-util.c (e_addressbook_send_card_list): re-enable in build, include e-destination.h. For #39256. svn path=/trunk/; revision=20229
* Likewise. Likewise. Likewise. Likewise. Likewise. (ebook_create):Ettore Perazzoli2003-03-071-0/+15
| | | | | | | | | | | | | | | | | * backend/ebook/load-pine-addressbook.c (ebook_create): Likewise. * backend/ebook/load-gnomecard-addressbook.c (ebook_create): Likewise. * backend/ebook/evolution-vcard-importer.c (ebook_create): Likewise. * backend/ebook/evolution-ldif-importer.c (ebook_create): Likewise. * backend/ebook/test-client.c (get_cursor_cb): Likewise. (ebook_create): Likewise. * gui/widgets/e-minicard.c (e_minicard_set_property): Likewise. (card_modified_cb): Likewise. (e_minicard_event): Likewise. * gui/widgets/gal-view-minicard.c (column_width_changed): Likewise. * gui/widgets/test-minicard-view.c (ebook_create): Likewise. * gui/widgets/gal-view-treeview.c (column_width_changed): Likewise. svn path=/trunk/; revision=20203
* removed. (owner_unset_cb): Basically a noop, the shell does the quit, weNot Zed2003-03-051-0/+7
| | | | | | | | | | | 2003-03-05 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-component.c (bonobo_main_quit_cb): removed. (owner_unset_cb): Basically a noop, the shell does the quit, we just note we have no owner anymore. svn path=/trunk/; revision=20164
* Fixes #37881JP Rosevear2003-03-051-0/+8
| | | | | | | | | | | | 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
* reflect prior column additionJP Rosevear2003-03-051-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* (e_select_names_new): Don't set the "modal" property throughEttore Perazzoli2003-03-041-0/+7
| | | | | | | g_object_new(). (e_select_names_init): Explictly make the dialog modal here. svn path=/trunk/; revision=20131
* (create_minicard_view): No needEttore Perazzoli2003-03-041-0/+5
| | | | | | to do any reparenting here; the widget is created with no parent. svn path=/trunk/; revision=20129
* (e_select_names_init): Instead of using gtk_widget_unparent(),Ettore Perazzoli2003-03-041-0/+8
| | | | | | | | 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
* Build libecontacteditor as an uninstalled shared library.Dan Winship2003-03-011-0/+20
| | | | | | | | | | | | | | | | | | | | | | * gui/contact-editor/Makefile.am: Build libecontacteditor as an uninstalled shared library. * gui/contact-list-editor/Makefile.am: Likewise for libecontactlisteditor * gui/merging/Makefile.am: and libecardmerging * gui/search/Makefile.am: and libeaddressbooksearch * gui/widgets/Makefile.am: and libeminicard * printing/Makefile.am: and libecontactprint * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): Update for new library names (and get rid of libtool portability warnings). svn path=/trunk/; revision=20112
* Remove these from here; talking to the mailer doesn't really belong at theDan Winship2003-03-011-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | * backend/ebook/e-card.c (e_card_list_send, e_card_send): Remove these from here; talking to the mailer doesn't really belong at the libebook level anyway. * backend/ebook/Makefile.am: Remove Evolution-Composer CORBA stuff, which fixes some linking problems on OS X. * gui/widgets/e-addressbook-util.c (e_addressbook_send_card_list, e_addressbook_send_card): Move from e-card.c and rename. * gui/widgets/Makefile.am: move Evolution-Composer CORBA stuff here * gui/widgets/e-addressbook-view.c (send_as, send_to, e_addressbook_view_send, e_addressbook_view_send_to): Update for new function names. * gui/contact-list-editor/e-contact-list-editor.c (file_send_as_cb, file_send_to_cb): Likewise * gui/contact-editor/e-contact-editor.c (file_send_as_cb, file_send_to_cb): Likewise svn path=/trunk/; revision=20103
* use g_signal_connect here, not swapped... although since we pass theChris Toshok2003-02-281-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* link to libversit libtool objectJP Rosevear2003-02-281-0/+4
| | | | | | | | 2003-02-27 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: link to libversit libtool object svn path=/trunk/; revision=20093
* Fix for server files from Antonio XuRodney Dawes2003-02-281-0/+4
| | | | | | | | 2003-02-27 Rodney Dawes <dobey@ximian.com> * backend/ebook/Makefile.am: Fix for server files from Antonio Xu svn path=/trunk/; revision=20087
* if we fail to activate factories for a given protocol, return.Chris Toshok2003-02-271-0/+8
| | | | | | | | | | | | 2003-02-26 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book.c (e_book_load_uri): if we fail to activate factories for a given protocol, return. * gui/component/ldap-config.glade: remove the two unused custom widgets to cut down on gtk warning spam. svn path=/trunk/; revision=20080
* Make libversit a shared library, update stuff for that, and clean upDan Winship2003-02-221-0/+21
| | | | | | some LDADDs in the process svn path=/trunk/; revision=19994
* Make libemiscwidgets, libefilterbar, and libetimezonedialog dynamicDan Winship2003-02-211-0/+8
| | | | | | | libraries, so they can be portably linked into the (shared library) components. (Part 1 of N.) svn path=/trunk/; revision=19971
* revert previous changeDan Winship2003-02-201-9/+0
| | | | svn path=/trunk/; revision=19968
* Build the subparts as (noinst) shared libraries rather than staticDan Winship2003-02-201-0/+9
| | | | | | | | | | | | | * gui/component/Makefile.am: * gui/contact-editor/Makefile.am: * gui/contact-list-editor/Makefile.am: * gui/search/Makefile.am: * gui/widgets/Makefile.am: * printing/Makefile.am: Build the subparts as (noinst) shared libraries rather than static libraries, so they can be portably linked into libevolution-addressbook.so svn path=/trunk/; revision=19963
* Make parent_class static.Dan Winship2003-02-201-0/+8
| | | | | | | | | | * gui/widgets/e-addressbook-model.c: Make parent_class static. * gui/widgets/e-addressbook-reflow-adapter.c: Likewise * gui/widgets/e-addressbook-table-adapter.c: Likewise svn path=/trunk/; revision=19961
* [ fix #38074 ] first arg is a GtkWidget. duh.Chris Toshok2003-02-201-0/+6
| | | | | | | | | | 2003-02-19 Chris Toshok <toshok@ximian.com> [ fix #38074 ] * gui/component/e-address-popup.c (add_contacts_cb): first arg is a GtkWidget. duh. svn path=/trunk/; revision=19952
* (INCLUDES): Use $(evolutionuidir)Ettore Perazzoli2003-02-201-0/+5
| | | | | | instead of $(evolution_uidir). [Pointed out by Grzegorz Goawski.] svn path=/trunk/; revision=19946
* if we can complete solely from our cached cards, callChris Toshok2003-02-181-0/+13
| | | | | | | | | | | 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
* move the bulk of the non-summary searching stuff here. we aggregate up toChris Toshok2003-02-171-0/+11
| | | | | | | | | | | | | | | 2003-02-16 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-file.c (pas_backend_file_search_timeout): move the bulk of the non-summary searching stuff here. we aggregate up to our threshold, then send them to the front end and register a timeout to do another batch. This keeps us from totally spamming the UI, making things a bit more responsive. (pas_backend_file_search): set up the closure and call the timeout in an idle func. svn path=/trunk/; revision=19920
* indent properly.Chris Toshok2003-02-171-0/+5
| | | | | | | | | 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
* disconnect search_started and search_result. (addressbook_compare): ifChris Toshok2003-02-171-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-16 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-reflow-adapter.c (unlink_model): disconnect search_started and search_result. (addressbook_compare): if we're loading, just compare model positions (so we just append while loading). (remove_card): use e_reflow_model_item_removed. (search_started): new function, set loading = TRUE. (search_result): new function, set loading = FALSE and emit "comparison_changed". (e_addressbook_reflow_adapter_init): init loading and the new signal ids. (e_addressbook_reflow_adapter_construct): connect "search_started" and "search_result". * gui/widgets/e-addressbook-model.h (struct _EAddressbookModelClass): add search_started signal. * gui/widgets/e-addressbook-model.c (e_addressbook_model_class_init): new signal "search_started". (book_view_loaded): emit "search_started" after "model_changed". (remove_card): simplify this, and use CARD_REMOVED all the time, instead of just in the single card case. svn path=/trunk/; revision=19916
* [ fixes bug #33066 ] new function (set_entry_changed_signals): callChris Toshok2003-02-111-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2003-02-10 Chris Toshok <toshok@ximian.com> [ fixes bug #33066 ] * gui/contact-editor/e-contact-editor.c (set_urlentry_changed_signal_field): new function (set_entry_changed_signals): call set_urlentry_changed_signal_field for entry-web, entry-caluri, and entry-fburl. (fill_in_field): add handling for EUrlEntry's. (extract_field): same. (enable_widget): same. (e_contact_editor_create_date): show the widget. (e_contact_editor_create_web): same, create a url entry. (set_urlentry_changed_signal_field): new function * gui/contact-editor/contact-editor.glade: entry-web, entry-caluri, and entry-fburl are all custom widgets now. svn path=/trunk/; revision=19879
* Install load-pine-addressbook and load-gnomecard-addressbook intoEttore Perazzoli2003-02-111-0/+19
| | | | | | | | | | | | | | | | | | | | | * backend/ebook/Makefile.am: Install load-pine-addressbook and load-gnomecard-addressbook into ${privdatadir}/tools. Install evolution-vcard-importer and evolution-ldif-importer into ${privlibexecdir}. * backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in: Removed. * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in: Removed. * backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: New. Specify an absolute path for the executable, using @LIBEXECDIR@. * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: Likewise. svn path=/trunk/; revision=19870
* gone. (match_initials): gone. (book_query_sexp): remove the primaryChris Toshok2003-02-101-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 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
* lots of changes here. should be a big performance gain. god i hope this isChris Toshok2003-02-101-0/+6
| | | | | | | | | | 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
* [ huge change, all for 1 little performance problem :) fixes #18207 ] useChris Toshok2003-02-081-0/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-08 Chris Toshok <toshok@ximian.com> [ huge change, all for 1 little performance problem :) fixes #18207 ] * gui/widgets/e-addressbook-model.c (get_view): use e_book_check_static_capability here to make things a little prettier. (remove_card): complain about my life, and add code to use one "model_changed" signal if we get back a list of cards instead of multiple "card_removed" signals. * gui/widgets/e-addressbook-model.h: little clean up. * gui/widgets/e-addressbook-view.c (delete): write a bulk-remove case for this. if the backend supports it, send all the ids at once. otherwise loop over the ids. (e_addressbook_view_delete_selection): fake a CardAndBook structure and call delete, instead of duplicating the code in 2 places. * gui/component/addressbook.c (delete_contact_cb): don't call e_contact_editor_confirm_delete here, it's handled by the EAddressbookView. * backend/pas/pas-card-cursor.c (pas_card_cursor_construct): fix a compiler warning about a stupid crash. * backend/pas/pas-book.h (PASOperation): RemoveCard -> RemoveCards. (PASRemoveCardsReques): char *id -> GList *ids. (PASRequest): PASRemoveCardRequest -> PASRemoveCardsRequest. * backend/pas/pas-book.c (pas_book_queue_remove_cards): build up a GList from the id sequence. (pas_book_respond_remove): notifyCardRemoved -> notifyCardsRemoved. (impl_GNOME_Evolution_Addressbook_Book_removeCards): rename. (pas_book_free_request): free the idlist for RemoveCards. (pas_book_class_init): removeCard -> removeCards. * backend/pas/pas-book-view.h: change prototype for pas_book_view_notify_remove, and add prototype for pas_book_view_notify_remove_1. * backend/pas/pas-book-view.c (pas_book_view_notify_remove_1): build up a list and call pas_book_view_notify_remove. (pas_book_view_notify_remove): build up the corba id sequence and call BookViewListener::notifyCardsRemoved. * backend/pas/pas-backend.h: remove_card -> remove_cards. * backend/pas/pas-backend.c (pas_backend_remove_cards): rename from _remove_card. (process_client_requests): RemoveCard -> RemoveCards and _remove_card -> _remove_cards. * backend/pas/pas-backend-ldap.c (check_schema_support): g_strcasecmp -> g_ascii_strcasecmp. (remove_card_handler): _remove => _remove_1. (modify_card_modify_handler): same. (pas_backend_ldap_process_remove_cards): rename from _remove_card. (pas_backend_ldap_class_init): _remove_card -> _remove_cards. * backend/pas/pas-backend-file.c (pas_backend_file_class_init): remove_card -> remove_cards. (pas_backend_file_get_static_capabilities): add "bulk-removes". (pas_backend_file_process_remove_cards): rewrite this function largely, so that it handles lists of ids. first we loop through and for every successful deletion we build a list of deleted ECards. Then for each view we build a list (a subset of the deleted ECard list) and pass back that list to the view. (pas_backend_file_process_modify_card): use _remove_1 instead of _remove. (ecard_matches_search): new function. * backend/pas/pas-backend-card-sexp.c (pas_backend_card_sexp_match_vcard): rewrite in terms of _match_ecard. (pas_backend_card_sexp_match_ecard): new function, the guts from _match_vcard. * backend/pas/pas-backend-card-sexp.h: add prototype for pas_backend_card_sexp_match_ecard. * backend/idl/addressbook.idl: the card removal stuff now takes CardIdList. * backend/ebook/e-book.c (e_book_get_static_capabilities): cache successful capability queries (since they're static). (e_book_check_static_capability): new, convenience function to check if a particular capability is supported. (e_book_remove_card_by_id): build a single element GList and call e_book_remove_cards. (e_book_remove_cards): build up a CORBA sequence from the GList and call Book::removeCards. (e_book_dispose): free the cached capabilities string. * backend/ebook/e-book.h: add new prototypes for e_book_check_static_capability and e_book_remove_cards. * backend/ebook/e-book-view.h (struct _EBookViewClass): rename "card_removed" signal to "cards_removed". * backend/ebook/e-book-view.c (e_book_view_do_removed_event): id -> ids, and free the id list. (e_book_view_check_listener_queue): CardRemovedEvent -> CardsRemovedEvent. * backend/ebook/e-book-view-listener.c (e_book_view_listener_queue_response): free the id list. (e_book_view_listener_queue_idlist_event): new function, used for cards_removed. (e_book_view_listener_queue_status_event): id -> ids. (e_book_view_listener_queue_sequence_event): same. (e_book_view_listener_queue_message_event): same. (impl_BookViewListener_notify_cards_removed): call queue_idlist_event. (e_book_view_listener_dispose): free the id list. (e_book_view_listener_class_init): track change to idl call. * backend/ebook/e-book-view-listener.h (EBookViewListenerOperation): CardRemovedEvent -> CardsRemovedEvent. (EBookViewListenerResponse): char *id -> GList *ids. * backend/ebook/e-book-listener.c (impl_BookListener_respond_remove_cards): rename from remove_card. svn path=/trunk/; revision=19853
* check the status, not the book, and unref the book here.Chris Toshok2003-02-071-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-06 Chris Toshok <toshok@ximian.com> * gui/component/e-address-popup.c (email_table_save_card_cb): check the status, not the book, and unref the book here. (contact_editor_cb): same. (start_query): unref the book in the failure case. (add_card_idle_cb): addressbook_load_default_book returns void now. (edit_contact_info_cb): same. (e_address_popup_query): same. * gui/component/addressbook.c (control_activate_cb): track change to addressbook_load_uri return type. (set_prop): same. (addressbook_load_uri): return type is void now. (addressbook_load_default_book): same. * gui/component/addressbook.h: addressbook_load_uri/addressbook_load_default_book return void now. * conduit/address-conduit.c (start_addressbook_server): e_book_load_default_book returns void now. * backend/ebook/e-book-util.h: track changes to return types. * backend/ebook/e-book-util.c (e_book_load_address_book_by_uri): fallout from change to e_book_load_uri. return type for this function is void now too. (e_book_use_address_book_by_uri): same. (e_book_use_default_book): same. (e_book_load_default_book): same. (got_uri_book_cb): if unsuccessful and book is non-NULL, unref it here. (got_default_book_cb): same. * backend/ebook/e-book.c (e_book_load_uri): no longer return a gboolean. any error is communicated to the callback. * backend/ebook/e-book.h: e_book_load_uri no longer returns a gboolean (it's void.) * backend/ebook/evolution-ldif-importer.c (ebook_create): track change to the e_book_load_uri family of functions. * backend/ebook/test-client-list.c (ebook_create): same. * backend/ebook/test-client.c (ebook_create): same. * backend/ebook/load-pine-addressbook.c (ebook_create): same. * backend/ebook/evolution-vcard-importer.c (ebook_create): same. svn path=/trunk/; revision=19839
* Use different tmp file names so these rules can be executed in parallelEttore Perazzoli2003-02-071-0/+13
| | | | | | | | | | | | | | | * 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
* s/PACKAGE/GETTEXT_PACKAGE/ in gettext initDan Winship2003-02-071-0/+5
| | | | svn path=/trunk/; revision=19818
* update Makefile.ams and fix a lot of warningsDan Winship2003-02-061-0/+143
| | | | svn path=/trunk/; revision=19788
* Replace deprecated glade_gnome_init() with glade_init().Dan Winship2003-02-061-0/+11
| | | | | | | | | | | | | * gui/component/addressbook-config.c (main): Replace deprecated glade_gnome_init() with glade_init(). * gui/contact-editor/test-editor.c (main): Likewise. * printing/test-contact-print-style-editor.c (main): Likewise. * printing/test-print.c (main): Likewise. svn path=/trunk/; revision=19760
* [ pull forward Jack Jia's fix for #34900 ] use a weak ref for the fileChris Toshok2003-02-041-0/+11
| | | | | | | | | | | | | | | 2003-02-03 Chris Toshok <toshok@ximian.com> [ pull forward Jack Jia's fix for #34900 ] * gui/contact-editor/e-contact-save-as.c (e_contact_save_as): use a weak ref for the file selector. (e_contact_list_save_as): same. (destroy_it): rewrite this as a weak ref notify function. (close_it): remove frees of the info (it's freed in the weak ref function). (save_it): same. svn path=/trunk/; revision=19722
* pull forward Jack Jia's fix for #33672, but convert it to use unlinkChris Toshok2003-02-041-0/+6
| | | | | | | | | | 2003-02-03 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (remove_folder): pull forward Jack Jia's fix for #33672, but convert it to use unlink instead of the gnome-vfs stuff. svn path=/trunk/; revision=19721
* add a scrolled window (SHADOW_IN) around the address textview.Chris Toshok2003-01-281-0/+5
| | | | | | | | | 2003-01-27 Chris Toshok <toshok@ximian.com> * gui/contact-editor/contact-editor.glade: add a scrolled window (SHADOW_IN) around the address textview. svn path=/trunk/; revision=19649
* rename the category entry to entry-categories.Chris Toshok2003-01-271-0/+9
| | | | | | | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * gui/contact-editor/contact-editor.glade: rename the category entry to entry-categories. * gui/contact-editor/e-contact-editor.c (set_entry_changed_signals): use the specialized "changed" signal handlers for entry-company and entry-fullname. svn path=/trunk/; revision=19640
* i need to sleep more.Chris Toshok2003-01-261-0/+4
| | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * gui/component/Makefile.am: i need to sleep more. svn path=/trunk/; revision=19635
* need to assign this here or else the lib doesn't get built.Chris Toshok2003-01-261-0/+5
| | | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * gui/component/Makefile.am (componentdir): need to assign this here or else the lib doesn't get built. svn path=/trunk/; revision=19634
* begin the new page after showing the last one. (complete_sequence):Chris Toshok2003-01-261-0/+10
| | | | | | | | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * printing/e-contact-print.c (e_contact_start_new_page): begin the new page after showing the last one. (complete_sequence): beginpage before we start printing. (e_contact_print_response): GtkDialog-ify this. (e_contact_print_dialog_new): "clicked" -> "response". (e_contact_print_card_dialog_new): same. (e_contact_print_card_list_dialog_new): same. svn path=/trunk/; revision=19633
* enable this, as building the conduit works if you have gnome-pilot2.Chris Toshok2003-01-261-0/+5
| | | | | | | | | 2003-01-26 Chris Toshok <toshok@ximian.com> * Makefile.am (CONDUIT_SUBDIR): enable this, as building the conduit works if you have gnome-pilot2. svn path=/trunk/; revision=19632
* GObjectify the stuff in here that refers to addressbook objects. theChris Toshok2003-01-261-0/+6
| | | | | | | | | | 2003-01-25 Chris Toshok <toshok@ximian.com> * conduit/address-conduit.c: GObjectify the stuff in here that refers to addressbook objects. the gnome-pilot stuff is still GtkObject for the moment. svn path=/trunk/; revision=19630
* Remove definition; this is now in configure.in. Likewise. Likewise.Ettore Perazzoli2003-01-251-0/+7
| | | | | | | | | * gui/component/Makefile.am (iconsdir): Remove definition; this is now in configure.in. * gui/contact-editor/Makefile.am (iconsdir): Likewise. * gui/contact-list-editor/Makefile.am (iconsdir): Likewise. svn path=/trunk/; revision=19619
* [ fixes bug #34898 ] handle modifications to email addresses in contactSean Gao2003-01-241-0/+6
| | | | | | | | | | 2003-01-23 Sean Gao <Sean.Gao@Sun.COM> [ fixes bug #34898 ] * gui/widgets/e-minicard.c (field_changed): handle modifications to email addresses in contact lists. svn path=/trunk/; revision=19604
* [ fixes bug #36375 ] use PHONE_OTHER_FAX instead of PHONE_OTHER forSean Gao2003-01-241-0/+6
| | | | | | | | | | 2003-01-23 Sean Gao <Sean.Gao@Sun.COM> [ fixes bug #36375 ] * backend/pas/pas-backend-ldap.c: use PHONE_OTHER_FAX instead of PHONE_OTHER for "other_fax". svn path=/trunk/; revision=19602
* [ fixes bug #31014, roll this in from the 1.2 branch ] use "categories"Chris Toshok2003-01-241-0/+7
| | | | | | | | | | | 2003-01-23 Chris Toshok <toshok@ximian.com> [ fixes bug #31014, roll this in from the 1.2 branch ] * backend/pas/pas-backend-ldap.c: use "categories" instead of "category" for the ECard field so the UI/get_supported_fields stuff actually thinks its usable in the contact editor.. svn path=/trunk/; revision=19599
* fix for bug 34883 broke ssl transactions (at least those where we wereChris Toshok2003-01-241-0/+6
| | | | | | | | | | 2003-01-23 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_connect): fix for bug 34883 broke ssl transactions (at least those where we were connecting to port 636). Move it to after the SSL stanza. svn path=/trunk/; revision=19598
* Remove definition; no need to set it here since it's now defined inEttore Perazzoli2003-01-241-0/+7
| | | | | | | | | * 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. svn path=/trunk/; revision=19594
* Version using $(BASE_VERSION). (etspecdir): Likewise. (iconsdir):Ettore Perazzoli2003-01-231-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* don't use gnome_print_multipage_new_from_sizes and add warningRadek Doulik2003-01-221-0/+5
| | | | | | | | | 2003-01-21 Radek Doulik <rodo@ximian.com> * printing/e-contact-print.c (e_contact_print_button): don't use gnome_print_multipage_new_from_sizes and add warning svn path=/trunk/; revision=19542
* Change dialog from Yes/No/Cancel to Discard/Cancel/Save to match the HIG.Ettore Perazzoli2003-01-151-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Add $(schema_DATA).Ettore Perazzoli2003-01-151-0/+4
| | | | | | | | | | | * gui/component/Makefile.am (EXTRA_DIST): Add $(schema_DATA). * Makefile.am: Do not dist the .server.in files; just dist the .server.in.in ones. (EXTRA_DIST): Add GNOME_Evolution_WombatLDAP.server.in.in and GNOME_Evolution_WombatNOLDAP.server.in.in svn path=/trunk/; revision=19451
* try to load the uri again if it failed previously. (book_open_cb): setChris Toshok2003-01-101-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (control_activate_cb): try to load the uri again if it failed previously. (book_open_cb): set failed_to_load based on the response. (set_prop): initialize failed_to_load to FALSE before we kick off the first load. * backend/pas/pas-book-factory.c (pas_book_factory_process_request): if the load_uri fails, remove it from the hashtable and free it, so we'll try to load it again from scratch the next time it's requested instead of serving up a backend that doesn't function. * backend/pas/pas-backend.c (pas_backend_get_uri): we need to be able to get the uri from backends that aren't loaded (so we can remove them from the hashtable.) svn path=/trunk/; revision=19392
* doh, fix build error.Chris Toshok2003-01-101-0/+5
| | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (query_ldap_root_dse): doh, fix build error. svn path=/trunk/; revision=19388
* #include gtklabel.h, fixes an unresolved symbol.Chris Toshok2003-01-101-0/+5
| | | | | | | | | 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
* build up the list of supported auth_methods.Chris Toshok2003-01-101-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (query_ldap_root_dse): build up the list of supported auth_methods. (pas_backend_ldap_process_get_supported_auth_methods): respond with the list of auth methods we've built up. (pas_backend_ldap_dispose): unref the auth_method list. (pas_backend_ldap_class_init): hook up pas_backend_ldap_process_get_supported_auth_methods. * backend/pas/pas-backend.c (pas_backend_get_supported_auth_methods): new function. (process_client_requests): add clause for GetSupportedAuthMethods. * backend/pas/pas-backend.h: add prototype for pas_backend_get_supported_auth_methods, and add it to the class vtable. * backend/pas/pas-book.h: add GetSupportedAuthMethods enum member and PASGetSupportedAuthMethodsRequest. and add prototype for pas_book_respond_get_supported_auth_methods. * backend/pas/pas-book.c (pas_book_queue_get_supported_auth_methods): new function. (impl_GNOME_Evolution_Addressbook_Book_getSupportedAuthMethods): new function. (pas_book_respond_get_supported_auth_methods): new function. (pas_book_free_request): add clause for GetSupportedAuthMethods. (pas_book_class_init): hook up getSupportedAuthMethods. * backend/ebook/e-book-listener.c (e_book_listener_queue_get_supported_fields_response): fields -> list. (e_book_listener_queue_get_supported_auth_methods_response): new function. (impl_BookListener_response_get_supported_auth_methods): new function. (e_book_listener_class_init): hook up epv->notifySupportedAuthMethods. * backend/ebook/e-book-listener.h: add GetSupportedAuthMethodsResponse enum member, and change the field name from "fields" to list (and use it for both GetSupportedFields and GetSupportedAuthMethods) * backend/ebook/e-book.c (e_book_get_supported_auth_methods): new function. (e_book_do_response_get_supported_auth_methods): new function. * backend/ebook/e-book.h: add prototype for e_book_get_supported_auth_methods. * backend/idl/addressbook.idl: add getSupportedAuthMethods IDL call. svn path=/trunk/; revision=19386
* deal with backends that might not have loaded successfully (they'll have aChris Toshok2003-01-101-0/+6
| | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * backend/pas/pas-book-factory.c (backend_last_client_gone_cb): deal with backends that might not have loaded successfully (they'll have a NULL uri). svn path=/trunk/; revision=19385
* call e_select_names_bonobo_construct on the newly created object.Chris Toshok2003-01-101-0/+6
| | | | | | | | | | 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
* addressbook-config.etspec is gone.Chris Toshok2003-01-101-0/+10
| | | | | | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * gui/component/Makefile.am: addressbook-config.etspec is gone. * gui/component/addressbook-config.c: make the sources table be a gtktreeview instead of an etable. * gui/component/ldap-config.glade: remove all references to gnome-hint.png svn path=/trunk/; revision=19380
* fix parameter types here (this signal isn't generated from an ETable.)Chris Toshok2003-01-101-0/+21
| | | | | | | | | | | | | | | | | | 2003-01-09 Chris Toshok <toshok@ximian.com> * gui/widgets/gal-view-minicard.c (column_width_changed): fix parameter types here (this signal isn't generated from an ETable.) * gui/widgets/gal-view-factory-minicard.c: include e-util.h * gui/widgets/e-minicard.h: include gnome-canvas.h here. * gui/widgets/e-addressbook-table-adapter.c: #include e-destination.h here. * gui/widgets/e-minicard.c: same. svn path=/trunk/; revision=19378
* comment out the factory oaf_server, and change the location of theChris Toshok2003-01-101-0/+15
| | | | | | | | | | | | | | | | | | | 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
* oops, don't include e-treeview-selection-model.h unless we're building theChris Toshok2003-01-091-0/+5
| | | | | | | | | 2003-01-08 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c: oops, don't include e-treeview-selection-model.h unless we're building the treeview. svn path=/trunk/; revision=19304
* Fix to build.Jeffrey Stedfast2003-01-091-0/+5
| | | | | | | | | 2003-01-08 Jeffrey Stedfast <fejj@ximian.com> * backend/pas/pas-backend-ldap.c (pas_backend_ldap_process_authenticate_user): Fix to build. svn path=/trunk/; revision=19302
* add in the schema entry for minimum_query_length.Chris Toshok2003-01-091-0/+5
| | | | | | | | | 2003-01-08 Chris Toshok <toshok@ximian.com> * gui/component/apps_evolution_addressbook.schemas: add in the schema entry for minimum_query_length. svn path=/trunk/; revision=19301
* add E_ADDRESSBOOK_VIEW_TREEVIEW to the enum, ifdef'ed out.Chris Toshok2003-01-091-0/+31
| | | | | | | | | | | | | | | | | | | | | | | 2003-01-08 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.h: add E_ADDRESSBOOK_VIEW_TREEVIEW to the enum, ifdef'ed out. * gui/widgets/e-addressbook-view.c (e_addressbook_view_class_init): add ifdefed treeview code. (init_collection): same. (display_view): same. (get_selection_model): same. (treeview_row_activated): same. (create_treeview_view): same. (change_view_type): same.xo (e_addressbook_view_print): same. (e_addressbook_view_print_preview): same. * gui/widgets/Makefile.am: add in the treeview sources (commented out). svn path=/trunk/; revision=19300
* $(datadir)/evolution/images instead of $(datadir)/images/evolution.Ettore Perazzoli2003-01-091-0/+8
| | | | | | | | | | * gui/component/Makefile.am: $(datadir)/evolution/images instead of $(datadir)/images/evolution. * gui/contact-editor/Makefile.am: Likewise. * gui/contact-list-editor/Makefile.am (iconsdir): Likewise. * gui/widgets/Makefile.am: Likewise. svn path=/trunk/; revision=19295
* Move PASBook request handling into PASBackend itself since allDan Winship2003-01-091-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | existing backends do it exactly the same way. (Part of 32866). * backend/pas/pas-backend.h (PASBackendClass): add new methods for the various pas book requests. * backend/pas/pas-backend.c: Add a clients list to PASBackendPrivate. (pas_backend_create_card, etc): Add these to invoke the new methods. (process_client_requests, book_destroy_cb): Moved here and slightly rewritten from pas-backend-file. (last_client_gone): Now static. (add_client, remove_client): Default implementations, based on pas-backend-file, that add the client to/remove it from the backend's clients list and connect to its requests_queued signal. (pas_backend_init, pas_backend_dispose): Deal with the clients list. * backend/pas/pas-backend-file.c (struct _PASBackendFilePrivate): Remove GList *clients. (pas_backend_file_process_client_requests, pas_backend_file_book_destroy_db, pas_backend_file_add_client, pas_backend_file_remove_client): Gone. (pas_backend_file_class_init): Remove add_client/remove_client method initializations, add initializations for processing the various book requests. * backend/pas/pas-backend-ldap.c (struct _PASBackendLDAPPrivate): Remove GList *clients. (pas_backend_ldap_process_create_card, etc): Make these take the specific PAS*Request types rather than a generic PASRequest. (pas_backend_ldap_process_client_requests, pas_backend_ldap_book_destroy_db, pas_backend_ldap_add_client, pas_backend_ldap_remove_client): Gone. (pas_backend_ldap_class_init): Remove add_client/remove_client method initializations, add initializations for processing the various book requests. svn path=/trunk/; revision=19287
* fix the SYNTAX for the telephone attributes, and make the fax attributesChris Toshok2003-01-081-0/+6
| | | | | | | | | | 2003-01-07 Chris Toshok <toshok@ximian.com> * backend/pas/evolutionperson.schema: fix the SYNTAX for the telephone attributes, and make the fax attributes more closely mirror those from core.schema. Fixes the schema for openldap-2.1. svn path=/trunk/; revision=19268
* remove idldir definition. (It's defined in configure.in now)Dan Winship2003-01-061-0/+7
| | | | | | | * Makefile.am: remove idldir definition. (It's defined in configure.in now) svn path=/trunk/; revision=19242
* [ fixes the non-ui portion of #36183 ] use the entry'sChris Toshok2003-01-021-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* (addressbook_config_control_new): Made it return anEttore Perazzoli2002-12-201-0/+7
| | | | | | | EvolutionConfigControl instead of a BonoboControl (and removed a bogus EvolutionConfigControl -> BonoboControl cast). svn path=/trunk/; revision=19168
* [ fixes bug #34897 ] don't free the return of e_card_simple_get_const, asChris Toshok2002-12-191-0/+7
| | | | | | | | | | | 2002-12-17 Chris Toshok <toshok@ximian.com> [ fixes bug #34897 ] * gui/widgets/e-addressbook-table-adapter.c (addressbook_value_at): don't free the return of e_card_simple_get_const, as this causes a double free later on. svn path=/trunk/; revision=19163
* convert the clist in here to a GtkTreeView. your guess is as good as mineChris Toshok2002-12-191-0/+6
| | | | | | | | | | 2002-12-18 Chris Toshok <toshok@ximian.com> * gui/component/e-address-popup.c: convert the clist in here to a GtkTreeView. your guess is as good as mine if it works (i can't test it at present) but it compiles. svn path=/trunk/; revision=19162
* g_string_sprintfa -> g_string_append_printf. (create_alphabet): same.Chris Toshok2002-12-191-0/+9
| | | | | | | | | | | | | 2002-12-18 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (jump_to_letters): g_string_sprintfa -> g_string_append_printf. (create_alphabet): same. (create_minicard_view): remove gtk_widget_{push,pop}_visual. * gui/widgets/Makefile.am (INCLUDES): add -D*_DISABLE_DEPRECATED. svn path=/trunk/; revision=19161
* drop use of "font" arg. (get_left_width): use pango to calculate thisChris Toshok2002-12-191-0/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* g_strcasecmp -> g_ascii_strcasecmp. (FIND_INSERT): same.Chris Toshok2002-12-181-0/+15
| | | | | | | | | | | | | | | | | | | 2002-12-17 Chris Toshok <toshok@ximian.com> * backend/pas/pas-backend-ldap.c (build_card_from_entry): g_strcasecmp -> g_ascii_strcasecmp. (FIND_INSERT): same. * backend/pas/pas-backend-file.c (pas_backend_file_load_uri): g_dirname -> g_path_get_dirname. * backend/pas/Makefile.am (INCLUDES): add -DG_DISABLE_DEPRECATED. * backend/ebook/Makefile.am (INCLUDES): add -DG_DISABLE_DEPRECATED. svn path=/trunk/; revision=19156
* oops, use strcmp, not !strcmp here.Chris Toshok2002-12-181-0/+5
| | | | | | | | | 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
* [ Fixes bug #35135 ] don't free the default_book_uri here, it's done inChris Toshok2002-12-181-0/+12
| | | | | | | | | | | | | | | | 2002-12-17 Chris Toshok <toshok@ximian.com> [ Fixes bug #35135 ] * backend/ebook/e-book-util.c (set_default_book_uri_local): don't free the default_book_uri here, it's done in set_default_book_uri. (set_default_book_uri): break some stuff out from set_default_book_uri_from_bonobo_conf to here so it can be used both from that function and the bonobo listener. (default_folder_listener): set the new default book uri. (set_default_book_uri_from_bonobo_conf): install the bonobo conf listener so we'll get updates. svn path=/trunk/; revision=19148
* (addressbook_config_control_new): UseEttore Perazzoli2002-12-171-0/+7
| | | | | | | evolution_shell_client_corba_objref() instead of BONOBO_OBJREF() to get the Shell CORBA object. svn path=/trunk/; revision=19139
* Don't #include <e-util/e-html-utils.h>Jeffrey Stedfast2002-12-171-0/+5
| | | | | | | | | 2002-12-16 Jeffrey Stedfast <fejj@ximian.com> * gui/component/addressbook-config.c: Don't #include <e-util/e-html-utils.h> svn path=/trunk/; revision=19132
* GObject-ize this.Chris Toshok2002-12-101-0/+4
| | | | | | | | 2002-12-09 Chris Toshok <toshok@ximian.com> * gui/search/e-addressbook-search-dialog.[ch]: GObject-ize this. svn path=/trunk/; revision=19078
* pass "Addressbook" to e_passwords*. (addressbook_authenticate): same.Chris Toshok2002-12-101-0/+6
| | | | | | | | | | 2002-12-09 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (load_uri_auth_cb): pass "Addressbook" to e_passwords*. (addressbook_authenticate): same. svn path=/trunk/; revision=19072
* remove PENDING_PORT_WORK. (addressbook_search_activated): same.Chris Toshok2002-12-101-0/+10
| | | | | | | | | | | | | | 2002-12-09 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (search_cb): remove PENDING_PORT_WORK. (addressbook_search_activated): same. (addressbook_query_changed): same. * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): add libfilter.la back in. svn path=/trunk/; revision=19069
* #define MINICARD_CONTROL_ID.Ettore Perazzoli2002-12-101-0/+4
| | | | svn path=/trunk/; revision=19063