aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
Commit message (Collapse)AuthorAgeFilesLines
* Just close the editor when user presees cancel or closes the editor whenSivaiah Nallagatla2005-02-262-1/+14
| | | | | | | | | | | | | | 2005-02-25 Sivaiah Nallagatla <snallagatla@novell.com> * gui/conact-editor/eab-editor.c (eab_editor_prompt_to_save_changes) : Just close the editor when user presees cancel or closes the editor when there are no changes. Seems to be broken by earlier Change for #70371 Fixes #73005 svn path=/trunk/; revision=28892
* Removed the hack, setting absolute URI to NULL. Fixes #72715Sushma Rai2005-02-242-1/+5
| | | | svn path=/trunk/; revision=28879
* Make mailer depend on libedataserverui.Hans Petter Jansson2005-02-243-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-23 Hans Petter Jansson <hpj@novell.com> * configure.in: Make mailer depend on libedataserverui. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * Makefile.am (eutilinclude_HEADERS) (libeutil_la_SOURCES): Remove e-passwords from here, it now lives in libedataserverui. * e-passwords.[ch]: Removed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component/addressbook-view.c: * gui/component/addressbook.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * common/authentication.c: * gui/e-pub-utils.c: * gui/alarm-notify/alarm-notify.c: * gui/alarm-notify/notify-main.c: * gui/dialogs/url-editor-dialog.c: Include <libedataserverui/e-passwords.h>. * gui/itip-utils.c: Remove e-passwords.h include, it's not needed. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * mail-session.c: * mail-config.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * gui/component.c: * lib/e-cert-db.c: * lib/e-pkcs12.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * e-shell-window-commands.c: * e-shell.c: * main.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * camel-gw-listener.c: Include <libedataserverui/e-passwords.h>. 2005-02-23 Hans Petter Jansson <hpj@novell.com> * send-options.c: Include <libedataserverui/e-passwords.h>. svn path=/trunk/; revision=28871
* close the editor here in case of save and discard so that callers need notSivaiah Nallagatla2005-02-223-10/+24
| | | | | | | | | | | | | | | | | | | 2005-02-19 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/eab-editor.c (eab_editor_prompt_to_save_changes) : close the editor here in case of save and discard so that callers need not worry about closing * gui/contact-list-editor/e-contact-list-editor.c (closed_cb) (app_delete_event_cb) : don't close the editor here as that is handled by _save_changes call. Also no need to check for return value of that function as it does not matter here. Fixes #70371 svn path=/trunk/; revision=28839
* update the base uri of the "On This Computer" group when user home dirSivaiah Nallagatla2005-02-222-2/+25
| | | | | | | | | | | | | 2005-02-19 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook-component.c (ensure_sources) : update the base uri of the "On This Computer" group when user home dir changes. Also unref personal source if created here. Fixes #67724 svn path=/trunk/; revision=28838
* connect to "value_changed" signal of spin button instead of "changed"Sivaiah Nallagatla2005-02-152-1/+9
| | | | | | | | | | | | 2005-02-09 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook-config.c (eabc_details_limit) : connect to "value_changed" signal of spin button instead of "changed" Fixes #72369 svn path=/trunk/; revision=28792
* Install shared libraries to privlibdir.Hans Petter Jansson2005-02-104-3/+9
| | | | | | | | | | | | | | | | 2005-02-09 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/contact-editor/Makefile.am: * addressbook/gui/contact-list-editor/Makefile.am: * addressbook/util/Makefile.am: * filter/Makefile.am: * widgets/e-timezone-dialog/Makefile.am: * widgets/menus/Makefile.am: * widgets/misc/Makefile.am: * smime/lib/Makefile.am: * smime/gui/Makefile.am: Install shared libraries to privlibdir. svn path=/trunk/; revision=28762
* New functions which peeks at the conents of the file and guesses theChristophe Fergeau2005-02-092-15/+136
| | | | | | | | | | | | | | | | 2005-02-08 Christophe Fergeau <teuf@users.sourceforge.net> * importers/evolution-vcard-importer.c (has_bom) (fix_utf16_endianness) (utf16_to_utf8) guess_vcard_encoding) : New functions which peeks at the conents of the file and guesses the encoding and to convert UTF-16 strings to UTF-8. (load_file_fn) : check the encoding of the file and convert UTF-16 and locale encoding to UTF-8 Fixes #54825 svn path=/trunk/; revision=28750
* clean up descriptionsJP Rosevear2005-02-082-5/+10
| | | | | | | | | 2005-02-07 JP Rosevear <jpr@novell.com> * gui/component/apps_evolution_addressbook.schemas.in.in: clean up descriptions svn path=/trunk/; revision=28743
* changed the loop termination check to E_CONACT_LAST_SIMPLE_STRING -1 soSivaiah Nallagatla2005-02-072-1/+8
| | | | | | | | | | | 2005-01-06 Sivaiah Nallagatla <snallagatla@novell.com> * e-minicard.c (remodel) : changed the loop termination check to E_CONACT_LAST_SIMPLE_STRING -1 so that we will avoid displaying revision field value in the minicard svn path=/trunk/; revision=28725
* new function to filter contact lists from search results (query_cb) :Sivaiah Nallagatla2005-02-062-8/+42
| | | | | | | | | | | | | 2004-02-06 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/eab-popup-control.c (remove_contact_lists) : new function to filter contact lists from search results (query_cb) : remove contact lists from the search results based on email Fixes #68745 svn path=/trunk/; revision=28722
* display a warning dialog if the server version is not proper added warningvivek jain2005-02-044-24/+50
| | | | | | | | | | 2005-01-04 vivek jain <jvivek@novell.com> * gui/component/addressbook.c: (load_source_auth_cb) display a warning dialog if the server version is not proper * addressbook-errors.xml: added warning message for invalid server version svn path=/trunk/; revision=28706
* Implement based on the create_groups () function in addressbook-migrate.c.Hans Petter Jansson2005-02-033-0/+106
| | | | | | | | | | | | | | | | | 2004-02-02 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-component.c (ensure_sources): Implement based on the create_groups () function in addressbook-migrate.c. (addressbook_component_init): Call ensure_sources (). This will create the necessary addressbook source groups if they somehow disappeared from GConf. * gui/component/addressbook-config.c (addressbook_config_edit_source): If we can't get any source groups, just issue a console warning and return NULL. Creating sources without groups is meaningless. Work around for #67411 svn path=/trunk/; revision=28685
* Fix a small spacing issue in the Display section's children, to be HIGRodney Dawes2005-02-032-1/+6
| | | | | | | | | 2005-02-02 Rodney Dawes <dobey@novell.com> * gui/component/ldap-config.glade: Fix a small spacing issue in the Display section's children, to be HIG compliant svn path=/trunk/; revision=28683
* Use guint instead of ulong for signal ID.Hans Petter Jansson2005-02-012-3/+8
| | | | | | | | | 2005-01-31 Hans Petter Jansson <hpj@novell.com> * gui/widgets/eab-config.c (_EABConfigPrivate): Use guint instead of ulong for signal ID. svn path=/trunk/; revision=28641
* call the eab_merging_* functions instead of e_book_sync* directly. TheParthasarathi Susarla2005-01-292-2/+14
| | | | | | | | | | | | | | | 2004-01-29 Parthasarathi Susarla <sparthasarathi@novell.com> * addressbook/gui/contact-list-editor/e-contact-list-editor.c (save_contact) : call the eab_merging_* functions instead of e_book_sync* directly. The merging function check for duplication. The following functions have been called: 1. eab_merging_book_add_contact for adding a new entry 2. eab_merging_book_commit_contact for commiting a modified entry Fixes bug #57819 svn path=/trunk/; revision=28604
* new function to sensitize im types based on supported fieldsSivaiah Nallagatla2005-01-292-5/+51
| | | | | | | | | | | | | | | | 2005-01-29 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.c (sensitize_im_types) : new function to sensitize im types based on supported fields (sensitize_im_record) : call sensitize_im_types for each record (sensitize_im) : if none of the im types are supported disable the im entries Fixes #68799 svn path=/trunk/; revision=28603
* Changed a string to make it complete and clear for transaltion FixesSivaiah Nallagatla2005-01-292-2/+9
| | | | | | | | | | | 2005-01-28 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/eab-vcard-control.c (pstream_load) : Changed a string to make it complete and clear for transaltion Fixes #61067 svn path=/trunk/; revision=28601
* Remove leading "%s" from the transalatable string Fixes #36137Sivaiah Nallagatla2005-01-291-0/+6
| | | | | | | | | | 2005-01-26 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook.c (addressbook_authenticate) : Remove leading "%s" from the transalatable string Fixes #36137 svn path=/trunk/; revision=28598
* Remove leading "%s" from the transalatable string Fixes #36137Sivaiah Nallagatla2005-01-281-2/+6
| | | | | | | | | | 2005-01-26 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook.c (addressbook_authenticate) : Remove leading "%s" from the transalatable string Fixes #36137 svn path=/trunk/; revision=28595
* case insesitive version of strstr. Used from camelSivaiah Nallagatla2005-01-272-4/+43
| | | | | | | | | | | | | | | | 2005-01-26 Sivaiah Nallagatla <snallagatla@novell.com> * util/eab-book-util.c (strstrcase) : case insesitive version of strstr. Used from camel (eab_contact_list_from_string) : do case in sensitive search for "BEGIN:VCARD" and "END:VCARD" to take care of broken vcards Fixes #70339 svn path=/trunk/; revision=28578
* add access key to 'Member' Button.Hao Sheng2005-01-272-1/+6
| | | | | | | | | 2005-01-26 Hao Sheng <hao.sheng@sun.com> * gui/contact-list-editor/e-contact-list-editor.c: (setup_name_selector): add access key to 'Member' Button. svn path=/trunk/; revision=28576
* use the new ECategoriesDialog widget.Rodrigo Moya2005-01-252-16/+9
| | | | | | | | | 2005-01-25 Rodrigo Moya <rodrigo@novell.com> * gui/contact-editor/e-contact-editor.c (categories_clicked): use the new ECategoriesDialog widget. svn path=/trunk/; revision=28538
* Fixes #70622JP Rosevear2005-01-252-2/+9
| | | | | | | | | | | 2005-01-21 JP Rosevear <jpr@novell.com> Fixes #70622 * gui/widgets/eab-contact-display.c (eab_contact_display_init): construct the html widget svn path=/trunk/; revision=28532
* renamed the signal CONTACT_REMOVED to CONTACTS_REMOVED and chaned theSivaiah Nallagatla2005-01-226-33/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-21 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-model.[ch] (eab_model_class_init) : renamed the signal CONTACT_REMOVED to CONTACTS_REMOVED and chaned the param type POINTER from INT (remove_contact) : delete all the contacts from the model and emit CONATCTS_REMOVED signal instead of emitting it many times * gui/widgets/e-addressbook-reflow-adpater.c (e_addressbook_reflow_adapter_construct) (remove_contacts) : renamed remove_contact to remove_contacts and when number of conacts is more than 1 use _model_changed instead of _remove_item * gui/widgets/e-addressbook-table-adapter.c (eab_table_adapter_construct) (remove_contacts) : ditto * gui/widgets/e-addressbook-view.c (eab_view_new) : (contacts_removed) : renamed contact_removed to contacts_removed and traverese over indices to find displayed contact indiex fixes #71448 svn path=/trunk/; revision=28503
* Change the xpad and ypad to 0 here, we don't need the extra padding AddRodney Dawes2005-01-223-53/+50
| | | | | | | | | | | | | | | | | | | | | | | | 2005-01-21 Rodney Dawes <dobey@novell.com> * gui/contact-editor/e-contact-quick-add.c (build_quick_add_dialog): Change the xpad and ypad to 0 here, we don't need the extra padding Add the GTK_DIALOG_NO_SEPARATOR flag for creating the dialog Set proper border widths on some dialog containers for the HIG Set the row/column spacings for the table widget Create the labels outside of the table packing calls and set the proper alignment for them to be HIG compliant Set the border width of the table widget to 12 for HIG compliance * gui/widgets/eab-popup-control.c (edit_contact_info_cb): Removed (eab_popup_control_display_contact): Just go ahead and open the editor, no need to have an intermittent window with a button for it (add_contacts_cb): Remove this as we don't need it any more (eab_popup_control_no_matches): Just go straight to the quick-add dialog, and don't pop up an intermittent window with a button Fixes #41210 #60852 svn path=/trunk/; revision=28499
* Call gtk_widget_ensure_style to ensure that we set the border widths ofRodney Dawes2005-01-222-0/+7
| | | | | | | | | | 2005-01-21 Rodney Dawes <dobey@novell.com> * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Call gtk_widget_ensure_style to ensure that we set the border widths of some dialog containers properly for HIG compliance svn path=/trunk/; revision=28498
* Fix some spacing and remove the separator for HIG compliance Set properRodney Dawes2005-01-223-5/+30
| | | | | | | | | | | | | 2005-01-21 Rodney Dawes <dobey@novell.com> * gui/merging/eab-contact-duplicate-detected.glade: Fix some spacing and remove the separator for HIG compliance * gui/merging/eab-contact-merging.c (match_query_callback): Set proper border widths on some dialog containers for the HIG Fixes #41228 svn path=/trunk/; revision=28497
* Fixes #46404JP Rosevear2005-01-224-13/+32
| | | | | | | | | | | | | | | | | | | | | | 2005-01-21 JP Rosevear <jpr@novell.com> Fixes #46404 * gui/widgets/e-addressbook-view.c (eab_view_print): just show the dialog, not show all (margin settings aren't supposed to be used); use e_print to get the dialog (eab_view_print_preview): use e_print config for previewing * printing/e-contact-print.c (e_contact_print_preview): get the e_print config for previewing (e_contact_print_contact_dialog_new): use e_print to get the print dialog * printing/e-contact-print-envelope.c (e_contact_print_envelope_dialog_new): use e_print to get the print dialog svn path=/trunk/; revision=28496
* reverting my last change, we will acheive the same thing withSivaiah Nallagatla2005-01-211-1/+0
| | | | | | | | | | | 2005-01-21 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/address-config.c (eabc_commit) : reverting my last change, we will acheive the same thing with addressbook-file plguin in a better way svn path=/trunk/; revision=28484
* Don't set properties on the contact immediately. (clicked_cb): Set theHans Petter Jansson2005-01-212-7/+11
| | | | | | | | | | | | 2005-01-21 Hans Petter Jansson <hpj@novell.com> * gui/contact-editor/e-contact-quick-add.c (quick_add_set_name) (quick_add_set_email): Don't set properties on the contact immediately. (clicked_cb): Set the properties on the contact immediately before passing it on. This way, the FULL_NAME will only be set once, and so the FILE_AS field will be updated here. svn path=/trunk/; revision=28479
* in case of new book set the uid of the source as the relative uri.Sivaiah Nallagatla2005-01-212-1/+8
| | | | | | | | | | | 2005-01-21 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook-config.c (eabc_commit) : in case of new book set the uid of the source as the relative uri. svn path=/trunk/; revision=28470
* add accessable key to the contact editor UI. add accessable key to theHao Sheng2005-01-203-71/+123
| | | | | | | | | | | 2005-01-19 Hao Sheng <hao.sheng@sun.com> * gui/contact-editor/contact-editor.glade: add accessable key to the contact editor UI. * gui/contact-list-editor/contact-list-editor.glade: add accessable key to the contact list editor UI. svn path=/trunk/; revision=28455
* add a11y name for the contact's treeview.Hao Sheng2005-01-182-0/+9
| | | | | | | | | | 2005-01-18 Hao Sheng <hao.sheng@sun.com> * gui/component/addressbook-view.c: (addressbook_view_init): add a11y name for the contact's treeview. svn path=/trunk/; revision=28434
* add a11y names for widgets named "Image","Anniversary" and "Birthday". addHao Sheng2005-01-183-0/+20
| | | | | | | | | | | 2005-01-18 Hao Sheng <hao.sheng@sun.com> * gui/contact-editor/contact-editor.glade: add a11y names for widgets named "Image","Anniversary" and "Birthday". * gui/contact-editor/e-contact-editor.c: (e_contact_editor_create_date): add string1 as entry's a11y name. svn path=/trunk/; revision=28429
* show "other" when email does not carry "TYPE" (fill_in_email) : passSivaiah Nallagatla2005-01-182-2/+12
| | | | | | | | | | | | | | 2005-01-17 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.c (fill_in_email_record) : show "other" when email does not carry "TYPE" (fill_in_email) : pass deafult email types instead of -1 when clearing fields Fixes #70922 svn path=/trunk/; revision=28427
* add the a11y name for arrow-button named "Telephone".Hao Sheng2005-01-172-0/+8
| | | | | | | | | 2005-01-17 Hao Sheng <hao.sheng@sun.com> * gui/contact-editor/contact-editor.glade: add the a11y name for arrow-button named "Telephone". svn path=/trunk/; revision=28414
* Fixes #61973JP Rosevear2005-01-132-0/+13
| | | | | | | | | | | 2005-01-12 JP Rosevear <jpr@novell.com> Fixes #61973 * gui/widgets/e-addressbook-view.etspec: add translator comment for TTYTDD svn path=/trunk/; revision=28386
* cast length specifier to int.Not Zed2005-01-122-1/+6
| | | | | | | | | 2005-01-11 Not Zed <NotZed@Ximian.com> * util/eab-book-util.c (eab_name_and_email_query): cast length specifier to int. svn path=/trunk/; revision=28370
* When spawning an editor, set the initial editability from the target book,Hans Petter Jansson2005-01-102-2/+8
| | | | | | | | | | 2005-01-10 Hans Petter Jansson <hpj@novell.com> * gui/widgets/e-minicard.c (e_minicard_activate_editor): When spawning an editor, set the initial editability from the target book, not from the minicard's own (usually stale, useless) editable state. svn path=/trunk/; revision=28308
* install schemas properlyJP Rosevear2005-01-072-1/+5
| | | | | | | | 2005-01-06 JP Rosevear <jpr@novell.com> * gui/component/Makefile.am: install schemas properly svn path=/trunk/; revision=28259
* Fixing bug 61068 (removing a white space in a string)Andre Klapper2005-01-032-1/+6
| | | | | | | | | 2004-12-21 Andre Klapper <a9016009@gmx.de> * tools/evolution-addressbook-export.c: Fixing bug 61068 (removing a white space in a string) svn path=/trunk/; revision=28211
* Merge from offline brnachSivaiah Nallagatla2004-12-244-12/+104
| | | | svn path=/trunk/; revision=28194
* This is the last we see of ESelectNames.Hans Petter Jansson2004-12-2330-7290/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-23 Hans Petter Jansson <hpj@novell.com> This is the last we see of ESelectNames. * gui/component/select-names/Evolution-Addressbook-SelectNames.idl * gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in * gui/component/select-names/Makefile.am * gui/component/select-names/e-select-names-bonobo.c * gui/component/select-names/e-select-names-bonobo.h * gui/component/select-names/e-select-names-completion.c * gui/component/select-names/e-select-names-completion.h * gui/component/select-names/e-select-names-config-keys.h * gui/component/select-names/e-select-names-config.c * gui/component/select-names/e-select-names-config.h * gui/component/select-names/e-select-names-factory.c * gui/component/select-names/e-select-names-factory.h * gui/component/select-names/e-select-names-manager.c * gui/component/select-names/e-select-names-manager.h * gui/component/select-names/e-select-names-marshal.list * gui/component/select-names/e-select-names-model.c * gui/component/select-names/e-select-names-model.h * gui/component/select-names/e-select-names-popup.c * gui/component/select-names/e-select-names-popup.h * gui/component/select-names/e-select-names-section.etspec * gui/component/select-names/e-select-names-table-model.c * gui/component/select-names/e-select-names-table-model.h * gui/component/select-names/e-select-names-text-model.c * gui/component/select-names/e-select-names-text-model.h * gui/component/select-names/e-select-names.c * gui/component/select-names/e-select-names.etspec * gui/component/select-names/e-select-names.h * gui/component/select-names/recipient.glade * gui/component/select-names/select-names.glade: Begone. svn path=/trunk/; revision=28191
* No more select-names. (libevolution_addressbook_la_LIBADD): RemoveHans Petter Jansson2004-12-234-18/+13
| | | | | | | | | | | | | | | | 2004-12-23 Hans Petter Jansson <hpj@novell.com> * gui/component/Makefile.am (SUBDIRS): No more select-names. (libevolution_addressbook_la_LIBADD): Remove libeselectnames.la. * gui/component/component-factory.c (factory): Remove the select-names component. * gui/contact-list-editor/Makefile.am (IDL) (IDL_GENERATED_H) (selectnamesdir): No longer needed, so removed. svn path=/trunk/; revision=28188
* Unref the name selector. (e_contact_list_editor_save_contact): Fix aHans Petter Jansson2004-12-235-71/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-22 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_dispose): Unref the name selector. (e_contact_list_editor_save_contact): Fix a warning. (add_to_model): Take a list instead of a vector of destinations. (select_names_ok_cb): Adapt to new name selector. (setup_corba): Renamed to setup_name_selector () and adapted. (select_cb): Adapt to new name selector. * addressbook/gui/contact-list-editor/e-contact-list-editor.h: Adapt to new name selector and remove CORBA/Bonobo. * addressbook/gui/widgets/eab-popup.c (eabp_target_free) (eabp_popup_target_new_select_names): #ifdef out code that depended on the old name selector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * calendar/gui/Makefile.am (IDLS) (SELECT_NAMES_IDL_GENERATED_H) (SELECT_NAMES_IDL_GENERATED_C) (SELECT_NAMES_IDL_GENERATED) (IDL_GENERATED): Remove the addressbook IDL. * calendar/gui/e-meeting-list-view.c (e_meeting_list_finalize) (add_section) (e_meeting_list_view_init) (process_section) (name_selector_dialog_close_cb) (get_select_name_dialog): Adapt to new ENameSelector. * calendar/gui/e-select-names-editable.c (esne_start_editing) (esne_finalize) (esne_init) (e_select_names_editable_get_type) (entry_activate) (e_select_names_editable_construct) (e_select_names_editable_get_address) (e_select_names_editable_get_name) (e_select_names_editable_set_address): Adapt to new ENameSelector. * calendar/gui/e-select-names-renderer.c (e_select_names_renderer_editing_done) (e_select_names_renderer_activated) (e_select_names_renderer_start_editing): Adapt to new ENameSelector. * calendar/gui/dialogs/alarm-dialog.c (malarm_widgets_to_alarm) (addressbook_clicked_cb) (addressbook_response_cb) (setup_select_names) (check_custom_email) (malarm_addresses_changed_cb): Adapt to new ENameSelector. * calendar/gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_finalize) (e_delegate_dialog_construct) (addressbook_clicked_cb) (addressbook_response_cb) (e_delegate_dialog_get_delegate) (e_delegate_dialog_get_delegate_name): Adapt to new ENameSelector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * composer/e-msg-composer-hdrs.c (addressbook_dialog_response) (setup_corba) (setup_name_selector) (address_button_clicked_cb) (addressbook_entry_changed) (create_addressbook_entry) (destroy) (e_msg_composer_hdrs_new) (destinations_to_name_selector_entry) (e_msg_composer_hdrs_set_to) (e_msg_composer_hdrs_set_cc) (e_msg_composer_hdrs_set_bcc) (destination_list_to_destv) (e_msg_composer_hdrs_get_to) (e_msg_composer_hdrs_get_cc) (e_msg_composer_hdrs_get_bcc): Adapt to new ENameSelector. svn path=/trunk/; revision=28186
* api changes.Not Zed2004-12-224-3/+13
| | | | | | | | | | | | | | 2004-12-17 Not Zed <NotZed@Ximian.com> * util/ea-popup.c (emp_standard_menu_factory): * gui/component/select-names/e-select-names.c (section_right_click_cb): * gui/component/addressbook-view.c (popup_event_callback): * gui/widgets/e-addressbook-view.c (do_popup_menu): api changes. svn path=/trunk/; revision=28176
* Fixes #61975JP Rosevear2004-12-222-20/+7
| | | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> Fixes #61975 * gui/widgets/test-reflow.c: kill translated strings that were #if 0'd anyhow svn path=/trunk/; revision=28172
* Fix spacingJP Rosevear2004-12-211-1/+2
| | | | svn path=/trunk/; revision=28163
* convert to G_DEFINE_TYPEJP Rosevear2004-12-214-31/+27
| | | | | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> * gui/search/e-addressbook-search-dialog.c: convert to G_DEFINE_TYPE * gui/widgets/gal-view-factory-minicard.c: ditto * gui/widgets/gal-view-factory-treeview.c: ditto svn path=/trunk/; revision=28162
* set the window title based upon the sourceJain Vivek2004-12-152-1/+10
| | | | | | | * gui/component/addressbook-config.c (addressbook_config_edit_source): set the window title based upon the source svn path=/trunk/; revision=28128
* addressbook/gui/component/addressbook-migrate.cHans Petter Jansson2004-12-0914-1395/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-08 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/component/addressbook-migrate.c * addressbook/gui/component/select-names/e-select-names-completion.c * addressbook/gui/component/select-names/e-select-names-manager.c * addressbook/gui/component/select-names/e-select-names-model.h * addressbook/gui/contact-list-editor/e-contact-list-editor.h * addressbook/gui/contact-list-editor/e-contact-list-model.h * addressbook/gui/widgets/e-minicard.c * addressbook/gui/widgets/eab-gui-util.c * addressbook/importers/evolution-ldif-importer.c * addressbook/importers/evolution-vcard-importer.c: Include <libebook/e-destination.h> from evolution-data-server. * addressbook/util/Makefile.am: Remove e-destination.[ch] from here. * addressbook/util/e-destination.[ch]: Removed. * plugins/shared-folder/share-folder-common.c: Include <libebook/e-destination.h> from evolution-data-server. * calendar/gui/e-meeting-list-view.c * calendar/gui/e-select-names-editable.c * calendar/gui/dialogs/alarm-dialog.c * calendar/gui/dialogs/e-delegate-dialog.c: Include <libebook/e-destination.h> from evolution-data-server. * composer/e-msg-composer-hdrs.h: Include <libebook/e-destination.h> from evolution-data-server. * mail/importers/pine-importer.c: Include <libebook/e-destination.h> from evolution-data-server. svn path=/trunk/; revision=28094
* some strcasecmp() calls changed with g_ascii_strcasecmp() for TurkishS.Çaglar Onur2004-12-092-2/+10
| | | | | | | | | | | | 2004-12-08 S.Çaglar Onur <caglar@uludag.org.tr> * evolution-2.0.2/addressbook/gui/contact-editor/e-contact-editor.c (get_ui_slot_param) (get_attributes_named): some strcasecmp() calls changed with g_ascii_strcasecmp() for Turkish character conversiton problems [ http://www.i18nguy.com/unicode/turkish-i18n.html ] svn path=/trunk/; revision=28092
* set the active item based on the current group.Not Zed2004-12-062-2/+12
| | | | | | | | | 2004-12-06 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-config.c (eabc_general_type): set the active item based on the current group. svn path=/trunk/; revision=28070
* remove camel, add ADDRESSBOOK_LIBS.Not Zed2004-12-037-6/+20
| | | | | | | | | | | | | | | | | | | | 2004-11-16 Not Zed <NotZed@Ximian.com> * util/Makefile.am (libeabutil_la_LIBADD): remove camel, add ADDRESSBOOK_LIBS. * conduit/Makefile.am (libeaddress_conduit_la_LIBADD): remove camel. * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): remove camel. 2004-11-15 Not Zed <NotZed@Ximian.com> * *.c: Moved various things from e-util to libedataserver, where appropriate. svn path=/trunk/; revision=28048
* save the uid and set it again in the contact. Otherwise, there isSivaiah Nallagatla2004-12-022-1/+16
| | | | | | | | | | | 2004-12-01 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.c (save_contact) : save the uid and set it again in the contact. Otherwise, there is possibility we trying to save the contact wiht out UID, as we destory the contact and create new one when data is wrong svn path=/trunk/; revision=28033
* Define new list for storing required fieldsSivaiah Nallagatla2004-11-293-13/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-28 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.h : Define new list for storing required fields * gui/contact-editor/e-contact-editor.c (e_contact_editor_class_init) : install new REQUIRED_FIELDS property (e_contact_editor_set_property) (e_contact_editor_get_property) : added handling for new RQUIRED_FIELDS_PROPERTY (e_contact_editor_dispose) : unref the new required_fields member (required_fields_cb) : call back to set required fields into contact editor (is_non_string_field) : new method to detect whether a particular field in contact is a string or not (e_contact_editor_is_valid) : check for presence of all required fields (save_contact) : extract all the data before calling e_contact_editor_is_valid so that it can check for required fields. Clean up the contact if there is an error svn path=/trunk/; revision=28007
* Setting addressbook empty messages based on the type of addressbook.Sushma Rai2004-11-272-6/+26
| | | | svn path=/trunk/; revision=28004
* get image directly from icon factoryJP Rosevear2004-11-263-14/+10
| | | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * gui/component/select-names/e-select-names-popup.c (populate_popup_contact): get image directly from icon factory * gui/contact-editor/e-contact-editor-im.c (setup_service_optmenu): ditto svn path=/trunk/; revision=28000
* add "labelled by" between entry and label, make accessbility work. addHao Sheng2004-11-253-0/+178
| | | | | | | | | | | | 2004-11-25 Hao Sheng <hao.sheng@sun.com> * gui/contact-editor/contact-editor.glade: add "labelled by" between entry and label, make accessbility work. * gui/contact-editor/e-contact-editor.c: (e_contact_editor_create_web): add accessible name to e_url_entry. svn path=/trunk/; revision=27986
* Add bug # reference to last entryRodney Dawes2004-11-231-0/+2
| | | | svn path=/trunk/; revision=27964
* Evolution product name spelled with an uppercase EJoan Sanfeliu2004-11-233-3/+9
| | | | | | | | | | 2004-11-22 Joan Sanfeliu <joan@fibranet.com> * gui/component/apps_evolution_addressbook.schemas.in.in: * gui/component/ldap-config.glade : Evolution product name spelled with an uppercase E svn path=/trunk/; revision=27963
* Fix name attribute values to be identicalRodney Dawes2004-11-232-1/+8
| | | | | | | | | | | 2004-11-22 Rodney Dawes <dobey@novell.com> * importers/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: Fix name attribute values to be identical Fixes #61976 svn path=/trunk/; revision=27960
* reverting commitSivaiah Nallagatla2004-11-223-72/+12
| | | | svn path=/trunk/; revision=27954
* added message which gets prompted when user tries to access a book whichSivaiah Nallagatla2004-11-221-0/+5
| | | | | | | | | | | | | | | | | | | 2004-11-21 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/eab-gui-util.c (eab_load_error_dialog) : added message which gets prompted when user tries to access a book which is not available in offline mode * gui/component/addressbook-config.c (eabc_general_offline) (offline_status_changed_cb) : added a new check box to properties page to mark a book for offline usage * gui/component/addressbook.c (load_source_cb) : do no try to authenticate in case of offline mode. (auth_required_cb) : new call back which gets called when backend sends notification for password to client svn path=/trunk/; revision=27953
* added message which gets prompted when user tries to access a book whichSivaiah Nallagatla2004-11-224-12/+87
| | | | | | | | | | | | | | | | | | | 2004-11-21 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/eab-gui-util.c (eab_load_error_dialog) : added message which gets prompted when user tries to access a book which is not available in offline mode * gui/component/addressbook-config.c (eabc_general_offline) (offline_status_changed_cb) : added a new check box to properties page to mark a book for offline usage * gui/component/addressbook.c (load_source_cb) : do no try to authenticate in case of offline mode. (auth_required_cb) : new call back which gets called when backend sends notification for password to client svn path=/trunk/; revision=27952
* When name is NULL query against complete email id instead of user nameSivaiah Nallagatla2004-11-182-7/+16
| | | | | | | | | | | | | 2004-11-07 Sivaiah Nallagatla <snallagatla@novell.com> * util/eab-book-util.c (eab_name_and_email_query) : When name is NULL query against complete email id instead of user name part to take care of users@foo.org not matching against users@bar.org . Also include query based on name always Fix for #67656 svn path=/trunk/; revision=27937
* update to generated fileMichael Zucci2004-11-121-1/+1
| | | | svn path=/trunk/; revision=27900
* Fixes bug #61966.Andre Klapper2004-11-092-1/+7
| | | | | | | | | | 2004-11-08 Andre Klapper <a901600@gmx.de> Fixes bug #61966. * addressbook-errors.xml: Add a missing word to a string. svn path=/trunk/; revision=27867
* rename and make it a public function. (e_minicard_event): changeSteven Zhang2004-11-083-23/+31
| | | | | | | | | | | 2004-11-08 Steven Zhang <steven.zhang@sun.com> * gui/widgets/e-minicard.c: (e_minicard_activate_editor): rename and make it a public function. (e_minicard_event): change accordingly. * gui/widgets/e-minicard.h: ditto. svn path=/trunk/; revision=27860
* populate contact only afte we are sure that data is valid and we canSivaiah Nallagatla2004-11-082-2/+8
| | | | | | | | | | | 2004-11-04 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.c (save_contact) : populate contact only afte we are sure that data is valid and we can create that. Fixes #69079 svn path=/trunk/; revision=27858
* Translate the category pretty names that we pass for creation of new menuRodney Dawes2004-11-082-2/+11
| | | | | | | | | | | | | 2004-11-07 Rodney Dawes <dobey@novell.com> * gui/contact-editor/e-contact-editor.c (init_email_record_location, init_im_record_location): Translate the category pretty names that we pass for creation of new menu item entries for the E-Mail and IM dropdown selections Partially fixes bug #66854 svn path=/trunk/; revision=27856
* fix for bugzilla #44876mengjie yu2004-11-042-0/+19
| | | | | | | | | | | 2004-11-04 mengjie yu <meng-jie.yu@sun.com> fix for bugzilla #44876 * gui/component/select-names/e-select-names-manager.c: (e_select_names_manager_entry_new):add a atk name for the entry. svn path=/trunk/; revision=27829
* popup right-click menu after pressing Shift+F10.Hao Sheng2004-11-022-0/+12
| | | | | | | | | 2004-11-2 Hao Sheng <hao.sheng@sun.com> * gui/widgets/e-minicard-view.c: popup right-click menu after pressing Shift+F10. svn path=/trunk/; revision=27791
* Don't show error dialogs when status code is E_BOOK_ERROR_CANCELLED. WeSivaiah Nallagatla2004-11-022-2/+10
| | | | | | | | | | | | 2004-11-01 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/eab-gui-util.c (added_cb) (_modified_cb) : Don't show error dialogs when status code is E_BOOK_ERROR_CANCELLED. We don't wabt to show "Error adding contact, Cancelled" dialogs when user cancels duplicated contact detected dialog. svn path=/trunk/; revision=27790
* Fixing a typo (bug 61069).Andre Klapper2004-10-282-1/+6
| | | | | | | | | 2004-10-27 Andre Klapper <a9016009@gmx.de> * tools/evolution-addressbook-export.c: Fixing a typo (bug 61069). svn path=/trunk/; revision=27738
* Fixes #61972.Andre Klapper2004-10-272-1/+8
| | | | | | | | | | | 2004-10-26 Andre Klapper <a9016009@gmx.de> Fixes #61972. * addressbook/gui/contact-editor/e-contact-editor-address.c: Typo in country name: was "Grena-dines", now "Grenadines". svn path=/trunk/; revision=27731
* Display mutlivalued contact attributes in the preview. (render_contact):Nat Friedman2004-10-262-6/+26
| | | | | | | | | | | 2004-10-25 Nat Friedman <nat@novell.com> * gui/widgets/eab-contact-display.c (accum_multival_attribute): Display mutlivalued contact attributes in the preview. (render_contact): Render all IM fields using the new multival function. svn path=/trunk/; revision=27720
* Added the bbdb plugin.Nat Friedman2004-10-221-0/+1
| | | | | | | | | | 2004-10-22 Nat Friedman <nat@novell.com> * configure.in: Added the bbdb plugin. Man, hacking is fun. svn path=/trunk/; revision=27690
* correct hook name typoJP Rosevear2004-10-223-1/+5
| | | | | | | | | | | 2004-10-21 JP Rosevear <jpr@novell.com> * gui/widgets/eab-config.c (ecph_class_init): correct hook name typo * gui/component/addressbook-view.c: add appropriate popup icons svn path=/trunk/; revision=27688
* add appropriate popup iconsJP Rosevear2004-10-212-2/+8
| | | | | | | | 2004-10-21 JP Rosevear <jpr@novell.com> * gui/component/addressbook-view.c: add appropriate popup icons svn path=/trunk/; revision=27670
* fix a past-o for no-ldap case.Not Zed2004-10-212-1/+6
| | | | | | | | | 2004-10-21 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-config.c (addressbook_config_edit_source): fix a past-o for no-ldap case. svn path=/trunk/; revision=27669
* forgot to commitMichael Zucci2004-10-212-0/+272
| | | | svn path=/trunk/; revision=27667
* register config hook.Not Zed2004-10-216-809/+647
| | | | | | | | | | | | | | | | | | | | | 2004-10-20 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-component.c (addressbook_component_init): register config hook. * gui/component/addressbook-config.c: mostly re-written to use econfig. (query_for_supported_bases): convert to gtktreeview. * gui/widgets/eab-config.c (ecp_set_target): hook onto source changed. (ecp_source_changed): propagate changed state info. (ecp_class_init): setup private data. 2004-10-19 Not Zed <NotZed@Ximian.com> * gui/widgets/eab-menu.c (eabm_target_free): don't unref null book. svn path=/trunk/; revision=27666
* convert to org.gnome hook namesJP Rosevear2004-10-206-12/+19
| | | | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * gui/component/addressbook-view.c, gui/component/select-names/e-select-names.c, gui/widgets/e-addressbook-view.c, gui/widgets/eab-menu.c, gui/widgets/eab-popup.c: convert to org.gnome hook names svn path=/trunk/; revision=27637
* add EAB_POPUP_SELECT_ANY mask instead of EAB_POPUP_SELECT_MANY, so thatSivaiah Nallagatla2004-10-152-9/+16
| | | | | | | | | | | 2004-10-15 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-view.c : add EAB_POPUP_SELECT_ANY mask instead of EAB_POPUP_SELECT_MANY, so that all the options like Save as, Forward etc are enabled even single contact is selected. svn path=/trunk/; revision=27593
* uncomment HANDLE_MAILTO_INTERNALLY define so that we will launch composerSivaiah Nallagatla2004-10-152-1/+8
| | | | | | | | | | | 2004-10-15 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/eab-contact-display.c : uncomment HANDLE_MAILTO_INTERNALLY define so that we will launch composer through bonobo instead of using gnome_url_show svn path=/trunk/; revision=27592
* added an any select mask and updated the hook maps.Not Zed2004-10-1510-4/+453
| | | | | | | | | | | | | | | | | | | 2004-10-15 Not Zed <NotZed@Ximian.com> * gui/widgets/eab-popup.c: added an any select mask and updated the hook maps. * gui/component/addressbook-component.c (addressbook_component_init): register the addressbook hooks. * gui/component/addressbook-view.c (addressbook_view_init): setup the menu manager. (control_activate_cb): activate the menu manager. (update_command_state): and update the menu manager. * gui/widgets/eab-menu.[ch]: Added menu manager class. svn path=/trunk/; revision=27589
* find source selector and option menu in libedataserveruiJP Rosevear2004-10-1410-9/+32
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-13 JP Rosevear <jpr@novell.com> * importers/evolution-vcard-importer.c: find source selector and option menu in libedataserverui * importers/evolution-ldif-importer.c: ditto * gui/widgets/eab-popup.c: ditto * gui/widgets/eab-gui-util.c: ditto * gui/contact-list-editor/e-contact-list-editor.c: ditto * gui/contact-editor/e-contact-editor.c: ditto * gui/component/select-names/e-select-names.h: ditto * gui/component/autocompletion-config.c: ditto * gui/component/addressbook-view.c: ditto svn path=/trunk/; revision=27568
* Don't unref the view - removing it from the hash table will do this forHans Petter Jansson2004-10-122-3/+10
| | | | | | | | | | | | 2004-10-11 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-view.c (source_list_changed_cb): Don't unref the view - removing it from the hash table will do this for us. Remove from hash table after removing the notebook page. (addressbook_view_init): Unref views when removed from the hash table. svn path=/trunk/; revision=27539
* fix for e-popup api changes. Moved all mask specifiers to visible ratherNot Zed2004-10-079-43/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-06 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-view.c (popup_event_callback): * gui/component/select-names/e-select-names.c (section_right_click_cb): * gui/widgets/e-addressbook-view.c (do_popup_menu): fix for e-popup api changes. Moved all mask specifiers to visible rather than enable in the menu table. 2004-10-06 Not Zed <NotZed@Ximian.com> * gui/contact-editor/e-contact-editor.c: removed gnome-popup-menu.h (unused). * gui/widgets/e-addressbook-reflow-adapter.c: * gui/widgets/eab-popup-control.c: remove e-popup-menu.h (unused). * gui/component/select-names/e-select-names.c (section_right_click_cb): use e-popup. Somewhat overengineered for this use ... (remove_cb): api changes. * gui/widgets/eab-popup.c (eab_popup_target_new_select_names): added pretty useless wrapper for the select names popup. Added to hook maps. svn path=/trunk/; revision=27488
* convert to using EABPopup. (sources): remove dead code.Not Zed2004-10-068-356/+675
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-01 Not Zed <NotZed@Ximian.com> * gui/widgets/e-addressbook-view.c (do_popup_menu): convert to using EABPopup. (sources): remove dead code. (has_email_address_1, get_has_email_address): removed now redundant code. (save_as, send_as, send_to, print, copy, paste, cut, delete) (copy_to_folder, move_to_folder, new_card, new_list): new api. (free_popup_info): dead. (print_envelope): not pining. (get_contact_list): take a popup target instead, don't ref. (get_contact_list_1): not required no more. (contact_and_book_free): same. (delete): call eab_view_delete_selection. (eab_view_delete_selection): do the actual delete here. * gui/widgets/eab-popup.c (eab_popup_target_new_select): implement. 2004-10-01 Not Zed <NotZed@Ximian.com> * gui/widgets/eab-popup.[ch]: addressbook popup driver. * gui/component/addressbook-view.c (delete_addressbook_cb): use e-error for the message prompt. don't bother keeping it around, it can never be re-sensitised anyway. (book_removed): no longer destroy the original dialogue. * addressbook-errors.xml: add ask-delete for deleting addressbooks. * gui/component/addressbook-view.c (addressbook_view_init): connect to popup_event rather than fill_popup_menu now. (fill_popup_menu_callback): renamed to popup_event_callback, changed to use epopup. (add_popup_menu_item): remove, no longer needed. svn path=/trunk/; revision=27466
* Fixes bug #66520.Not Zed2004-09-302-5/+8
| | | | | | | | | | | | 2004-09-29 Not Zed <NotZed@Ximian.com> Fixes bug #66520. * gui/widgets/e-addressbook-view.c (eab_view_dispose): don't unref the contact_display_window, it will be destroyed by being parented. svn path=/trunk/; revision=27431
* Fixes bug #66369.Hans Petter Jansson2004-09-302-26/+41
| | | | | | | | | | | 2004-09-29 Hans Petter Jansson <hpj@ximian.com> Fixes bug #66369. * util/eab-book-util.c (eab_contact_list_from_string): Make the vcard splitter work with any amount of blank lines between vcards. svn path=/trunk/; revision=27429
* Fixes bug #65537.Hans Petter Jansson2004-09-302-2/+20
| | | | | | | | | | | 2004-09-29 Hans Petter Jansson <hpj@ximian.com> Fixes bug #65537. * gui/merging/eab-contact-compare.c (query_cb): Protect against NULL UIDs, and make fewer calls to e_contact_get_const () as a bonus. svn path=/trunk/; revision=27428
* Fix for #66523Hao Sheng2004-09-244-0/+39
| | | | | | | | | | | | | | 2004-09-24 Hao Sheng <hao.sheng@sun.com> Fix for #66523 * gui/contact-list-editor/e-contact-list-model.c: (e_contact_list_model_add_email): estimate the same mail address and popup a warning dialog. * addressbook-errors.xml: add the question message for the warning dialog. svn path=/trunk/; revision=27360
* Fixes #61978Pamplona Hackers2004-09-242-1/+8
| | | | | | | | | | | 2004-09-23 Pamplona Hackers <gnome-desarrollo@es.gnome.org> Fixes #61978 * tools/evolution-addressbook-export.c (main): use more meaningful error message. svn path=/trunk/; revision=27349
* Changed the string into proper grammar 'In normal mode, there should notFazlu & Hannah2004-09-242-1/+8
| | | | | | | | | | | 2004-09-23 Fazlu & Hannah <hannah_lins@yahoo.co.in> * tools/evolution-addressbook-export.c (main): Changed the string into proper grammar 'In normal mode, there should not need size option.' to 'In normal mode, there is no need for the size option.' svn path=/trunk/; revision=27347
* only set the file as address to the company if no full name existsJP Rosevear2004-09-242-4/+19
| | | | | | | | | | | | | | | 2004-09-23 JP Rosevear <jpr@novell.com> * conduit/address-conduit.c (ecard_from_remote_record): only set the file as address to the company if no full name exists (delete_record): don't bail out if the record simply isn't found Fixes #59725 * conduit/address-conduit.c (local_record_from_uid): remove extraneous semicolon svn path=/trunk/; revision=27344
* Quiet debug messages.William Jon McCann2004-09-224-8/+34
| | | | | | | | | | | | | | | | 2004-09-21 William Jon McCann <mccann@jhu.edu> * gui/component/component-factory.c (factory): Quiet debug messages. * gui/widgets/e-addressbook-view.c (eab_view_new): Remove unnecessary label widget placeholder. Make vertical scrollbar policy automatic. Use gtk_paned_add2 instead of gtk_container_add. * gui/component/apps_evolution_addressbook.schemas.in.in: Add missing show_preview schema. Add missing long descriptions. svn path=/trunk/; revision=27325
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-202-0/+6
| | | | svn path=/trunk/; revision=27300
* Point at the correct XML file for documentationRodney Dawes2004-09-142-1/+6
| | | | | | | | | 2004-09-13 Rodney Dawes <dobey@novell.com> * gui/contact-editor/e-contact-editor.c (show_help_cb): Point at the correct XML file for documentation svn path=/trunk/; revision=27255
* check for _LABEL type address fields also in supported fileds whileSivaiah Nallagatla2004-09-132-1/+9
| | | | | | | | | | | 2004-09-13 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.c (sensitize_address) : check for _LABEL type address fields also in supported fileds while sensitizing the address fields svn path=/trunk/; revision=27242
* Fix empty log.JP Rosevear2004-09-131-0/+6553
| | | | svn path=/trunk/; revision=27241
* Fixes #63191JP Rosevear2004-09-132-6547/+1
| | | | | | | | | | | 2004-09-03 JP Rosevear <jpr@novell.com> Fixes #63191 * gui/contact-list-editor/contact-list-editor.glade: set the title properly svn path=/trunk/; revision=27221
* ** See bug #64080.Not Zed2004-09-092-0/+8
| | | | | | | | | | | 2004-09-08 Not Zed <NotZed@Ximian.com> ** See bug #64080. * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): link addressbook to camel. svn path=/trunk/; revision=27191
* add new widget variable contact_dsiplay_window to _EABView strcut toSivaiah Nallagatla2004-09-073-11/+30
| | | | | | | | | | | | | | | | | | 2004-09-04 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-view.h : add new widget variable contact_dsiplay_window to _EABView strcut to store. Remove unused scrolled varible * gui/widgets/e-addressbook-view.c (eab_view_init) (eab_view_dispose) : initialize and unref the new widget added (eab_view_new) : remove the loca variable scrlled_window instead use eav->contact_display_window (eab_view_show_contact_preview) : show/hide contact_display_window instead of contact_display Fixes #64024 svn path=/trunk/; revision=27168
* ** See bug #62856 (workaround).Not Zed2004-08-302-1/+6
| | | | | | | | | | | 2004-08-27 Not Zed <NotZed@Ximian.com> ** See bug #62856 (workaround). * gui/component/addressbook.c (addressbook_authenticate): add online flag to password request. svn path=/trunk/; revision=27076
* ** See bug #64011.Not Zed2004-08-302-1/+9
| | | | | | | | | | | | 2004-08-27 Not Zed <NotZed@Ximian.com> ** See bug #64011. * gui/component/addressbook-view.c (edit_addressbook_cb): Remove double ;; in declaration section (c99 extension). From Vincent Noel <vnoel@cox.net>. svn path=/trunk/; revision=27073
* Really fixes #61833 and #63697.Hans Petter Jansson2004-08-272-1/+8
| | | | | | | | | | | 2004-08-26 Hans Petter Jansson <hpj@ximian.com> Really fixes #61833 and #63697. * gui/component/select-names/e-select-names.etspec: Fetch values from column 86 (NAME_OR_ORG), instead of 2 (FILE_AS). svn path=/trunk/; revision=27041
* [ patch for the rest of 60889 ] new function, either start up the query orChris Toshok2004-08-272-7/+66
| | | | | | | | | | | | | | | | | | | | 2004-08-26 Chris Toshok <toshok@ximian.com> [ patch for the rest of 60889 ] * gui/merging/eab-contact-merging.c (add_lookup): new function, either start up the query or add it to the queue if we're over the number of simultaneous queries. (finished_lookup): start up enough pending queries to get us to our limit again. (free_lookup): free lookup->avoid. (final_id_cb): call finished_lookup. (eab_merging_book_add_contact): set lookup->avoid to NULL and replace call to eab_contact_locate_match_full with add_lookup. (eab_merging_book_commit_contact): set lookup->avoid to the contact, and make the same s/eab_contact_locate_match_full/add_lookup/ replacement. svn path=/trunk/; revision=27038
* Don't mark component menu accels for translation.Christian Neumair2004-08-272-1/+6
| | | | svn path=/trunk/; revision=27036
* disbale the display name widget in case of groupwise as we can not handleSivaiah Nallagatla2004-08-262-2/+16
| | | | | | | | | | | | 2004-08-25 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook-config.c (source_to_dialog) : disbale the display name widget in case of groupwise as we can not handle renames as of now (dialog_to_source) also copy "use_ssl" property to new source so that new books also use ssl svn path=/trunk/; revision=27023
* May fix #61833.Hans Petter Jansson2004-08-252-1/+10
| | | | | | | | | | | | | 2004-08-25 Hans Petter Jansson <hpj@ximian.com> May fix #61833. * gui/component/select-names/e-select-names-table-model.c (fill_in_info): Get E_CONTACT_NAME_OR_ORG (first found from File As, Full Name, Organization, Email 1) for the "name" field. Hopefully will prevent most cases of blank entries. svn path=/trunk/; revision=27022
* Don't call gtk_dialog_set_has_separator on Gtk Message Dialog with GTK+ >=Frédéric Crozat2004-08-253-2/+8
| | | | | | | | * gui/component/addressbook-view.c: (delete_addressbook_cb): Don't call gtk_dialog_set_has_separator on Gtk Message Dialog with GTK+ >= 2.4.0. svn path=/trunk/; revision=27016
* remove the dead ldap config control stuff.Chris Toshok2004-08-222-6/+5
| | | | | | | | | 2004-08-20 Chris Toshok <toshok@ximian.com> * gui/component/component-factory.c (factory): remove the dead ldap config control stuff. svn path=/trunk/; revision=26984
* Fixes bug #62715.Hans Petter Jansson2004-08-212-10/+47
| | | | | | | | | | | | | 2004-08-20 Hans Petter Jansson <hpj@ximian.com> Fixes bug #62715. * gui/contact-editor/e-contact-editor.c (fill_in_address_label_textview): Implement. (fill_in_address_field): If structured address information is not available, try putting the "label" blob in the free-form field. svn path=/trunk/; revision=26980
* Makes the contact image selector use GtkFileChooser if available.Hans Petter Jansson2004-08-212-12/+65
| | | | | | | | | | | | | | | | | | | 2004-08-19 Hans Petter Jansson <hpj@ximian.com> Makes the contact image selector use GtkFileChooser if available. * gui/contact-editor/e-contact-editor.c (image_selected_cb): Take just the editor as an argument, so we can call from other places without having to supply dummy args. Rename to image_selected, since it's no longer strictly a callback. Include optional code to use the new GtkFileChooser. (image_cleared_cb): Ditto. Rename to image_cleared. (file_chooser_response): Optional response handling for GtkFileChooser. (image_clicked): Include optional code to use the new GtkFileChooser. Move common strings to variables. For GtkFileSelection, swap callback parameters for the modified image_selected () and image_cleared (). svn path=/trunk/; revision=26979
* [ likely fixes #61500 ] remove the secondary text, since we don't have theChris Toshok2004-08-203-20/+69
| | | | | | | | | | | | | | | | 2004-08-19 Chris Toshok <toshok@ximian.com> [ likely fixes #61500 ] * addressbook-errors.xml (remove-addressbook): remove the secondary text, since we don't have the gerror text to supply it anymore. * gui/component/addressbook-view.c (book_removed): new function, move the error handling here. (delete_addressbook_cb): create a closure with necessary data, and call the e_book_async_remove instead of e_book_remove. svn path=/trunk/; revision=26975
* select names dialog can not be modal as password dialogs can come up whileSivaiah Nallagatla2004-08-192-1/+9
| | | | | | | | | | | | 2004-08-18 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/select-names/e-select-names.c (e_select_names_init) : select names dialog can not be modal as password dialogs can come up while user is in this dialog for address books which require authentication like groupwise and LDAP FIxes #63257 svn path=/trunk/; revision=26971
* Remove the custom prompt-to-save dialogs from here - useHans Petter Jansson2004-08-172-53/+22
| | | | | | | | | | | 2004-08-11 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (app_delete_event_cb): Remove the custom prompt-to-save dialogs from here - use eab_prompt_save_dialog (), and then only if the contact actually changed. svn path=/trunk/; revision=26950
* reinstate the ngettext patch that was part of the #53464 commit ofChris Toshok2004-08-172-2/+11
| | | | | | | | | | 2004-08-16 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-gui-util.c (eab_show_multiple_contacts): reinstate the ngettext patch that was part of the #53464 commit of 2004-03-24 by dsegan@gmx.net. svn path=/trunk/; revision=26949
* Commit the correct version of carlos's patch.JP Rosevear2004-08-131-6/+6
| | | | svn path=/trunk/; revision=26914
* Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0Carlos Garnacho Parro2004-08-131-38/+97
| | | | | | | | | 2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org> * gui/widgets/eab-gui-util.c: Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0 svn path=/trunk/; revision=26904
* Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0Carlos Garnacho Parro2004-08-131-1/+5
| | | | | | | | | 2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org> * gui/widgets/eab-gui-util.c: Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0 svn path=/trunk/; revision=26900
* e passwords api change/reprompt if we need to.Not Zed2004-08-122-3/+10
| | | | | | | | | 2004-08-10 Not Zed <NotZed@Ximian.com> * gui/component/addressbook.c (addressbook_authenticate): e passwords api change/reprompt if we need to. svn path=/trunk/; revision=26881
* just revering a local change gone in in the commit i just madeSivaiah nallagatla2004-08-122-3/+8
| | | | | | | | | 2004-08-12 Sivaiah nallagatla <snallagatla@novell.com> * gui/compoent/addressbook.c : just revering a local change gone in in the commit i just made svn path=/trunk/; revision=26877
* when user cancels auth dialog send the anonoymous query only in case ofSivaiah Nallagatla2004-08-123-3/+22
| | | | | | | | | | | | 2004-08-12 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addresbook.c (load_source_auth_cb) : when user cancels auth dialog send the anonoymous query only in case of ldap *gui/component/addresbook-view.c (book_open_cb) : no need to display the error dialog when user cancels that svn path=/trunk/; revision=26876
* #include <gtk/gtkvbox.h>Rodney Dawes2004-08-042-0/+5
| | | | | | | | 2004-08-04 Rodney Dawes <dobey@novell.com> * gui/widgets/eab-popup-control.c: #include <gtk/gtkvbox.h> svn path=/trunk/; revision=26822
* Fixes #60529.Hans Petter Jansson2004-08-042-6/+46
| | | | | | | | | | | | | | | | | | | 2004-08-02 Hans Petter Jansson <hpj@ximian.com> Fixes #60529. * gui/contact-list-editor/e-contact-list-editor.c (table_drag_drop_cb): Make sure to get the text/x-vcard target. 2004-08-02 Hans Petter Jansson <hpj@ximian.com> Fixes #62085. * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_class_init): Set the save_contact method. (e_contact_list_editor_save_contact): Implement. svn path=/trunk/; revision=26816
* get source uid (addrconduit_dupe_configuration): copy source_uidJP Rosevear2004-08-033-7/+60
| | | | | | | | | | | | | | | | | | | 2004-08-02 JP Rosevear <jpr@novell.com> * conduit/address-conduit.c (addrconduit_load_configuration): get source uid (addrconduit_dupe_configuration): copy source_uid (addrconduit_destroy_configuration): free source_uid (e_addr_context_new): get the source list (e_addr_context_destroy): unref the source list (pre_sync): open the source that was set earlier (fill_widgets): set the source option menu value (create_settings_window): pass source list to pilot settings (save_settings): save source uid * conduit/Makefile.am: link to and include misc. widgets svn path=/trunk/; revision=26799
* Make the main dialog here be an actual GtkDialog instead of a GtkWindowRodney Dawes2004-08-033-1306/+1294
| | | | | | | | | | | | | | | | | | | 2004-08-02 Rodney Dawes <dobey@novell.com> * gui/component/ldap-config.glade: Make the main dialog here be an actual GtkDialog instead of a GtkWindow Fix up a few small spacing issues with the UI Change "Contacts Group" to "Address Book" * gui/component/addressbook-config.c (query_for_supported_bases): Use gtk_widget_ensure_style instead of gtk_widget_realize (addressbook_add_server_dialog): Use gtk_widget_ensure_style on the dialog and fix the spacing and border width of the dialog containers Fixes #61365 svn path=/trunk/; revision=26795
* [ fixes #61365 and other misc issues with the addressbook source editors ]Chris Toshok2004-07-315-21/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-30 Chris Toshok <toshok@ximian.com> [ fixes #61365 and other misc issues with the addressbook source editors ] * gui/component/ldap-config.glade: change the supported-bases-dialog to be initially hidden. * gui/component/addressbook-view.c (editor_weak_notify): new function, remove the editor from our hash. (source_list_changed_cb): destroy the editors for given sources if they're up when the source disappears. (edit_addressbook_cb): add the editor (and some other misc info we need) to our uid_to_editor hash so we can look it up later. only create the editor if one doesn't exist for the given source. (destroy_editor): GHFunc that destroys the widgets. (addressbook_view_dispose): destroy uid_to_editor. (addressbook_view_init): init uid_to_editor. * gui/component/addressbook-config.h: change return values for _edit_source and _new_source - they both return GtkWidget*s now. * gui/component/addressbook-config.c (addressbook_ldap_init): attempt set the protocol version to LDAPv3. This makes the ldap_auth stuff work if the server requires v3. (addressbook_root_dse_query): we don't need the separate window arg, since all of this now happens *before* the supported bases dialog is shown. we just use the source dialog's window for the various error dialogs. (do_ldap_root_dse_query): same. (query_for_supported_bases): same, and set the supported bases dialog as transient-for the source dialog, and make it modal. Lastly, don't make the editor modal. (addressbook_config_edit_source): return the editor's window. (addressbook_config_create_new_source): same. svn path=/trunk/; revision=26778
* change contacts group to address bookJP Rosevear2004-07-263-5/+13
| | | | | | | | | | | | 2004-07-26 JP Rosevear <jpr@novell.com> * gui/component/ldap-config.glade: change contacts group to address book * gui/component/addressbook-component.c (impl__get_userCreatableItems): ditto svn path=/trunk/; revision=26736
* but buttons to button box, use vbox instead of tableRadek Doulik2004-07-225-51/+53
| | | | | | | | | | | | | | | 2004-07-19 Radek Doulik <rodo@ximian.com> * gui/widgets/eab-vcard-control.c (eab_vcard_control_new): but buttons to button box, use vbox instead of table * gui/widgets/eab-contact-display.c: base this widget directly on gtkhtml * gui/widgets/e-addressbook-view.c (eab_view_new): put contact display in scrolled window svn path=/trunk/; revision=26703
* include config.h #61395.Not Zed2004-07-224-0/+18
| | | | | | | | | | 2004-07-20 Not Zed <NotZed@Ximian.com> * gui/widgets/eab-contact-display.c: * gui/contact-editor/eab-editor.c: * gui/component/addressbook-migrate.c: include config.h #61395. svn path=/trunk/; revision=26693
* [ fixes #60508 ]Chris Toshok2004-07-223-40/+34
| | | | | | | | | | | | | | | 2004-07-21 Chris Toshok <toshok@ximian.com> [ fixes #60508 ] * gui/component/addressbook-config.h: reorder the Scopes so that they match the option menu. * gui/component/ldap-config.glade: change the scope option menu to only display One and Sub, and also set the Login field to Lo_gin in both dialogs. Add accelerators for the details page as well. svn path=/trunk/; revision=26692
* Give a reasonable name to the widget for the _Where labelRodney Dawes2004-07-223-2/+14
| | | | | | | | | | | | | | 2004-07-21 Rodney Dawes <dobey@novell.com> * gui/contact-editor/contact-editor.glade: Give a reasonable name to the widget for the _Where label * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Set the mnemonic widget for the _Where label Fixes #61544 svn path=/trunk/; revision=26691
* don't set the toggle selectionJP Rosevear2004-07-212-2/+8
| | | | | | | | | | 2004-07-20 JP Rosevear <jpr@novell.com> * gui/component/autocompletion-config.c (autocompletion_config_control_new): don't set the toggle selection svn path=/trunk/; revision=26681
* Check source book writeability directly instead of relying on storedHans Petter Jansson2004-07-203-35/+64
| | | | | | | | | | | | | | | | | | | | | | | | 2004-07-16 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (contact_added_cb) (save_contact) (app_delete_event_cb): Check source book writeability directly instead of relying on stored state. (e_contact_editor_init): Don't init source_editable. (e_contact_editor_dispose): We don't listen for source writeability anymore. (writable_changed): Source writeability doesn't affect widget status; remove code to check for it. (e_contact_editor_set_property): Do nothing if book being set is the same as currently set book; previously we would end up unreffing then reffing it. Don't watch for source writeability, but do so for target; fixes a warning. Only call sensitize_all() if writeability on target changed. * gui/contact-editor/e-contact-editor.h (EContactEditor): We don't need the source_editable and source_editable_id vars anymore. svn path=/trunk/; revision=26674
* [ fixes #60873, and possibly other crashes ]Chris Toshok2004-07-162-1/+11
| | | | | | | | | | | | | 2004-07-14 Chris Toshok <toshok@ximian.com> [ fixes #60873, and possibly other crashes ] * gui/widgets/e-addressbook-model.c (get_view): don't call free_data before potentially making an async call. Or rather, don't call free_data without ensure we'll be emitting MODEL_CHANGED shortly after. svn path=/trunk/; revision=26661
* ignore Evolution-Addressbook-SelectNames.h.Chris Toshok2004-07-154-2/+25
| | | | | | | | | | | | | | | | 2004-07-14 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/.cvsignore: ignore Evolution-Addressbook-SelectNames.h. * gui/contact-list-editor/e-contact-list-editor.c: include our local (in this directory) generated Evolution-Addressbook-SelectNames.h * gui/contact-list-editor/Makefile.am: add stuff to generate (and clean up) the select names header we need to include. svn path=/trunk/; revision=26657
* [ fixes #56657 ]Rodney Dawes2004-07-142-16/+16
| | | | | | | | | | | | | | 2004-07-13 Rodney Dawes <dobey@novell.com> [ fixes #56657 ] * gui/component/addressbook-migrate.c (get_source_by_uri): Replace this call with get_source_by_name () (migrate_completion_folders): Fix the non-local folder migration to look up sources for the migrated folders based on name, instead of using the URI svn path=/trunk/; revision=26643
* [ fixes #61299 ]Chris Toshok2004-07-132-3/+12
| | | | | | | | | | | | | 2004-07-12 Chris Toshok <toshok@ximian.com> [ fixes #61299 ] * gui/component/addressbook.c (addressbook_load_default_book): don't pass @closure to load_source_cb, since that expects to get a LoadSourceData*. also, don't always call e_book_async_open. only do that when the book is non-NULL. svn path=/trunk/; revision=26626
* [ part of fix for bug #56520 ]Chris Toshok2004-07-133-31/+53
| | | | | | | | | | | | | | | | | | | | | | | | 2004-07-12 Chris Toshok <toshok@ximian.com> [ part of fix for bug #56520 ] * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_init): init allows_contact_lists to TRUE. (list_deleted_cb): nuke, it's unused. (e_contact_list_editor_set_property): check if the book supports contact lists, and desensitize things if it doesn't. (select_names_ok_cb): this isn't valid C. declarations must come before code. (set_editable): the editable state of the dialog depends on whether or not the backend supports contact lists. (command_state_changed): the ok button needs to depend on allows_contact_lists. (extract_info): quiet compiler warning. * gui/contact-list-editor/e-contact-list-editor.h (struct _EContactListEditor): add allow_contact_lists. svn path=/trunk/; revision=26625
* tarball should ship .schemas.in.in files, not generated files.Frédéric Crozat2004-07-093-2/+10
| | | | | | | | | | | * gui/component/Makefile.am: tarball should ship .schemas.in.in files, not generated files. * gui/component/apps_evolution_addressbook.schemas.in.in: Don't set empty default value on an int, this causes gconf warning. (bug #60859) svn path=/trunk/; revision=26604
* Set the source option menu sensitivity here.Hans Petter Jansson2004-07-032-0/+7
| | | | | | | | | 2004-07-02 Hans Petter Jansson <hpj@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c (command_state_changed): Set the source option menu sensitivity here. svn path=/trunk/; revision=26569
* disconnect source/target_editable signal ids.Chris Toshok2004-06-303-3/+53
| | | | | | | | | | | | | | | | | | 2004-06-30 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (e_contact_editor_dispose): disconnect source/target_editable signal ids. (e_contact_editor_set_property): disconnect/connect editable signals. (writable_changed): new function - we need this since writable status is generally communicated asynchronously with the async interface. * gui/contact-editor/e-contact-editor.h (struct _EContactEditor): add source/target_editable_id slots. svn path=/trunk/; revision=26554
* Change to privlibexec_PROGRAMSRodney Dawes2004-06-302-1/+7
| | | | | | | | | | 2004-06-29 Rodney Dawes <dobey@novell.com> * tools/Makefile.am (bin_PROGRAMS): Change to privlibexec_PROGRAMS Fixes #60832 svn path=/trunk/; revision=26549
* fix shortcuts. #56746Not Zed2004-06-282-2/+7
| | | | | | | | | 2004-06-28 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-component.c (impl__get_userCreatableItems): fix shortcuts. #56746 svn path=/trunk/; revision=26539
* Implement. (eab_contact_compare_name): Don't leak if only one of theHans Petter Jansson2004-06-263-2/+52
| | | | | | | | | | | | 2004-06-25 Hans Petter Jansson <hpj@ximian.com> * gui/meging/eab-contact-compare.[ch] (eab_contact_compare_file_as): Implement. (eab_contact_compare_name): Don't leak if only one of the strings is NULL. (use_common_book_cb): Include file_as in query. svn path=/trunk/; revision=26527
* Add a newline between street line and rest of extended address.Hans Petter Jansson2004-06-262-1/+10
| | | | | | | | | | 2004-06-25 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (fill_in_address_textview): Add a newline between street line and rest of extended address. (extract_address_textview): Omit the newline trailing the street line. svn path=/trunk/; revision=26526
* Add table. (append_to_address_label): Implement. (set_address_label):Hans Petter Jansson2004-06-252-2/+55
| | | | | | | | | | | 2004-06-24 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (address_labels): Add table. (append_to_address_label): Implement. (set_address_label): Implement. (extract_address_record): Set the address label fields. svn path=/trunk/; revision=26506
* Don't accept input that doesn't have at least a "BEGIN:VCARD" in it.Hans Petter Jansson2004-06-252-0/+12
| | | | | | | | | 2004-06-24 Hans Petter Jansson <hpj@ximian.com> * util/eab-book-util.c (eab_contact_list_from_string): Don't accept input that doesn't have at least a "BEGIN:VCARD" in it. svn path=/trunk/; revision=26505
* do not limit the text len to 2047 charactersRadek Doulik2004-06-242-9/+8
| | | | | | | | | | | | 2004-06-24 Radek Doulik <rodo@ximian.com> * gui/component/select-names/e-select-names-model.c (e_select_names_model_get_textification): do not limit the text len to 2047 characters See bug #60366 svn path=/trunk/; revision=26497
* Set window to be invisible initially.Hans Petter Jansson2004-06-243-1/+12
| | | | | | | | | | | | 2004-06-23 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/contact-editor.glade: Set window to be invisible initially. * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Set the type hint to "normal", and show the window after init. svn path=/trunk/; revision=26487
* use memcpy not strcpy to copy to memory buffer. Fixes a UMW. See #60532.Not Zed2004-06-242-1/+7
| | | | | | | | | | 2004-06-23 Not Zed <NotZed@Ximian.com> * gui/widgets/eab-gui-util.c (eab_send_contact_list_as_attachment): use memcpy not strcpy to copy to memory buffer. Fixes a UMW. See #60532. svn path=/trunk/; revision=26486
* Add an x-source-vcard target entry that includes the source book URI.Hans Petter Jansson2004-06-247-99/+257
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-23 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-view.c: Add an x-source-vcard target entry that includes the source book URI. (destroy_merge_context): Implement. (removed_contact_cb): Implement. (merged_contact_cb): Implement. (selector_tree_drag_data_received): Get the source and target books, and see if we need to remove contacts from source after they're added to target. Copy contacts sequentially, not in parallel, with a callback. * gui/widgets/e-addressbook-view.c: Add an x-source-vcard target entry that includes the source book URI. (table_drag_data_delete): Remove. This is handled by the drag target. (table_drag_data_get): Handle more than one contact. Supply source. (create_table_view): Don't connect to the delete signal. * gui/widgets/e-minicard-view.c: Add an x-source-vcard target entry that includes the source book URI. (e_minicard_view_drag_data_delete): Remove. This is handled by the drag target. (e_minicard_view_drag_data_get): Handle x-source-vcard target. (e_minicard_view_drag_begin): Don't connect to the delete signal. (e_minicard_view_dispose): Don't disconnect from the delete signal. (e_minicard_view_init): Don't init delete_id. * gui/widgets/e-minicard-view.h: Remove delete_id from struct. * util/eab-book-util.[ch] (eab_contact_list_from_string): Skip the source URI if present. (eab_book_and_contact_list_from_string): Create the source book from the provided URI, if present. (eab_book_and_contact_list_to_string): Include the book URI in generated string. svn path=/trunk/; revision=26485
* Move the search bar to the top and add a label _Search so that the entryRodney Dawes2004-06-232-47/+93
| | | | | | | | | | | | 2004-06-23 Rodney Dawes <dobey@novell.com> * gui/component/select-names/select-names.glade: Move the search bar to the top and add a label _Search so that the entry has a mnemonic for keyboard accessibility Fixes #52914 and #58448 svn path=/trunk/; revision=26476
* Name the labels.Hans Petter Jansson2004-06-233-51/+87
| | | | | | | | | | | | | | | | | 2004-06-22 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/contact-editor.glade: Name the labels. * gui/contact-editor/e-contact-editor.c (sensitize_email_record) (sensitize_phone_record) (sensitize_im_record) (sensitize_address_textview) (sensitize_address_field) (simple_field_map) (sensitize_simple_field): Make entries uneditable and labels insensitive, if field is disabled or read-only. svn path=/trunk/; revision=26464
* Fixes #59622.Hans Petter Jansson2004-06-233-0/+62
| | | | | | | | | | | | | | | | | | 2004-06-22 Hans Petter Jansson <hpj@ximian.com> Fixes #59622. * gui/widgets/e-minicard-view.c (e_minicard_view_init): Clear drag_list and canvas_drag_data_delete_id. (e_minicard_view_dispose): Clear drag_list. Disconnect drag_data_delete signal if connected. (e_minicard_view_drag_begin): Set up drag_data_delete signal if necessary. Clear old data before drag starts. (clear_drag_data): Implement. (e_minicard_view_drag_data_delete): Implement. (e_minicard_view_drag_data_get): Don't clear drag_list here. svn path=/trunk/; revision=26459
* [ should fix #60495, #58635 ] don't free the list of contacts - libebookChris Toshok2004-06-232-5/+7
| | | | | | | | | | | 2004-06-22 Chris Toshok <toshok@ximian.com> [ should fix #60495, #58635 ] * gui/widgets/eab-popup-control.c (name_only_query_cb): don't free the list of contacts - libebook still owns it. (query_cb): same. svn path=/trunk/; revision=26453
* don't set the changed flag unless we actually add something.Larry Ewing2004-06-232-3/+8
| | | | | | | | | 2004-06-22 Larry Ewing <lewing@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c (add_email_cb): don't set the changed flag unless we actually add something. svn path=/trunk/; revision=26451
* revert this change.Chris Toshok2004-06-222-20/+1
| | | | svn path=/trunk/; revision=26450
* make completion respect your download limit for a given source. speeds upChris Toshok2004-06-222-1/+20
| | | | | | | | | | | | 2004-06-21 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_start_query): make completion respect your download limit for a given source. speeds up completion substantially (or rather, speeds up switching of queries) when the ldap server has tons of entries. svn path=/trunk/; revision=26449
* Make the scrolled windows around text views use GTK_SHADOW_IN, forFederico Mena Quintero2004-06-222-4/+10
| | | | | | | | | | 2004-06-21 Federico Mena Quintero <federico@ximian.com> * gui/contact-editor/contact-editor.glade: Make the scrolled windows around text views use GTK_SHADOW_IN, for consistency with the GtkEntries. svn path=/trunk/; revision=26446
* remove the auth-entry-notebook in the edit dialog, and rename the authChris Toshok2004-06-225-258/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-21 Chris Toshok <toshok@ximian.com> * gui/component/ldap-config.glade: remove the auth-entry-notebook in the edit dialog, and rename the auth entry to... auth-entry. * gui/component/addressbook-config.c (source_to_dialog_new): nuke - it's identical to source_to_dialog. (dialog_to_source): we only have one auth entry now. fill it in properly. (source_to_dialog): fill in the auth entry properly based on the auth type, and remove auth_entry_notebook references. (auth_optionmenu_activated): remove auth_entry_notebook references. (setup_general_tab): same, and use auth-entry instead of email-entry/dn-entry. (general_tab_check): use auth_principle instead of email/binddn. (add_folder_modify): same. (addressbook_add_server_dialog): put setup_connecting_tab inside the ifdef HAVE_LDAP, and call source_to_dialog instead of source_to_dialog_new. (addressbook_config_edit_source): always call setup_general_tab. * gui/component/addressbook-config.h (AddressbookLDAPScopeType): reorder to match order in option menu (we should really remove BASE altogether.. it's useless for searching.) * gui/component/addressbook-view.c (update_command_state): macroize this, annoying seeing the same 4 lines repeated 15 times. svn path=/trunk/; revision=26445
* Make sure the UIDs match. Should fix bug #59725.Jeffrey Stedfast2004-06-212-2/+11
| | | | | | | | | 2004-06-21 Jeffrey Stedfast <fejj@novell.com> * conduit/address-conduit.c (local_record_from_uid): Make sure the UIDs match. Should fix bug #59725. svn path=/trunk/; revision=26438
* set auth-domain property on groupwise sources, so that newly createdSivaiah Nallagatla2004-06-192-0/+7
| | | | | | | | | | 2004-06-19 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook-config.c (dialog_to_source) : set auth-domain property on groupwise sources, so that newly created contact groups can share remembered passwords svn path=/trunk/; revision=26434
* Always set the File_As attribute in case the pilot attrib changed. FixesJeffrey Stedfast2004-06-192-4/+7
| | | | | | | | | | 2004-06-18 Jeffrey Stedfast <fejj@novell.com> * conduit/address-conduit.c (ecard_from_remote_record): Always set the File_As attribute in case the pilot attrib changed. Fixes bug #59723. svn path=/trunk/; revision=26426
* only go through the process of creating/loading the EBook if the model hasChris Toshok2004-06-192-3/+11
| | | | | | | | | | 2004-06-18 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-model.c (e_select_names_model_load_contacts): only go through the process of creating/loading the EBook if the model has some data in it. svn path=/trunk/; revision=26424
* [ fixes bug #59376 ]Chris Toshok2004-06-192-1/+11
| | | | | | | | | | | | 2004-06-18 Chris Toshok <toshok@ximian.com> [ fixes bug #59376 ] * gui/component/addressbook-view.c (fill_popup_menu_callback): make this work with absolute uris in sources. Thanks to Sushma Rai for the initial patch to fix this. svn path=/trunk/; revision=26421
* [ fixes bug #58696 ]Chris Toshok2004-06-182-1/+10
| | | | | | | | | | | | 2004-06-17 Chris Toshok <toshok@ximian.com> [ fixes bug #58696 ] * gui/widgets/eab-gui-util.c (eab_transfer_contacts): use addressbook_load instead of e_book_async_open, so we do auth stuff for the destination book. svn path=/trunk/; revision=26404
* EBookFieldsCallback -> EBookEListCallback.Chris Toshok2004-06-182-3/+9
| | | | | | | | | | 2004-06-17 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (e_contact_editor_new): EBookFieldsCallback -> EBookEListCallback. (e_contact_editor_set_property): same. svn path=/trunk/; revision=26403
* EBookContactsCallback -> EBookListCallback. (eab_nickname_query): same.Chris Toshok2004-06-1820-23/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-17 Chris Toshok <toshok@ximian.com> * util/eab-book-util.c (eab_name_and_email_query): EBookContactsCallback -> EBookListCallback. (eab_nickname_query): same. * printing/e-contact-print.c: e-book-async.h -> e-book.h * gui/widgets/eab-vcard-control.c: e-book-async.h -> e-book.h. * gui/widgets/e-addressbook-model.h: e-book-async.h -> e-book.h. * gui/widgets/eab-popup-control.h: e-book-async.h -> e-book.h. * gui/widgets/eab-popup-control.c: remove e-book-async.h include. * gui/merging/eab-contact-merging.h: e-book-async.h -> e-book.h. * gui/contact-editor/e-contact-editor.h: e-book-async.h -> e-book.h. * gui/contact-editor/e-contact-editor.h: same. * gui/contact-list-editor/e-contact-list-editor.h: same. * gui/contact-list-editor/e-contact-list-model.h: remove include of e-book-async.h * gui/component/select-names/e-select-names-completion.h: include e-book.h, not e-book-async.h * gui/component/select-names/e-select-names-model.c: same. * gui/component/select-names/e-select-names.c: same. * gui/component/addressbook-migrate.c: include e-book.h, not e-book-async.h * gui/component/addressbook-view.c: same. * gui/component/addressbook.h: same. * gui/component/addressbook.c: remove include e-book-async.h. svn path=/trunk/; revision=26402
* update the model column numbers as new fields like E_CONTACT_EMAIL_4 areSivaiah Nallagatla2004-06-172-31/+38
| | | | | | | | | | | 2004-06-17 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-view.etspec : update the model column numbers as new fields like E_CONTACT_EMAIL_4 are added to EContact Fixes #59621 svn path=/trunk/; revision=26375
* set the source selector to be able to toggle the current selection. FixNot Zed2004-06-162-0/+8
| | | | | | | | | | 2004-06-16 Not Zed <NotZed@Ximian.com> * gui/component/autocompletion-config.c (autocompletion_config_control_new): set the source selector to be able to toggle the current selection. Fix for #55614. svn path=/trunk/; revision=26362
* compare old and new full names and if it is different set the new the nameSivaiah Nallagatla2004-06-162-1/+12
| | | | | | | | | | | | 2004-06-16 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.c (full_name_clicked) : compare old and new full names and if it is different set the new the name using gtk_entry_set_text instead of set_entry_text as this function blocks siganls hence preventing ok button being enabled svn path=/trunk/; revision=26359
* set things to HOME, since we don't offer TYPE=OTHER IM attributes throughChris Toshok2004-06-153-17/+31
| | | | | | | | | | | | | | | | | 2004-06-14 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (extract_im_record): set things to HOME, since we don't offer TYPE=OTHER IM attributes through the EContact api, and one choice is just as good as another if we aren't displaying it anyway. * gui/widgets/eab-contact-display.c (render_contact): move the IM stuff out of home/work, since we don't allow people to edit location for them anymore. Also, change the IM accounts we look up to "HOME", since that's what we hardcode them to in the contact editor. svn path=/trunk/; revision=26340
* handle LIST field types. (ldif_fields[]): Add a list type. E_CONTACT_EMAILNot Zed2004-06-142-1/+19
| | | | | | | | | | | 2004-06-14 Not Zed <NotZed@Ximian.com> * importers/evolution-ldif-importer.c (parseLine): handle LIST field types. (ldif_fields[]): Add a list type. E_CONTACT_EMAIL is a list field type. See #58855. svn path=/trunk/; revision=26333
* new function. do the get_view in an idle handler.Chris Toshok2004-06-093-10/+44
| | | | | | | | | | | | | 2004-06-08 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-model.c (get_view_idle): new function. do the get_view in an idle handler. (eab_model_set_property): don't call get_view directly from any setter block. instead just add the idle handler (if it's not already added.) This keeps us from duplicating queries when both "book" and "query" are set using the same g_object_set. svn path=/trunk/; revision=26264
* Fixes #58921.Hans Petter Jansson2004-06-082-0/+8
| | | | | | | | | | | 2004-06-07 Hans Petter Jansson <hpj@ximian.com> Fixes #58921. * gui/contact-editor/e-contact-editor.c (extract_address_record): Also check if the po box field is non-empty. svn path=/trunk/; revision=26246
* disable editing of cells in the contact table.Jon Oberheide2004-06-082-1/+6
| | | | | | | | | 2004-06-07 Jon Oberheide <jon@focalhost.com> * gui/contact-list-editor/e-contact-list-model.c: disable editing of cells in the contact table. svn path=/trunk/; revision=26245
* Fixes #57795.Hans Petter Jansson2004-06-082-0/+32
| | | | | | | | | | | 2004-06-07 Hans Petter Jansson <hpj@ximian.com> Fixes #57795. * gui/component/addressbook-migrate.c (migrate_contacts): Change the "POSTAL" address in 1.4 to "OTHER" in 1.5. svn path=/trunk/; revision=26243
* Like the previous build dep fix, but this works.Hans Petter2004-06-082-3/+8
| | | | svn path=/trunk/; revision=26242
* Fix order of dependencies.Hans Petter Jansson2004-06-082-1/+5
| | | | | | | | 2004-06-07 Hans Petter Jansson <hpj@ximian.com> * gui/Makefile.am (SUBDIRS): Fix order of dependencies. svn path=/trunk/; revision=26241
* Added few headers needed for select names dialog.H P Nadig2004-06-084-0/+127
| | | | | | | | | | | | | | | | | | | 2004-06-07 H P Nadig <hpnadig@pacific.net.in> * gui/contact-list-editor/e-contact-list-editor.h: Added few headers needed for select names dialog. * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_init): Added select button handler. (select_cb): The callback function for Select Button. (setup_corba): To setup corba for select names dialog. (select_names_ok_cb): Handle Select names dialog entries. (add_to_model): Adds cards to the model. * gui/contact-list-editor/contact-list-editor.glade: New 'Select' Button. Tooltips added for buttons in button Box. svn path=/trunk/; revision=26240
* fix the name of "stock_save-as" everywhereDan Winship2004-06-072-1/+5
| | | | svn path=/trunk/; revision=26237
* remove bonobo menus and cruft add ok/cancel buttons.Larry Ewing2004-06-054-179/+83
| | | | | | | | | | | | | | | 2004-06-04 Larry Ewing <lewing@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c: remove bonobo menus and cruft add ok/cancel buttons. * gui/contact-list-editor/e-contact-list-editor.h: add buttons for ok/cancel. * gui/contact-list-editor/contact-list-editor.glade: add fields for ok/cancel reparent to GtkDialog, other minor adjustments. svn path=/trunk/; revision=26224
* Fixes #55945JP Rosevear2004-06-055-10/+20
| | | | | | | | | | | | | | 2004-06-04 JP Rosevear <jpr@novell.com> Fixes #55945 * importers/*.server.in.in: ditto * importers/evolution-ldif-importer.c: fix OAFIIDs * importers/evolution-vcard-importer.c: ditto svn path=/trunk/; revision=26223
* only resolve destinations against persons, not contact lists.Chris Toshok2004-06-052-18/+36
| | | | | | | | | | 2004-06-04 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-model.c (name_and_email_simple_query_cb): only resolve destinations against persons, not contact lists. svn path=/trunk/; revision=26219
* Fixes #53643 and #26903.Hans Petter Jansson2004-06-047-47/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-03 Hans Petter Jansson <hpj@ximian.com> Fixes #53643 and #26903. * gui/search/addresstypes.xml: category -> category_list * gui/search/e-addressbook-search-dialog.c (get_widget): Get filter rule from parent view. (eab_search_dialog_set_property): Implement. (eab_search_dialog_get_property): Impleent. (eab_search_dialog_class_init): Set up property methods. (get_query): Get filter rule from parent view. (eab_search_dialog_init): Don't get the filter widget here, wait until parent view property is set. (eab_search_dialog_new): Don't poke the parent view in, set it as a property instead. (eab_search_dialog_dispose): No longer needs to unref rule. * gui/search/e-addressbook-search-dialog.c: EABSearchDialog no longer needs to keep rule internally. * gui/widgets/Makefile.am: Set SEARCH_RULE_DIR define. * gui/widgets/e-addressbook-view.c (eab_view_new): Set up filter rule and context. (eab_view_peek_search_context): Implement. (eab_view_peek_search_rule): Implement. * gui/widgets/e-addressbook-view.h: Keep track of filter rule and context. Add protos for added API. svn path=/trunk/; revision=26207
* found the bug it fixed, yay.Jeffrey Stedfast2004-06-041-1/+1
| | | | svn path=/trunk/; revision=26204
* Protect against a NULL uid. Fixes bug #57619. (ecard_from_remote_record):Jeffrey Stedfast2004-06-042-6/+14
| | | | | | | | | | | | | 2004-06-03 Jeffrey Stedfast <fejj@novell.com> * conduit/address-conduit.c (set_status_cleared): Protect against a NULL uid. Fixes bug #57619. (ecard_from_remote_record): Set the full_name of the contact so that we can use that as the FILE_AS rather than the company name, which sucked. Fixes a bug I may or may not have reported months ago. svn path=/trunk/; revision=26202
* Protect against a NULL uid. Fixes bug #57619.Jeffrey Stedfast2004-06-042-2/+10
| | | | | | | | | 2004-06-03 Jeffrey Stedfast <fejj@novell.com> * conduit/address-conduit.c (set_status_cleared): Protect against a NULL uid. Fixes bug #57619. svn path=/trunk/; revision=26175
* Add missing negation that caused a crash.Hans Petter Jansson2004-06-032-1/+7
| | | | | | | | | | 2004-06-02 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-migrate.c (migrate_contact_folder_to_source): Add missing negation that caused a crash. svn path=/trunk/; revision=26162
* remove hidden field migration, and add in a phase to clear theChris Toshok2004-06-032-52/+23
| | | | | | | | | | 2004-06-02 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (addressbook_migrate): remove hidden field migration, and add in a phase to clear the absolute_uri properties on ESources. svn path=/trunk/; revision=26160
* Don't need these two functions any more (source_to_dialog,Rodney Dawes2004-06-023-1705/+1171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-02 Rodney Dawes <dobey@novell.com> * gui/component/addressbook-config.c (focus_help, add_focus_handler): Don't need these two functions any more (source_to_dialog, auth_optionmenu_func): Don't try to change the notebook page or set the widget sensitive, for a notebook that doesn't exist any more (reparent_to_vbox): Don't need this function any more, as the widgets are all contained in the same dialog in the glade now (setup_general_tab, setup_connecting_tab, setup_searching_tab): We don't need to do the focus-based "tooltip" stuff any more We just use tooltips on the widgets now (ssl_optionmenu_selected, add_ssl_activate_cb): We don't need the ssl_optionmenu_selected callback any more, as the tooltips are just set on the necessary widgets now (query_for_supported_bases): Set the border widths on the dialog's vbox and action_area to be compliant with the HIG (addressbook_add_server_dialog): Unref the GConfClient object (addressbook_config_edit_source): Create the source_list so that we can actually save the changes that we make here Create the GladeXML with only the widget subtree that we need to use here, to avoid popping up other visible dialogs Set the border widths on the dialog's vbox and action_area to be compliant with the HIG We don't need to reparent widgets to vboxes any more, as the widgets are now part of the dialog's widget tree If we are without LDAP or not in LDAP mode, then hide the notebook borders, and change the border size of its child to appear as though we are a normal non-LDAP dialog We don't need to set the type hint on the window as we are no a real GtkDialog * gui/component/ldap-config.glade: Update the properties dialogs to be compliant with the HIG layout Get rid of some of the extra windows and put their children in the appropriate places in the properties dialog Make the properties dialog be a real GtkDialog Fixes #41141 svn path=/trunk/; revision=26153
* Add in a source option menu to the dialog and make is sensitive only onLarry Ewing2004-06-024-32/+206
| | | | | | | | | | | | | | | 2004-06-01 Larry Ewing <lewing@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c: Add in a source option menu to the dialog and make is sensitive only on new lists. * gui/contact-list-editor/e-contact-list-editor.h: add load_book fields for async book loading. * gui/contact-list-editor/contact-list-editor.glade: add the new source selector in a table reorder some of the other widgets. svn path=/trunk/; revision=26150
* render all email addresses, not just the first 3.Chris Toshok2004-05-292-26/+24
| | | | | | | | | | 2004-05-28 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-contact-display.c (render_contact): render all email addresses, not just the first 3. (eab_contact_display_class_init): use a C comment, not C++. svn path=/trunk/; revision=26130
* call e_select_names_model_load_contacts after settingChris Toshok2004-05-296-8/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-28 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-bonobo.c (entry_set_property_fn): call e_select_names_model_load_contacts after setting text/addresses/destinations. * gui/component/select-names/e-select-names-model.c (name_and_email_simple_query_cb): new function, ripped from the 1.4 e-destination stuff. (book_opened): new function, fire off eab_name_and_email_query for each item in our model (that doesn't represent a contact already). (e_select_names_model_load_contacts): new function, open the default addressbook (yeah yeah, i know we should open something different/more.) (e_select_names_cancel_contacts_load): new (unimplemented, and how do we implement it?) function. * gui/component/select-names/e-select-names-model.h: add prototypes for e_select_names_model_load_contacts and e_select_names_cancel_contacts_load. * gui/component/select-names/e-select-names.c (set_book): call get_query_string and set the book and query in a single call to g_object_set, just because we can/should. (update_query): reimplement in terms of get_query_string. (get_query_string): new function, build up the query string. * gui/component/select-names/Makefile.am (INCLUDES): add $(top_srcdir)/addressbook/util to INCLUDES. svn path=/trunk/; revision=26129
* Add back office, spouse, web log fields. Allow for 8 phone numbers, ofHans Petter Jansson2004-05-293-315/+634
| | | | | | | | | | | | | | | | | | | | | | 2004-05-28 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/contact-editor.glade: Add back office, spouse, web log fields. Allow for 8 phone numbers, of which 4 can be hidden. * gui/contact-editor/e-contact-editor.c (phones_default): Add more defaults. (im_service_default): Add more defaults. (expand_phone): Implement. (fill_in_phone_record): Expand if we have any records past 4. (init_im_record_location) (fill_in_im_record) (extract_im_record) (sensitize_im_record): Remove location. (simple_field_map): Add spouse, office, web log. (expand_phone_toggle): Implement. (e_contact_editor_init): Hook up expander button. svn path=/trunk/; revision=26128
* added missing #ifdef HAVE_LDAPChristophe Fergeau2004-05-292-0/+6
| | | | | | | | 2004-05-28 Christophe Fergeau <teuf@gnome.org> * gui/component/addressbook-config.c: added missing #ifdef HAVE_LDAP svn path=/trunk/; revision=26126
* update spell errorsRadek Doulik2004-05-262-0/+10
| | | | | | | | | | 2004-05-26 Radek Doulik <rodo@ximian.com> * htmltext.c (html_text_op_copy_helper): update spell errors Fixes #50829 svn path=/trunk/; revision=26103
* reenable this function, in a slightly broken manner. we don't haveChris Toshok2004-05-262-11/+27
| | | | | | | | | | | | | | 2004-05-25 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_activate_obj): reenable this function, in a slightly broken manner. we don't have e_contact_get_book anymore (well, we never had it really... but we lost e_card_get_book). load the system addressbook and supply that to the editors. shouldn't be a problem, since it's a read-only editor anyway. svn path=/trunk/; revision=26082
* [ fixes #58654 ]Chris Toshok2004-05-262-25/+30
| | | | | | | | | | | | | | 2004-05-25 Chris Toshok <toshok@ximian.com> [ fixes #58654 ] * gui/component/select-names/e-select-names.c (update_query): build up the query using e_book_query calls so we're insulated from field name changes. also, conjoin if we have more than 1 query element, not more than 2 (i *hope* this was an off by 1 error...) svn path=/trunk/; revision=26081
* read the "auth-domain" property from e-source and use it as the componentSivaiah Nallagatla2004-05-252-4/+19
| | | | | | | | | | | 2004-05-25 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook.c (load_source_auth_cb ) (load_source_auth_cb ) : read the "auth-domain" property from e-source and use it as the component name for e_password_* calls if it exists svn path=/trunk/; revision=26078
* Generate the addressbook-errors.xml.h file and install the xml file andJeffrey Stedfast2004-05-259-229/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-25 Jeffrey Stedfast <fejj@novell.com> * Makefile.am: Generate the addressbook-errors.xml.h file and install the xml file and all that jazz. * addressbook-errors.xml: New error xml file. * gui/widgets/e-addressbook-view.c (backend_died): Use e_error_run(). * gui/widgets/eab-gui-util.c (eab_error_dialog): Use e_error_run(). (eab_load_error_dialog): Same. (eab_search_result_dialog): Same. (eab_prompt_save_dialog): Same. (save_it): Same. * gui/contact-editor/e-contact-editor.c (categories_clicked): Use e_error_run(). (e_contact_editor_is_valid): Same. (save_contact): Same. * gui/component/addressbook-view.c (delete_addressbook_cb): Use e_error_run(). * gui/component/addressbook-config.c (addressbook_ldap_init): Use e_error_run(). (addressbook_ldap_auth): Same. (addressbook_root_dse_query): Same. (do_ldap_root_dse_query): Same. (do_schema_query): Same. svn path=/trunk/; revision=26077
* add tools back to the build.Chris Toshok2004-05-252-3/+5
| | | | | | | | 2004-05-24 Chris Toshok <toshok@ximian.com> * Makefile.am (SUBDIRS): add tools back to the build. svn path=/trunk/; revision=26066
* fix this for current build foo.Chris Toshok2004-05-255-410/+422
| | | | | | | | | | | | 2004-05-24 Chris Toshok <toshok@ximian.com> * tools/Makefile.am: fix this for current build foo. * tools/evolution-addressbook-export-list-folders.c, * tools/evolution-addressbook-export-list-cards.c, * tools/evolution-addressbook-export.c: revive this. svn path=/trunk/; revision=26065
* [ fixes bug #32194 ]Chris Toshok2004-05-252-0/+47
| | | | | | | | | | | 2004-05-24 Chris Toshok <toshok@ximian.com> [ fixes bug #32194 ] * importers/evolution-vcard-importer.c (process_item_fn): make sure all ADR attributes have HOME/WORK/OTHER. svn path=/trunk/; revision=26064
* [ fixes bug #40013 ]Chris Toshok2004-05-252-0/+60
| | | | | | | | | | | | | 2004-05-24 Chris Toshok <toshok@ximian.com> [ fixes bug #40013 ] * importers/evolution-vcard-importer.c (process_item_fn): for TEL attribute that don't specify a location (HOME/WORK/OTHER), default to "OTHER". For TEL attributes that *only* specify a location, default to "VOICE". svn path=/trunk/; revision=26063
* Fixes #58516.H P Nadig2004-05-222-1/+8
| | | | | | | | | | | 2004-05-21 H P Nadig <hpnadig@pacific.net.in> Fixes #58516. * gui/contact-editor/contact-editor.glade: 'Job Title' is now called 'Title'. svn path=/trunk/; revision=26036
* Add helper func. (process_item_fn): Add undisplayed fields to notes.Hans Petter Jansson2004-05-213-0/+70
| | | | | | | | | | | | | | 2004-05-20 Hans Petter Jansson <hpj@ximian.com> * importers/evolution-ldif-importer.c (add_to_notes): Add helper func. (process_item_fn): Add undisplayed fields to notes. * importers/evolution-vcard-importer.c (add_to_notes): Add helper func. (process_item_fn): Add undisplayed fields to notes. svn path=/trunk/; revision=26025
* Implement. (migrate_contacts_hidden_fields): Implement.Hans Petter Jansson2004-05-212-0/+85
| | | | | | | | | | | 2004-05-20 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-migrate.c (add_to_notes): Implement. (migrate_contacts_hidden_fields): Implement. (migrate_contacts): Copy fields that are now hidden in the UI, to the notes field. svn path=/trunk/; revision=26024
* use the new ebook api here. missed this one in my earlier commit.Chris Toshok2004-05-212-1/+8
| | | | | | | | | 2004-05-20 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (impl_requestCreateItem): use the new ebook api here. missed this one in my earlier commit. svn path=/trunk/; revision=26018
* finish pages printing by gnome_print_job_close call before showing previewRadek Doulik2004-05-212-0/+8
| | | | | | | | | | | | 2004-05-20 Radek Doulik <rodo@ximian.com> * printing/e-contact-print.c (complete_sequence): finish pages printing by gnome_print_job_close call before showing preview or calling gnome_print_job_print See #54482 svn path=/trunk/; revision=26015
* added call to begin page, ref printable and sink it to avoid finalizing ofRadek Doulik2004-05-212-2/+16
| | | | | | | | | | | | | | 2004-05-20 Radek Doulik <rodo@ximian.com> * gui/widgets/e-addressbook-view.c (eab_view_print_preview): added call to begin page, ref printable and sink it to avoid finalizing of floating object (eab_view_print): ref and sink printable to avoid finalizing of floating object Fixes #46658 svn path=/trunk/; revision=26012
* use the new e_book_new and e_book_open apis.Chris Toshok2004-05-2012-45/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-19 Chris Toshok <toshok@ximian.com> * importers/evolution-vcard-importer.c (load_file_fn): use the new e_book_new and e_book_open apis. * importers/evolution-ldif-importer.c (load_file_fn): use the new e_book_new and e_book_open apis. * gui/widgets/eab-gui-util.c (eab_transfer_contacts): use the new e_book_new and e_book_async_open apis. * gui/contact-editor/e-contact-editor.c (cancel_load): addressbook_load_source_cancel -> addressbook_load_cancel. (source_selected): use the new e_book_new and addressbook_load. * gui/component/select-names/e-select-names.c (addressbook_model_set_source): use the new e_book_new and addressbook_load. * gui/component/select-names/e-select-names-manager.c (update_completion_books): use the new e_book_new and addressbook_load. * gui/component/addressbook.h: rename addressbook_load_source{_cancel} to addressbook_load{_cancel}, and remove the source arg. * gui/component/addressbook.c (addressbook_load): rename since we aren't passing a source anymore. (addressbook_load_cancel): same. (addressbook_load_default_book): use the new e_book_new_* apis. * gui/component/addressbook-view.c (delete_addressbook_cb): just use e_book_new, not e_book_load_source. (selector_tree_drag_data_received): switch to new e_book_new_*/e_book_open apis. (activate_source): same, and addressbook_load_source -> addressbook_load. * gui/component/addressbook-migrate.c (migrate_contact_folder_to_source): switch to new e_book_new_*/e_book_open apis. (migrate_contact_lists_for_local_folders): same. (migrate_company_phone_for_local_folders): same. * conduit/address-conduit.c (pre_sync): switch to new e_book_new_*/e_book_open apis. svn path=/trunk/; revision=25999
* Check if individual email fields are supported.Hans Petter Jansson2004-05-202-0/+9
| | | | | | | | | 2004-05-19 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (sensitize_email): Check if individual email fields are supported. svn path=/trunk/; revision=25998
* Remove debug output. (real_save_contact): Separate out actual save logicHans Petter Jansson2004-05-203-14/+113
| | | | | | | | | | | | | | | | | | | | | | 2004-05-19 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (extract_simple_field): Remove debug output. (real_save_contact): Separate out actual save logic from save_contact (). (save_contact): If the user wants to move the contact from one address book to another, but the source is read-only, as to save a copy instead. (e_contact_editor_is_valid): The dialog should be an error dialog. (app_delete_event_cb): If the target book is read-only, prompt to discard. If the user wants to move but cannot, prompt to save a copy. Also validate. * gui/contact-editor/eab-editor.c (eab_editor_prompt_to_save_changes): Remove comment about invalid data dialog, it's not handled here anymore. svn path=/trunk/; revision=25996
* Fixes a number of bugs, adds some unimplemented functionality, and makesHans Petter Jansson2004-05-203-913/+1026
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-19 Hans Petter Jansson <hpj@ximian.com> Fixes a number of bugs, adds some unimplemented functionality, and makes code more structured. * gui/contact-editor/e-contact-editor.h: Eliminate company, fullname_editable, address_editable fields from EContactEditor. * gui/contact-editor/e-contact-editor.c (enable_writable_fields): Removed. (set_editable): Removed. (fill_in_info): Removed. (extract_field): Removed. (extract_info): Removed. (set_fields): Removed. (command_state_changed): Removed. (widget_changed): Removed. (enable_widget): Removed. (nonempty): Invert and rename to STRING_IS_EMPTY(). (STRING_MAKE_NON_NULL): Impl. (is_field_supported): Implement. (file_as_get_style): Eliminate editor->company. (file_as_set_style): Ditto. Also don't set empty fields in combo. (update_file_as_combo): Implement. (sensitize_ok): Implement. (object_changed): Implement. (image_chooser_changed): Don't call widget_changed() from here. (set_option_menu_history): Implement. (init_email_record_location): Hook up signals after init. (init_phone_record_type): Ditto. (init_im_record_location): Ditto. (init_im_record_service): Ditto. (init_address_textview): widget_changed -> object_changed (init_address_field): Ditto. (fill_in_email_record): Use set_option_menu_history(), blocking signals. (fill_in_im_record): Ditto. (fill_in_address_field): Use set_entry_text(), blocking signals. (alloc_ui_slot): nonempty -> STRING_IS_EMPTY (extract_email): Ditto. (fill_in_phone_record): Ditto. (extract_im): Ditto. (extract_address_record): Ditto. (sensitize_email_record): Implement. (sensitize_email): Implement. (sensitize_phone_types): Implement. (sensitize_phone_record): Impleent. (sensitize_phone): Implement. (sensitize_im_record): Implement. (sensitize_im): Implement. (sensitize_address_textview): Implement. (sensitize_address_field): Implement. (sensitize_address_record): Implement. (sensitize_address): Implement. (simple_field_map): Add all simple fields/widgets to a table with attributes saying how to handle sensitivity and data transfer. (init_simple_field): Implement. (fill_in_simple_field): Implement. (extract_simple_field): Implement. (sensitize_simple_field): Implement. (init_simple): Implement. (fill_in_simple): Implement. (extract_simple): Implement. (sensitize_simple): Implement. (fill_in_all): Implement. (extract_all): Implement. (sensitize_all): Implement. (set_entry_changed_signal_field): Removed. (set_urlentry_changed_signal_field): Removed. (set_entry_activate_signal_field): Removed. (new_target_cb): Don't signal changes. (set_entry_activate_signals): Removed. (set_entry_changed_signals): Removed. (full_name_clicked): Honor field_supported and target_editable. Use set_entry_text() and block changed signals. (image_selected_cb): widget_changed -> object_changed. Don't clear pointer to file_selector. (image_cleared_cb): Ditto. (contact_moved_cb): command_state_chaned() -> sensitize_all(). (contact_added_cb): Ditto. (supported_fields_cb): Ditto. (contact_modified_cb): Ditto. (save_contact): extract_info() -> extract_all(). (e_contact_editor_is_valid): Be more verbose. Make sure File As is non-empty. (e_contact_editor_init): Call init_all() in place of lots of setup calls. Remove reference to editor->company. (e_contact_editor_dispose): Remove reference to editor->company. (command_state_changed): Removed. (e_contact_editor_set_property): Axe unneeded complexity, now that we have sensitize_all() and sensitize_ok(). (set_fields): Removed. (fill_in_field): Removed. (field_mapping): Removed. (disable_widget_foreach): Removed. (widget_field_mapping): Removed. (num_widget_field_mappings): Removed. (enable_widget): Removed. svn path=/trunk/; revision=25988
* make exchange accounts insensitve.Larry Ewing2004-05-191-1/+4
| | | | | | | | | 2004-05-19 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-config.c (source_group_menu_add_groups): make exchange accounts insensitve. svn path=/trunk/; revision=25976
* Add menu_label and menu_accelerator.William Jon McCann2004-05-192-0/+7
| | | | | | | | | 2004-05-05 William Jon McCann <mccann@jhu.edu> * gui/component/GNOME_Evolution_Addressbook.server.in.in: Add menu_label and menu_accelerator. svn path=/trunk/; revision=25970
* pass 0 to eab_send_contact. (file_send_to_cb): same.Chris Toshok2004-05-192-2/+8
| | | | | | | | | | 2004-05-18 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c (file_send_as_cb): pass 0 to eab_send_contact. (file_send_to_cb): same. svn path=/trunk/; revision=25964
* split out the DISPOSITION_AS_TO stuff here, and make it take a GList ofChris Toshok2004-05-194-171/+325
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-18 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-gui-util.c (eab_send_to_contact_and_email_num_list): split out the DISPOSITION_AS_TO stuff here, and make it take a GList of ContactAndEmailNum, so we can set it for the single contact case. (eab_send_contact_list_as_attachment): split out the DISPOSITION_AS_ATTACHMENT stuff here. (eab_send_contact_list): call one or the other of the above, munging the list if disposition is set to TO. (eab_send_contact): call eab_send_to_contact_and_email_num_list directly with the supplied email_num, instead of calling eab_send_contact_list. * gui/widgets/eab-gui-util.h (eab_send_contact) add "email_num" arg, so we can specify the email address we want to be selected. * gui/widgets/eab-contact-display.c (on_link_clicked): add (ifdefed out at the moment) code to handle mailto: urls internally, instead of farming them out to gnome_url_show. (render_contact): same. svn path=/trunk/; revision=25963
* Fixes #57940Jerome Lacoste2004-05-192-3/+10
| | | | | | | | | | | 2004-05-18 Jerome Lacoste <jerome@coffeebreaks.org> Fixes #57940 * gui/widgets/e-addressbook-view.c: "Save as VCard" -> "Save as VCard..." svn path=/trunk/; revision=25962
* Hook up image button. (e_contact_editor_dispose): Dispose of file selectorHans Petter Jansson2004-05-184-9/+122
| | | | | | | | | | | | | | | | | 2004-05-17 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Hook up image button. (e_contact_editor_dispose): Dispose of file selector if it's around. (image_clicked): Implement. (file_selector_deleted): Implement. (image_cleared_cb): Implement. (image_selected_cb): Implement. * gui/contact-editor/contact-editor.glade: Make the contact image be a button that lets you change or discard the image. svn path=/trunk/; revision=25943
* Change E_PIXMAP size args over to E_ICON_SIZE_* values.Jeffrey Stedfast2004-05-182-9/+12
| | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * gui/contact-list-editor/e-contact-list-editor.c: Change E_PIXMAP size args over to E_ICON_SIZE_* values. svn path=/trunk/; revision=25939
* Change E_PIXMAP size args over to E_ICON_SIZE_* values.Jeffrey Stedfast2004-05-182-10/+13
| | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * gui/component/addressbook-view.c: Change E_PIXMAP size args over to E_ICON_SIZE_* values. svn path=/trunk/; revision=25938
* Use an E_ICON_SIZE enum value for the icon_size argument to get_icon.Jeffrey Stedfast2004-05-187-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@novell.com> * gui/widgets/e-minicard.c (e_minicard_init): Use an E_ICON_SIZE enum value for the icon_size argument to get_icon. * gui/widgets/eab-gui-util.c (eab_create_image_chooser_widget): Use E_ICON_SIZE_DIALOG as the icon_size argument to get_icon_filename. * gui/widgets/eab-contact-display.c (on_url_requested): Use an E_ICON_SIZE enum as the icon_size argument to get_icon_filename. * gui/contact-editor/e-contact-editor-im.c (setup_service_optmenu): Use E_ICON_SIZE_MENU here. * gui/component/select-names/e-select-names-popup.c (populate_popup_contact): Use E_ICON_SIZE_MENU here instead of 16. * gui/component/addressbook-view.c (set_status_message): Use the E_ICON_SIZE corresponding to 16x16 pixels. svn path=/trunk/; revision=25933
* Add PO box entries.Hans Petter Jansson2004-05-133-8/+155
| | | | | | | | | | | | | 2004-05-12 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/contact-editor.glade: Add PO box entries. * gui/contact-editor/e-contact-editor.c (init_address_record): Hook up PO box entry. (fill_in_address_record): Ditto. (extract_address_record): Ditto. svn path=/trunk/; revision=25884
* Fixes bug #55208.S N Tejasvi2004-05-132-2/+51
| | | | | | | | | | | | 2004-04-18 S N Tejasvi <tejasvi_sn@gawab.com> Fixes bug #55208. * gui/contact-editor/e-contact-editor.c (save_contact): Do e_contact_editor_is_valid check to check the birth date and anniversary date format when user wants to save and warn him. svn path=/trunk/; revision=25883
* set exception properly on failure.Not Zed2004-05-124-4/+26
| | | | | | | | | | | | 2004-05-11 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-component.c (impl_upgradeFromVersion): set exception properly on failure. * gui/component/addressbook-migrate.c (addressbook_migrate): take a GError error return. Doesn't do anything with it ... but ... svn path=/trunk/; revision=25864
* Remove the addressbook controlDan Winship2004-05-124-169/+22
| | | | | | | | | | | | | * gui/component/GNOME_Evolution_Addressbook.server.in.in: Remove the addressbook control * gui/component/component-factory.c (factory): Remove support for the addressbook control * gui/component/addressbook-view.c: Remove all the property-bag stuff. svn path=/trunk/; revision=25856
* see if the selected group is groupwise one and setup the relative uri andSivaiah Nallagatla2004-05-112-1/+27
| | | | | | | | | | 2004-05-11 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook-config.c (dialog_to_source) : see if the selected group is groupwise one and setup the relative uri and other properties into e-source svn path=/trunk/; revision=25852
* Fixes bug #44196 addressbook table view uses ASCII sortSuresh Chandrasekharan2004-05-113-2/+26
| | | | | | | | 2004-05-10 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> Fixes bug #44196 addressbook table view uses ASCII sort svn path=/trunk/; revision=25851
* Fix parts of #53466.Enver ALTIN2004-05-102-1/+6
| | | | | | | | | 2004-05-08 Enver ALTIN <enver.altin@frontsite.com.tr> * gui/component/GNOME_Evolution_Addressbook.server.in.in: Fix parts of #53466. svn path=/trunk/; revision=25830
* Implement. (init_address_record): Init textview.Hans Petter Jansson2004-05-053-277/+270
| | | | | | | | | | | | | | | | | 2004-05-05 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (init_address_textview): Implement. (init_address_record): Init textview. (fill_in_address_textview): Implement. (fill_in_address_record): Fill in textview. (extract_address_textview): Implement. (extract_address_record): Extract from textview. * gui/contact-editor/contact-editor.glade: Combine address-[12] fields into one multiline text view, as per Anna's new design. svn path=/trunk/; revision=25800
* fixup the dialog initialization.Larry Ewing2004-05-052-2/+9
| | | | | | | | | 2004-05-04 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-config.c (query_for_supported_bases): fixup the dialog initialization. svn path=/trunk/; revision=25797
* Use defaults from Anna. (im_service_default): Ditto. (email_default):Hans Petter Jansson2004-05-052-14/+37
| | | | | | | | | | | | | | | | | | | | | 2004-05-04 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (phones_default): Use defaults from Anna. (im_service_default): Ditto. (email_default): Ditto. (im_location): Renamed to common_location, as it's used by both IM and e-mail. (init_email_record_location): im_location -> common_location (init_im_record_location): Ditto. (email_index_to_location): Ditto. (im_index_to_location): Ditto. (get_email_location): Ditto. (get_im_location): Ditto. (fill_in_email_record): Consult defaults. (fill_in_im_record): Ditto. svn path=/trunk/; revision=25796
* Remove blog, add home page. (set_entry_changed_signals): Ditto.Hans Petter Jansson2004-05-053-9/+21
| | | | | | | | | | | | | | | | 2004-05-04 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (set_entry_activate_signals): Remove blog, add home page. (set_entry_changed_signals): Ditto. (setup_tab_order): Ditto. (field_mapping): Ditto. (widget_field_mappings): Ditto. * gui/contact-editor/contact-editor.glade: Replace blog with home page. svn path=/trunk/; revision=25795
* Do ref, unref in right order, so the same contact can be set twice withoutHans Petter Jansson2004-05-042-5/+21
| | | | | | | | | | | 2004-05-03 Hans Petter Jansson <hpj@ximian.com> * gui/widgets/e-minicard.c (e_minicard_set_property): Do ref, unref in right order, so the same contact can be set twice without ill effects. (e_minicard_finalize): NULL pointers after unreffing their objects. svn path=/trunk/; revision=25775
* Establish defaults for the phone number option menus.Hans Petter Jansson2004-05-042-1/+11
| | | | | | | | | | 2004-05-03 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (phones_default): Establish defaults for the phone number option menus. (fill_in_phone_record): Fall back to defaults. svn path=/trunk/; revision=25774
* Implement. (e_contact_editor_init): Hook up the help button.Hans Petter Jansson2004-05-043-14/+26
| | | | | | | | | | | | 2004-05-03 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (show_help_cb): Implement. (e_contact_editor_init): Hook up the help button. * gui/contact-editor/contact-editor.glade: Give the help button a sensible name. svn path=/trunk/; revision=25772
* bump the maximum download limit to 1000.Larry Ewing2004-05-042-1/+4
| | | | | | | | | 2004-05-03 Larry Ewing <lewing@ximian.com> * gui/component/ldap-config.glade: bump the maximum download limit to 1000. svn path=/trunk/; revision=25771
* set the email entry sesitive only when anonymous isn't selected. Make theLarry Ewing2004-05-042-4/+8
| | | | | | | | | | 2004-05-03 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-config.c (add_folder_modify): set the email entry sesitive only when anonymous isn't selected. Make the details tab insensitive if the method is local. svn path=/trunk/; revision=25770
* remove unused colorpicker.Larry Ewing2004-05-042-45/+5
| | | | | | | | 2004-05-03 Larry Ewing <lewing@ximian.com> * gui/component/ldap-config.glade: remove unused colorpicker. svn path=/trunk/; revision=25766
* missed this last timeLarry Ewing2004-05-041-1/+1
| | | | svn path=/trunk/; revision=25764
* set the config item typeJP Rosevear2004-05-032-0/+9
| | | | | | | | | 2004-05-03 JP Rosevear <jpr@ximian.com> * gui/component/GNOME_Evolution_Addressbook.server.in.in: set the config item type svn path=/trunk/; revision=25752