aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/component
Commit message (Collapse)AuthorAgeFilesLines
* committed these files to fix http://bugzilla.gnome.org/show_bug.cgi?id=260354Parthasarathi Susarla2005-12-211-17/+18
| | | | | | | | | | | | | | ChangeLog addressbook/ChangeLog addressbook/gui/component/addressbook-component.c calendar/ChangeLog calendar/gui/calendar-component.c calendar/gui/memos-component.c calendar/gui/tasks-component.c mail/ChangeLog mail/Evolution-Mail.idl mail/mail-component.c shell/ChangeLog shell/Evolution-Component.idl shell/Evolution-Shell.idl shell/Evolution.idl shell/Makefile.am shell/e-shell-window.c shell/e-shell-window.h shell/e-shell.c svn path=/trunk/; revision=30915
* Include libedataserver/e-xml-utils.h, too.Tor Lillqvist2005-12-181-10/+9
| | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * gui/component/addressbook-migrate.c: Include libedataserver/e-xml-utils.h, too. svn path=/trunk/; revision=30830
* Use gstdio wrappers. Use GDir API instead of dirent. Use GLib API toTor Lillqvist2005-12-171-24/+34
| | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * gui/component/addressbook-migrate.c: Use gstdio wrappers. Use GDir API instead of dirent. Use GLib API to convert file names to URIs and back. Open files in binary mode. svn path=/trunk/; revision=30797
* Include libedataserver-$EDS_PACKAGE in the requirement list for E_WIDGETS.Tor Lillqvist2005-12-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-06 Tor Lillqvist <tml@novell.com> * configure.in: Include libedataserver-$EDS_PACKAGE in the requirement list for E_WIDGETS. Set bindir_in_server_file, privlibexecdir_in_server_file and componentdir_in_server_file. On Unix, they are the same as bindir, privlibexecdir and componentdir respectively. On Win32, use paths relative from lib/bonobo/servers. AC_SUBST these variables. * server.mk: Substitute the values above new variables for the corresponding @..._IN_SERVER_FILE@ strings in the .server.in.in files. * addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in * calendar/gui/GNOME_Evolution_Calendar.server.in.in * calendar/gui/alarm-notify/GNOME_Evolution_Calendar_AlarmNotify.server.in.in * mail/GNOME_Evolution_Mail.server.in.in * shell/GNOME_Evolution_Shell.server.in.in * shell/GNOME_Evolution_Test.server.in.in: Correspondingly, use the @..._IN_SERVER_FILE@ strings. svn path=/trunk/; revision=30793
* Include e-util-private,h to get redefinition of EVOLUTION_UIDIR (as a callTor Lillqvist2005-11-261-1/+7
| | | | | | | | | | | 2005-11-25 Tor Lillqvist <tml@novell.com> * gui/component/addressbook-view.c (control_activate): Include e-util-private,h to get redefinition of EVOLUTION_UIDIR (as a call to a function) on Windows. Construct the path of the xml file at run-time to enable install-anywhere on Windows. svn path=/trunk/; revision=30677
* Include openldap-extract.h on Windows. Include e-util-private.h to getTor Lillqvist2005-11-261-10/+63
| | | | | | | | | | | | | | 2005-11-25 Tor Lillqvist <tml@novell.com> * gui/component/addressbook-config.c: Include openldap-extract.h on Windows. Include e-util-private.h to get redefinition of EVOLUTION_GLADEDIR (as a call to a function) on Windows. (query_for_supported_bases, eabc_general_name, eabc_general_host, eabc_general_auth, eabc_details_search, eabc_details_limit, addressbook_config_edit_source): Construct the path of the glade file at run-time to enable install-anywhere on Windows. svn path=/trunk/; revision=30675
* New file. Contains various things lifted from OpenLDAP for use on WindowsTor Lillqvist2005-11-262-1/+1429
| | | | | | | | | | | | | 2005-11-25 Tor Lillqvist <tml@novell.com> * gui/component/openldap-extract.h: New file. Contains various things lifted from OpenLDAP for use on Windows where we use Microsoft's LDAP implementation. The same file is also in e-d-s/backends/ldap. * gui/component/Makefile.am: Distribute openldap-extract.h. svn path=/trunk/; revision=30674
* Use g_filename_to_uri() instead of just prefixing "file://" for Win32Tor Lillqvist2005-11-251-1/+1
| | | | | | | | | | 2005-11-25 Tor Lillqvist <tml@novell.com> * gui/component/addressbook-component.c (ensure_sources): Use g_filename_to_uri() instead of just prefixing "file://" for Win32 portability. svn path=/trunk/; revision=30667
* Added keyboard accelerators for contacts.Srinivasa Ragavan2005-11-161-3/+3
| | | | | | | | | | 2005-10-04 Srinivasa Ragavan <sragavan@novell.com> * gui/component/addressbook-view.c (abv_source_popups): * gui/widgets/e-addressbook-view.c (eabv_popup_items): Added keyboard accelerators for contacts. svn path=/trunk/; revision=30619
* Making the LDAP search filter configurable. Fixes #311884.Sushma Rai2005-10-222-17/+377
| | | | svn path=/trunk/; revision=30553
* This now takes care to escape any auth mechanism in the uri.Sarfraaz Ahmed2005-09-301-8/+8
| | | | | | | | | 2005-09-30 Sarfraaz Ahmed <asarfraaz@novell.com> * gui/component/addressbook.c (remove_parameters_from_uri) : This now takes care to escape any auth mechanism in the uri. svn path=/trunk/; revision=30438
* Allowing to delete address book folder using Del/Delete key.Sushma Rai2005-09-281-0/+50
| | | | | | Fixes #233424. Patch submitted by "Devashish Sharma <sdevashish@novell.com>" svn path=/trunk/; revision=30402
* Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to theTor Lillqvist2005-09-281-1/+1
| | | | | | | | | | | 2005-09-28 Tor Lillqvist <tml@novell.com> * gui/component/addressbook.c (get_remember_password): Use g_ascii_strcasecmp() instead of strcasecmp(). We are comparing to the literal "true", just casefolding ASCII is enough. Also better for portability. svn path=/trunk/; revision=30391
* de-constify uri, and fix its creation logic. (load_source_cb): cast forNot Zed2005-08-241-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-08-23 Not Zed <NotZed@Ximian.com> * gui/component/addressbook.c (addressbook_authenticate): de-constify uri, and fix its creation logic. (load_source_cb): cast for warning. * gui/widgets/e-addressbook-view.c: more missing a11y include. * gui/widgets/e-minicard-view.c: another missing a11y include. * gui/widgets/e-minicard.c: include missing a11y include. (e_minicard_activate_editor): fix cast. * gui/widgets/eab-popup-control.c (eab_popup_control_display_contact): remove unused. * gui/widgets/eab-gui-util.c (eab_contact_save): fix conditional build. (eab_send_to_contact_and_email_num_list): fix boolean conversion. * gui/widgets/eab-contact-display.c (eab_contact_display_init): cast. * gui/contact-list-editor/e-contact-list-editor.c (fill_in_info): constify file_as. * gui/contact-editor/e-contact-editor.c (init_im_record_location): fix warnings for conditional building. (fill_in_simple_field): do proper boolean conversion. (extract_simple_field): do proper boolean conversion. (response): constify categories, and dont bother initialising it. (image_clicked): remove warnings for conditional build. (e_contact_editor_is_valid): constify text. (e_contact_editor_create_web): cast. svn path=/trunk/; revision=30216
* Proper Checking for naming context value. Now pops up the errorSushma Rai2005-08-131-1/+1
| | | | | | | when user tries to find supported search bases in ldap address book configuration dialog, in case he has not set naming context. svn path=/trunk/; revision=30102
* Add missing forward referencesJules Colding2005-08-031-0/+3
| | | | svn path=/trunk/; revision=29971
* Made the error dialog for load-error nonmodal, since it block the UI alongSrinivasa Ragavan2005-08-031-4/+7
| | | | | | | | | | | | | | 2005-08-01 Srinivasa Ragavan <sragavan@novell.com> * gui/widgets/eab-gui-util.c (eab_load_error_dialog): Made the error dialog for load-error nonmodal, since it block the UI along with popup menu. * gui/component/addressbook-view.c (load_uri_for_selection) (primary_source_selection_changed_callback) (addressbook_view_init): Checks whether the book is already selected. If so it doesnt reselect it on a r-click. Fixes the bug #309247 svn path=/trunk/; revision=29966
* fix make distcheck issues. remove duplicate inclusion of headerHarish Krishnaswamy2005-07-272-2/+1
| | | | | | | | | | 2005-07-26 Harish Krishnaswamy <kharish@novell.com> * gui/component/Makefile.am: fix make distcheck issues. * gui/component/addressbook-config.c: remove duplicate inclusion of header svn path=/trunk/; revision=29890
* Using autocompletion stock icon instead of contacts icon, forSushma Rai2005-07-221-1/+1
| | | | | | autocompletion. Fixes #257329. svn path=/trunk/; revision=29849
* Not prompting the delete confirmation dialog for cut contact operation.Sushma Rai2005-07-211-1/+1
| | | | | | Fixes #311090 svn path=/trunk/; revision=29833
* Unrefing the query.Sushma Rai2005-07-151-2/+3
| | | | svn path=/trunk/; revision=29774
* Merge back eplugin-import-branch.Michael Zucci2005-07-122-0/+9
| | | | svn path=/trunk/; revision=29725
* // uris. Also, opens a contact in the editor if the contact-uid in the urlVeerapuram Varadhan2005-07-113-0/+145
| | | | | | | * Implementation to handle contacts:// uris. * Also, opens a contact in the editor if the contact-uid in the url is valid. svn path=/trunk/; revision=29719
* Enable autocompletion on personal addressbook when creating it (MandrivaFrédéric Crozat2005-07-072-0/+4
| | | | | | | | | * gui/component/addressbook-component.c: (ensure_sources): * gui/component/addressbook-migrate.c: (create_groups): Enable autocompletion on personal addressbook when creating it (Mandriva bug #16427). svn path=/trunk/; revision=29674
* added comments about the hookpointsVivek Jain2005-07-061-0/+8
| | | | | | | | | | 2005-07-06 Vivek Jain <jvivek@novell.com> * gui/component/addressbook-view.c: (popup_event_callback) * gui/widget/e-addressbook-view.c :(do_popup_menu) added comments about the hookpoints svn path=/trunk/; revision=29659
* Setting TYPE=OTHER default parameter to email attribute. Fixes #240756.Sushma Rai2005-06-251-0/+8
| | | | svn path=/trunk/; revision=29585
* Added widgets in INCLUDES.Kaushal Kumar2005-06-232-4/+4
| | | | | | | | | | | | 2005-06-23 Kaushal Kumar <kakumar@novell.com> * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am, addressbook/gui/search/Makefile.am, plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES. Updated the include paths to use misc instead of widgets/misc. svn path=/trunk/; revision=29574
* gui/component/Makefile.am gui/contact-editor/Makefile.amTor Lillqvist2005-06-191-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * gui/component/Makefile.am * gui/contact-editor/Makefile.am * gui/contact-list-editor/Makefile.am * gui/merging/Makefile.am * gui/search/Makefile.am * gui/widgets/Makefile.am: Prune unnecessary and nonexistent directories from the -I options. Prune pathname macros not used in the sources in that directory from the -D options. * gui/component/Makefile.am * gui/contact-editor/Makefile.am * gui/contact-list-editor/Makefile.am * util/Makefile.am: Use NO_UNDEFINED. Link with all necessary libraries. * gui/component/Makefile.am: Use Win32-specific hack to work around MSYS feature in the gconftool invocation. * gui/contact-editor/Makefile.am * gui/contact-list-editor/Makefile.am: Use bootstrap library libevolution-addressbook on Win32. * gui/contact-editor/Makefile.am * gui/contact-list-editor/Makefile.am * util/Makefile.am: Use privsolib_LTLIBRARIES instead of privlib_LTLIBRARIES (see ../ChangeLog). svn path=/trunk/; revision=29546
* gui/component/GNOME_Evolution_Addressbook.server.in.inTor Lillqvist2005-06-181-1/+1
| | | | | | | | | | | 2005-06-18 Tor Lillqvist <tml@novell.com> * gui/component/GNOME_Evolution_Addressbook.server.in.in * importers/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in * importers/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: Use SOEXT. svn path=/trunk/; revision=29534
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-174-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* moved e-error to e-utilNot Zed2005-05-163-3/+3
| | | | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * moved e-error to e-util * Makefile.am: renamed error xml file & u18n stuff. svn path=/trunk/; revision=29361
* shell/ChangeLog shell/e-component-registry.c shell/e-component-registry.hSrinivasa Ragavan2005-05-161-0/+1
| | | | | | | | | | | | | | | | | | | | | 2005-05-16 Srinivasa Ragavan <sragavan@novell.com> shell/ChangeLog shell/e-component-registry.c shell/e-component-registry.h shell/e-shell-window.c shell/e-sidebar.h shell/e-sidebar.c addressbook/ChangeLog addressbook/gui/component/GNOME_Evolution_Addressbook.server.in.in calendar/ChangeLog calendar/gui/GNOME_Evolution_Calendar.server.in.in mail/ChangeLog mail/GNOME_Evolution_Mail.server.in.in Added support for tooltips for component switching buttons. svn path=/trunk/; revision=29358
* Changed string 'login' Rephrased photo string Rephrased photo stringSrinivasa Ragavan2005-05-061-2/+2
| | | | | | | | | | | 2005-05-06 Srinivasa Ragavan <sragavan@novell.com> * addressbook/gui/component/ldap-config.glade: Changed string 'login' * mail/evolution-mail.schemas.in.in: Rephrased photo string * mail/mail-config.glade: Rephrased photo string * ui/evolution-mail-message.xml: Changed 'From' to 'from' svn path=/trunk/; revision=29288
* get the uri from Ebook instead of Esource. e_source_get_uri returns NULLSivaiah Nallagatla2005-04-081-7/+5
| | | | | | | | | | | | | | | 2005-04-04 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook.c (load_source_auth_cb) (addressbook_authenticate) : get the uri from Ebook instead of Esource. e_source_get_uri returns NULL when it does not have a reference to source group with it which happens when the source list from which this source was taken is destroyed but Ebook has reference to that source. e_book_get_uri returns the same uri and it will be always present Fixes #73330 svn path=/trunk/; revision=29190
* Make sure LoadSourceData has call back installed before calling it. cb isSivaiah Nallagatla2005-03-051-1/+2
| | | | | | | | | | | | 2005-03-03 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook.c (load_source_auth_cb): Make sure LoadSourceData has call back installed before calling it. cb is NULL when called from auth_required_cb Fixes #73206 svn path=/trunk/; revision=28968
* Removed the hack, setting absolute URI to NULL. Fixes #72715Sushma Rai2005-02-241-1/+0
| | | | svn path=/trunk/; revision=28879
* Make mailer depend on libedataserverui.Hans Petter Jansson2005-02-242-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* update the base uri of the "On This Computer" group when user home dirSivaiah Nallagatla2005-02-221-2/+16
| | | | | | | | | | | | | 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-151-1/+1
| | | | | | | | | | | | 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
* clean up descriptionsJP Rosevear2005-02-081-5/+5
| | | | | | | | | 2005-02-07 JP Rosevear <jpr@novell.com> * gui/component/apps_evolution_addressbook.schemas.in.in: clean up descriptions svn path=/trunk/; revision=28743
* display a warning dialog if the server version is not proper added warningvivek jain2005-02-041-24/+31
| | | | | | | | | | 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-032-0/+93
| | | | | | | | | | | | | | | | | 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-031-1/+1
| | | | | | | | | 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
* 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
* 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
* in case of new book set the uid of the source as the relative uri.Sivaiah Nallagatla2005-01-211-1/+1
| | | | | | | | | | | 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 a11y name for the contact's treeview.Hao Sheng2005-01-181-0/+3
| | | | | | | | | | 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
* install schemas properlyJP Rosevear2005-01-071-1/+1
| | | | | | | | 2005-01-06 JP Rosevear <jpr@novell.com> * gui/component/Makefile.am: install schemas properly svn path=/trunk/; revision=28259
* Merge from offline brnachSivaiah Nallagatla2004-12-242-11/+70
| | | | svn path=/trunk/; revision=28194
* This is the last we see of ESelectNames.Hans Petter Jansson2004-12-2329-7290/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-232-7/+0
| | | | | | | | | | | | | | | | 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
* api changes.Not Zed2004-12-222-2/+2
| | | | | | | | | | | | | | 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
* set the window title based upon the sourceJain Vivek2004-12-151-1/+5
| | | | | | | * 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-094-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* set the active item based on the current group.Not Zed2004-12-061-2/+7
| | | | | | | | | 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-033-3/+2
| | | | | | | | | | | | | | | | | | | | 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
* get image directly from icon factoryJP Rosevear2004-11-261-4/+1
| | | | | | | | | | | | 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
* Evolution product name spelled with an uppercase EJoan Sanfeliu2004-11-232-3/+3
| | | | | | | | | | 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
* reverting commitSivaiah Nallagatla2004-11-222-64/+11
| | | | svn path=/trunk/; revision=27954
* added message which gets prompted when user tries to access a book whichSivaiah Nallagatla2004-11-222-11/+64
| | | | | | | | | | | | | | | | | | | 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
* fix for bugzilla #44876mengjie yu2004-11-041-0/+12
| | | | | | | | | | | 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
* 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-221-0/+1
| | | | | | | | | | | 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-211-2/+4
| | | | | | | | 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-211-1/+1
| | | | | | | | | 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
* register config hook.Not Zed2004-10-213-808/+626
| | | | | | | | | | | | | | | | | | | | | 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-202-3/+3
| | | | | | | | | | | 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
* added an any select mask and updated the hook maps.Not Zed2004-10-152-0/+25
| | | | | | | | | | | | | | | | | | | 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-143-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 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-121-3/+2
| | | | | | | | | | | | 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-072-25/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-061-87/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Quiet debug messages.William Jon McCann2004-09-222-2/+20
| | | | | | | | | | | | | | | | 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
* ** See bug #64080.Not Zed2004-09-091-0/+1
| | | | | | | | | | | 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
* ** See bug #62856 (workaround).Not Zed2004-08-301-1/+1
| | | | | | | | | | | 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-301-1/+1
| | | | | | | | | | | | 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-271-1/+1
| | | | | | | | | | | 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
* Don't mark component menu accels for translation.Christian Neumair2004-08-271-1/+1
| | | | svn path=/trunk/; revision=27036
* disbale the display name widget in case of groupwise as we can not handleSivaiah Nallagatla2004-08-261-2/+8
| | | | | | | | | | | | 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-251-1/+1
| | | | | | | | | | | | | 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-251-0/+2
| | | | | | | | * 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-221-6/+0
| | | | | | | | | 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
* [ likely fixes #61500 ] remove the secondary text, since we don't have theChris Toshok2004-08-201-19/+57
| | | | | | | | | | | | | | | | 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-191-1/+1
| | | | | | | | | | | | 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
* e passwords api change/reprompt if we need to.Not Zed2004-08-121-3/+5
| | | | | | | | | 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-121-3/+3
| | | | | | | | | 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-122-3/+13
| | | | | | | | | | | | 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
* Make the main dialog here be an actual GtkDialog instead of a GtkWindowRodney Dawes2004-08-032-1306/+1279
| | | | | | | | | | | | | | | | | | | 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-314-21/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-262-5/+5
| | | | | | | | | | | | 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
* include config.h #61395.Not Zed2004-07-221-0/+4
| | | | | | | | | | 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-222-40/+23
| | | | | | | | | | | | | | | 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
* don't set the toggle selectionJP Rosevear2004-07-211-2/+2
| | | | | | | | | | 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
* [ fixes #56657 ]Rodney Dawes2004-07-141-16/+6
| | | | | | | | | | | | | | 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-131-3/+3
| | | | | | | | | | | | | 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
* tarball should ship .schemas.in.in files, not generated files.Frédéric Crozat2004-07-092-2/+1
| | | | | | | | | | | * 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
* fix shortcuts. #56746Not Zed2004-06-281-2/+2
| | | | | | | | | 2004-06-28 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-component.c (impl__get_userCreatableItems): fix shortcuts. #56746 svn path=/trunk/; revision=26539
* do not limit the text len to 2047 charactersRadek Doulik2004-06-241-9/+0
| | | | | | | | | | | | 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
* Add an x-source-vcard target entry that includes the source book URI.Hans Petter Jansson2004-06-241-23/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-231-47/+85
| | | | | | | | | | | | 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
* revert this change.Chris Toshok2004-06-221-12/+1
| | | | svn path=/trunk/; revision=26450
* make completion respect your download limit for a given source. speeds upChris Toshok2004-06-221-1/+12
| | | | | | | | | | | | 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
* remove the auth-entry-notebook in the edit dialog, and rename the authChris Toshok2004-06-224-258/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* set auth-domain property on groupwise sources, so that newly createdSivaiah Nallagatla2004-06-191-0/+1
| | | | | | | | | | 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
* only go through the process of creating/loading the EBook if the model hasChris Toshok2004-06-191-3/+5
| | | | | | | | | | 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-191-1/+3
| | | | | | | | | | | | 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
* EBookContactsCallback -> EBookListCallback. (eab_nickname_query): same.Chris Toshok2004-06-187-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* set the source selector to be able to toggle the current selection. FixNot Zed2004-06-161-0/+2
| | | | | | | | | | 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
* Fixes #57795.Hans Petter Jansson2004-06-081-0/+25
| | | | | | | | | | | 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
* fix the name of "stock_save-as" everywhereDan Winship2004-06-071-1/+1
| | | | svn path=/trunk/; revision=26237
* only resolve destinations against persons, not contact lists.Chris Toshok2004-06-051-18/+30
| | | | | | | | | | 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
* Add missing negation that caused a crash.Hans Petter Jansson2004-06-031-1/+1
| | | | | | | | | | 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-031-52/+17
| | | | | | | | | | 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-022-1705/+1131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* call e_select_names_model_load_contacts after settingChris Toshok2004-05-295-8/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* added missing #ifdef HAVE_LDAPChristophe Fergeau2004-05-291-0/+2
| | | | | | | | 2004-05-28 Christophe Fergeau <teuf@gnome.org> * gui/component/addressbook-config.c: added missing #ifdef HAVE_LDAP svn path=/trunk/; revision=26126
* reenable this function, in a slightly broken manner. we don't haveChris Toshok2004-05-261-11/+17
| | | | | | | | | | | | | | 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-261-25/+20
| | | | | | | | | | | | | | 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-251-4/+12
| | | | | | | | | | | 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-252-65/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Implement. (migrate_contacts_hidden_fields): Implement.Hans Petter Jansson2004-05-211-0/+78
| | | | | | | | | | | 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-211-1/+3
| | | | | | | | | 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
* use the new e_book_new and e_book_open apis.Chris Toshok2004-05-206-33/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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-191-0/+2
| | | | | | | | | 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
* Change E_PIXMAP size args over to E_ICON_SIZE_* values.Jeffrey Stedfast2004-05-181-10/+10
| | | | | | | | | 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-182-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* set exception properly on failure.Not Zed2004-05-123-4/+18
| | | | | | | | | | | | 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-123-169/+10
| | | | | | | | | | | | | * 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-111-1/+21
| | | | | | | | | | 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-111-1/+1
| | | | | | | | 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-101-1/+1
| | | | | | | | | 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
* fixup the dialog initialization.Larry Ewing2004-05-051-2/+4
| | | | | | | | | 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
* bump the maximum download limit to 1000.Larry Ewing2004-05-041-1/+1
| | | | | | | | | 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-041-4/+4
| | | | | | | | | | 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-041-45/+1
| | | | | | | | 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-031-0/+4
| | | | | | | | | 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
* sensitize the details dialog where appropriate. Don't try to read fromLarry Ewing2004-05-021-7/+11
| | | | | | | | | | 2004-05-01 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-config.c: sensitize the details dialog where appropriate. Don't try to read from widgets that don't exist. svn path=/trunk/; revision=25735
* Fixed a type-o.Enver ALTIN2004-05-011-1/+1
| | | | | | | | | 2004-04-30 Enver ALTIN <enver.altin@frontsite.com.tr> * gui/component/GNOME_Evolution_Addressbook.server.in.in: Fixed a type-o. svn path=/trunk/; revision=25716
* oops, fixed a missing )Jeffrey Stedfast2004-04-281-2/+2
| | | | svn path=/trunk/; revision=25663
* We need a migration dialog if the revision <= 10. Fixes bug #57770.Jeffrey Stedfast2004-04-281-1/+1
| | | | | | | | | 2004-04-28 Jeffrey Stedfast <fejj@ximian.com> * gui/component/addressbook-migrate.c: We need a migration dialog if the revision <= 10. Fixes bug #57770. svn path=/trunk/; revision=25661
* remove debug spew.Larry Ewing2004-04-281-8/+3
| | | | | | | | 2004-04-27 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-config.c: remove debug spew. svn path=/trunk/; revision=25640
* Migrate pilot data. (migrate_pilot_data): Oops. Apparently the addressbookJeffrey Stedfast2004-04-281-41/+5
| | | | | | | | | | | | 2004-04-27 Jeffrey Stedfast <fejj@ximian.com> * gui/component/addressbook-migrate.c (addressbook_migrate): Migrate pilot data. (migrate_pilot_data): Oops. Apparently the addressbook didn't change the format of the changelog file from db3 to xml, so fix to simply copy the file over. svn path=/trunk/; revision=25639
* Migrate pilot data.Jeffrey Stedfast2004-04-281-1/+134
| | | | | | | | | 2004-04-27 Jeffrey Stedfast <fejj@ximian.com> * gui/component/addressbook-migrate.c (addressbook_migrate): Migrate pilot data. svn path=/trunk/; revision=25636
* fix warnings, remove unused code.Larry Ewing2004-04-271-243/+32
| | | | | | | | | 2004-04-27 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-config.c (source_to_dialog_new): fix warnings, remove unused code. svn path=/trunk/; revision=25624
* start integrate the new dialog.Larry Ewing2004-04-272-504/+1478
| | | | | | | | | | | 2004-04-27 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-component.c: start integrate the new dialog. * gui/component/ldap-config.glade: add the new dialog. svn path=/trunk/; revision=25623
* Fix the addressbook control to not crash. (Temporary fix.)Dan Winship2004-04-231-2/+8
| | | | | | | * gui/component/component-factory.c (factory): Fix the addressbook control to not crash. (Temporary fix.) svn path=/trunk/; revision=25601
* store off the label as well as the folder name label, so we can reuse theChris Toshok2004-04-221-32/+177
| | | | | | | | | | | | | | | | | | | | | | 2004-04-21 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (setup_progress_dialog): store off the label as well as the folder name label, so we can reuse the dialog and update the label. Also, no longer take the string to display here. (dialog_set_label): new function. (migrate_contact_lists_for_local_folders): call dialog_set_folder_name here so we can see the folder being migrated. (migrate_company_phone_for_local_folders): new function for updating the way we store company phone numbers. (addressbook_migrate): split out the logic for setting up/tearing down the dialog from the individual migration points so we can reuse the same dialog and not have get destroyed/recreated for each stage. Also add a new migration point ( <= 1.5.8) for migrating the company phone numbers. svn path=/trunk/; revision=25567
* added a new function to striff off any parameters present after ';' in theSivaiah Nallagatla2004-04-211-3/+24
| | | | | | | | | | | 2004-04-21 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook.c (remove_parameters_from_uri) : added a new function to striff off any parameters present after ';' in the uri (load_source_auth_cb) (addressbook_authenticate) : call above function to remove anything after ';' before passing uri to e-password calls svn path=/trunk/; revision=25560
* fix for e_user_creatable_items handle api changes.Not Zed2004-04-211-1/+1
| | | | | | | | | 2004-04-21 Not Zed <NotZed@Ximian.com> * gui/component/addressbook-view.c (addressbook_view_init): fix for e_user_creatable_items handle api changes. svn path=/trunk/; revision=25546
* Set the default image for the contact photo to be the stock_person imageRodney Dawes2004-04-194-23/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-19 Rodney Dawes <dobey@ximian.com> * gui/contact-editor/contact-editor.glade: Set the default image for the contact photo to be the stock_person image in the icon theme 2004-04-19 Michael Terry <mike@mterry.name> * gui/component/GNOME_Evolution_Addressbook.server.in.in: * gui/component/addressbook-component.c: * gui/component/addressbook-view.c: * gui/component/select-names/e-select-names-popup.c: * gui/contact-editor/e-contact-editor-address.c: * gui/contact-editor/e-contact-editor-fullname.c: * gui/contact-editor/e-contact-editor-im.c: * gui/contact-list-editor/contact-list-editor.glade: * gui/contact-list-editor/e-contact-list-editor.c: * gui/merging/eab-contact-commit-duplicate-detected.glade: * gui/merging/eab-contact-duplicate-detected.glade: * gui/widgets/e-minicard.c: * gui/widgets/eab-contact-display.c: * gui/widgets/eab-gui-util.c: Update the addressbook to use the icon theme via the EIconFactory object in e-util svn path=/trunk/; revision=25514
* new function, use the async interface to load the book.Chris Toshok2004-04-171-22/+35
| | | | | | | | | | | 2004-04-16 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (book_loaded_cb): new function, use the async interface to load the book. (impl_requestCreateItem): use e_book_async_get_default_addressbook. svn path=/trunk/; revision=25496
* force the info label to update its contents here if the load wasChris Toshok2004-04-153-3/+8
| | | | | | | | | | | | | | | | | 2004-04-14 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-view.c (book_open_cb): force the info label to update its contents here if the load was successful. * gui/component/addressbook-migrate.c (migration_context_new): use e_book_get_addressbooks instead of getting source_list from the component. (migration_context_free): unref the source_list. * gui/component/addressbook-config.c (dialog_to_source): sync the dialog->source_list, since we have it. svn path=/trunk/; revision=25472
* rip out tons of functions - they all live in addressbook-view.c now. theChris Toshok2004-04-157-1339/+1453
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-14 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c: rip out tons of functions - they all live in addressbook-view.c now. the only thing left in this file is the addressbook_load* calls that do authentication. * gui/component/addressbook.h: remove prototypes for addressbook_new_control and addressbook_load_uri (it was #if 0'ed anyway.) * gui/component/addressbook-component.h: remove prototypes for _peek_activity_handler and _peek_source_list. * gui/component/addressbook-component.c: rip out tons of functions - they all live in addressbook-view.c now. (impl_createControls): simplify this immensely. we just create an AddressbookView and get the various widgets/controls from it. (impl_requestCreateItem): this function loses slightly - it needs per-window info (the selected source) but there's no way to get it. So we load the default book. Also, this uses a synchronous e_book call to load the book, which is not good. (addressbook_component_peek_source_list): nuke, not used by anything anyway. (addressbook_component_peek_activity_handler): nuked, not used by anything - and it's per-window anyway. * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): add addressbook-view.[ch]. * gui/component/addressbook-view.[ch]: rip out all of the per window stuff from addressbook.[ch] and addressbook-component.[ch] and put it here. svn path=/trunk/; revision=25471
* added a check for new auth type "plain/password" for groupwise inSivaiah Nallagatla2004-04-131-0/+2
| | | | | | | | | | 2004-04-13 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook.c (addressbook_authenicate): added a check for new auth type "plain/password" for groupwise in addressbook_authenicate function svn path=/trunk/; revision=25425
* quiet valgrind uninitialized memory warning.Chris Toshok2004-04-131-0/+1
| | | | | | | | | 2004-04-12 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (addressbook_load_default_book): quiet valgrind uninitialized memory warning. svn path=/trunk/; revision=25423
* add prototypes for eab_load_error_dialog and eab_search_result_dialog.Chris Toshok2004-04-112-103/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2004-04-10 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-gui-util.h: add prototypes for eab_load_error_dialog and eab_search_result_dialog. * gui/widgets/eab-gui-util.c (eab_load_error_dialog): the new addressbook_show_load_error_dialog. (eab_search_result_dialog): new function, the old contents of addressbook.c:search_result. * gui/component/addressbook.c (addressbook_show_load_error_dialog): move this function to eab-gui-utils.[ch] (search_result): split out the body of this into eab_search_result_dialog in eab-gui-utils.[ch]. (book_open_cb): call eab_load_error_dialog. * gui/component/addressbook.h: remove prototype for addressbook_show_load_error_dialog. svn path=/trunk/; revision=25409
* bump version required to 8 for the contact list migration foo.Chris Toshok2004-04-101-1/+1
| | | | | | | | | 2004-04-09 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (addressbook_migrate): bump version required to 8 for the contact list migration foo. svn path=/trunk/; revision=25401
* pass GDK_CURRENT_TIME instead of a function pointer to "time" toChris Toshok2004-04-101-11/+22
| | | | | | | | | | | | | 2004-04-09 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (selector_tree_drag_motion): pass GDK_CURRENT_TIME instead of a function pointer to "time" to gdk_drag_status. not sure if this is right, but it's definitely more right than it was :) (impl_createControls): create the info label and add it to the sidebar control. it's not hooked up yet. svn path=/trunk/; revision=25399
* use the new e_destination_export_to_vcard_attribute call to build up theChris Toshok2004-04-1011-336/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-09 Chris Toshok <toshok@ximian.com> * importers/evolution-ldif-importer.c (resolve_list_card): use the new e_destination_export_to_vcard_attribute call to build up the attributes. * importers/evolution-vcard-importer.c (process_item_fn): if we're importing a vcard that we wrote out previously containing xml in the EMAIL attributes, DTRT and strip it out and use e_destination_export_to_vcard_attribute to build up the proper attribute. * util/Makefile.am (libeabutil_la_SOURCES): remove eab-destination.[ch] and add e-destination.[ch]. * printing/e-contact-print.c (e_contact_print_contact): we don't have to worry about the "<?xml..." EMAIL fields anymore. * gui/widgets/eab-gui-util.c (eab_send_contact_list): just use the value as the address (since that's what it is) in the list case. * gui/widgets/eab-contact-display.c (render_contact_list): remove the EABDestination stuff from here. (eab_contact_display_render_compact): same. * gui/widgets/e-minicard.c (activiate_editor): fix warnings - use EAB_EDITOR instead of G_OBJECT. (add_field): we don't have to worry about the "<?xml..." EMAIL fields anymore. (remodel): same. * gui/widgets/e-addressbook-treeview-adapter.c (adapter_get_value): we don't have to worry about the "<?xml..." EMAIL fields anymore. * gui/widgets/e-addressbook-table-adapter.c (addressbook_value_at): we don't have to worry about the "<?xml..." EMAIL fields anymore. * gui/contact-list-editor/e-contact-list-model.c (contact_list_value_at): eab->e. (contact_list_model_dispose): we're not a GtkObject, we're a GObject. rename _destroy to _dispose, and chain up to the parent class's ::dispose. (e_contact_list_model_class_init): GtkObject -> GObject, and destroy -> dispose. (e_contact_list_model_init): GtkObject -> GObject, and EAB -> E. (e_contact_list_model_add_destination): EAB -> E. (e_contact_list_model_add_email): same. (e_contact_list_model_add_contact): same. (e_contact_list_model_get_destination): same. * gui/contact-list-editor/e-contact-list-editor.c (table_drag_data_received_cb): add email num arg to e_contact_list_model_add_contact. (extract_info): fill in the vcard attributes instead of just generating xml. (fill_in_info): extract the values from the vcard attributes. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): eab->e, and don't sometimes copy, sometimes ::new. always ::new. (e_select_names_text_model_delete): same. (e_select_names_text_model_obj_count): same. (nth_obj_index): same. * gui/component/select-names/e-select-names-table-model.c (fill_in_info): eab -> e. * gui/component/select-names/e-select-names-popup.c (make_contact_editor_cb): eab -> e. (change_email_num_cb): same. (toggle_html_mail_cb): same. (populate_popup_contact): same, and remove code that checks for <?xml, then imports the EDestination. (quick_add_cb): eab -> e. (populate_popup_nocontact): same. (e_select_names_populate_popup): same. * gui/component/select-names/e-select-names-model.h: eab -> e, and remove prototypes for nuked functions. * gui/component/select-names/e-select-names-model.c (destination_changed_proxy, send_changed, connect_destination, disconnect_destination): nuke. (e_select_names_model_duplicate): EAB -> E. (e_select_names_model_get_textification): same. (e_select_names_model_get_address_text): same. (e_select_names_model_get_destination): same. (e_select_names_model_export_destinationv): same. (send_changed): same. (e_select_names_model_import_destinationv): same. (e_select_names_model_get_contact): same. (e_select_names_model_contains): same. (e_select_names_model_insert): same, and remove call to connect_destination. (e_select_names_model_append): same. (e_select_names_model_replace): same, and remove call to disconnect/connect_destination. (e_select_names_model_delete): same. (delete_all_iter): nuke. (e_select_names_model_delete_all): use g_object_unref for the foreach call. (e_select_names_model_merge): EAB -> E. (e_select_names_model_name_pos): same. (e_select_names_model_name_pos): same. (e_select_names_model_load_all_contacts): nuke. (e_select_names_model_cancel_all_contact_load): nuke. * gui/component/select-names/e-select-names-manager.c (clean_cb, focus_in_cb, focus_out_cb, completion_popup_cb): nuke. (completion_handler): EAB -> E, and the signals are gone. * gui/component/select-names/e-select-names-completion.c: in general, s/eab_dest/e_dest and s/EABDest/EDest. (e_select_names_completion_got_book_view_cb): move the e_book_view_start to below the assignment of sequence_complete_received, just to put my mind at ease. (e_select_names_completion_stop_query): un-#if notyet the call to e_book_cancel. (e_select_names_completion_start_query): free the waiting_query before assigning to it. * gui/component/select-names/e-select-names-bonobo.c (entry_set_property_fn): remove calls to e_select_names_model_load_all_contacts, since that function is dead. * gui/component/addressbook-migrate.c (setup_progress_dialog): take the label to display to the user as an arg. (migrate_contact_lists_for_local_folders): loop over all contacts in all local addressbooks looking for ones that have <?xml in their EMAIL attributes. for the ones we find, call e_destination_export_to_vcard_attribute to build up the proper attribute. (addressbook_migrate): add in a clause for all versions under 1.5.7 to convert contact lists. also, move the unrefs of the sources/groups to outside the if, as they're created outside it. * gui/component/Makefile.am (INCLUDES): remove the addressbook/backend/ dirs, since libebook isn't there anymore (nothing is, actually). Add addressbook/util/. svn path=/trunk/; revision=25390
* create an EUserCreatableItemsHandler (addressbook_view_clear): destroy itDan Winship2004-04-092-4/+18
| | | | | | | | | | | | | | * gui/component/addressbook.c (addressbook_new_control): create an EUserCreatableItemsHandler (addressbook_view_clear): destroy it (control_activate): Activate it * gui/component/addressbook-component.c (impl__get_userCreatableItems): Add object/folder flags to the creatable items. Rename "Address Book" to "Contacts Group" per new specs svn path=/trunk/; revision=25381
* Sync the changes here rather than setting 'changed' on the config controlJeffrey Stedfast2004-04-081-23/+13
| | | | | | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * gui/component/autocompletion-config.c (source_selection_changed): Sync the changes here rather than setting 'changed' on the config control (since that no longer exists). (autocompletion_config_control_new): Don't connect to an apply signal, no such signal. svn path=/trunk/; revision=25357
* Fixes #53433.Hari Prasad Nadig2004-04-022-55/+31
| | | | | | | | | | | | | | | | | | 2004-04-01 Hari Prasad Nadig <hp@ndeepak.info> Fixes #53433. * gui/component/addressbook-config.c (searching_tab_check): added the tab check for search tab. (dialog_to_source): added timeout to be saved. (source_to_dialog): just a piece to retrieve timeout from source. (addressbook_root_dse_query): few necessary changes. (do_ldap_root_dse_query): again few changes that were required. * gui/component/ldap-config.glade : set right the Hscale to display the selected value. svn path=/trunk/; revision=25281
* [ fixes bug #53544 ]Chris Toshok2004-03-311-5/+20
| | | | | | | | | | | | | | | 2004-03-30 Chris Toshok <toshok@ximian.com> [ fixes bug #53544 ] * gui/component/addressbook-component.c (impl__get_userCreatableItems): add "address_book" to the user creatable items list. complete with incorrect accelerator and shortcut! (impl_requestCreateItem): handle "address_book" here, and plug a memory leak. svn path=/trunk/; revision=25253
* [ fixes bug #53094 ]Chris Toshok2004-03-312-265/+63
| | | | | | | | | | | | | | 2004-03-30 Chris Toshok <toshok@ximian.com> [ fixes bug #53094 ] * gui/component/ldap-config.glade: nuke addressbook-sources-window. * gui/component/addressbook-config.c (main): nuke, we don't need this test case anymore, and it doesn't really work anyway anymore. svn path=/trunk/; revision=25249
* [ fixes bug #53634 ]Chris Toshok2004-03-311-3/+0
| | | | | | | | | | | | | | | | | | | 2004-03-30 Chris Toshok <toshok@ximian.com> [ fixes bug #53634 ] * gui/widgets/e-addressbook-view.c (eab_view_new): call e_search_bar_set_menu to add the Advanced... menu item to the search menu, and connect to "menu_activated". (search_menu_activated): new function, pop up the advanced dialog if id == ESB_ADVANCED. (query_changed): use e_search_bar_get_item_id instead of g_object_get. * gui/component/addressbook.c (verbs): remove ToolSearch. (pixmaps): remove the ToolSearch pixmap. svn path=/trunk/; revision=25247
* call drag_finish properly. (selector_tree_drag_motion): set the dragLarry Ewing2004-03-301-61/+53
| | | | | | | | | | | | | | | | | | | 2004-03-29 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-component.c (selector_tree_drag_data_received): call drag_finish properly. (selector_tree_drag_motion): set the drag status properly. 2004-03-29 Larry Ewing <lewing@ximian.com> * gui/calendar-component.c (selector_tree_drag_data_received): deal with the action type a properly. in the normal case. * gui/calendar-component.c (selector_tree_drag_data_received): call drag_finish properly, change the uid. (selector_tree_drag_motion): set drag status properly. svn path=/trunk/; revision=25240
* don't let the user delete their Personal addressbook. This is just a niceChris Toshok2004-03-251-2/+7
| | | | | | | | | | | | 2004-03-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (fill_popup_menu_callback): don't let the user delete their Personal addressbook. This is just a nice UI thingy.. A similar fix needs to be made to e-d-s. so that attempts that circumvent a nice UI will also fail. svn path=/trunk/; revision=25181
* parent_type == EAB_TYPE_EDITOR. (e_contact_list_editor_class_init): fillChris Toshok2004-03-251-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-24 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_get_type): parent_type == EAB_TYPE_EDITOR. (e_contact_list_editor_class_init): fill in editor_class virtual functions, and remove all the signals. (list_added_cb): call eab_editor_contact_* instead of emitting a signal here. also call eab_editor_close (list_modified_cb): same. (e_contact_list_editor_is_valid): new function. (e_contact_list_editor_is_changed): same. (e_contact_list_editor_get_window): same. (file_close_cb): call eab_editor_ functions. (list_deleted_cb): call eab_editor_contact_* instead of emitting a signal here. also call eab_editor_close (delete_cb): call eab_editor_* functions. (contact_list_editor_destroy_notify): call eab_editor_remove. (e_contact_list_editor_new): call eab_editor_add, and remove the g_object_ref/gtk_object_sink two-step. (e_contact_list_editor_show): make static, and make arg EABEditor. (e_contact_list_editor_raise): same. (e_contact_list_editor_close): same. (app_delete_event_cb): call eab_editor_ functions. (command_state_changed): use eab_editor_is_valid instead of is_named. (e_contact_list_editor_request_close_all): nuke. * gui/contact-list-editor/e-contact-list-editor.h: nuke a bunch of prototypes for functions that are now either virtual functions from EABEditor or eab_editor_* functions. (struct _EContactListEditor): we subclass from EABEditor. (struct _EContactListEditorClass): same, and nuke all the signals. * gui/contact-editor/e-contact-editor.c (e_contact_editor_get_type): parent_type == EAB_TYPE_EDITOR. (e_contact_editor_class_init): fill in editor_class virtual functions, and remove all the signals. (contact_moved_cb): call eab_editor_contact_* instead of emitting a signal here. also call eab_editor_close (contact_added_cb): same. (contact_modified_cb): same. (e_contact_editor_close): rename from close_dialog. (e_contact_editor_is_valid): new function. (e_contact_editor_is_changed): new function. (e_contact_editor_get_window): new function. (file_close_cb): use eab_editor_ calls here. (e_contact_editor_confirm_delete): nuke. (contact_deleted_cb): call eab_editor_contact_* instead of emitting a signal here. also call eab_editor_close (delete_cb): use eab_editor_ functions. (e_contact_editor_dispose): chain up to our parent's ::dispose. (contact_editor_destroy_notify): use eab_editor_remove. (e_contact_editor_new): use eab_editor_add, and remove the g_object_ref/gtk_object_sink two-step. (_popup_position): nuke dead function. (set_fields): i is an index, not a field_id. (e_contact_editor_raise): make this static, and it takes an EABEditor arg now, not a EContactEditor. (e_contact_editor_show): same. (e_contact_editor_request_close_all): nuke. * gui/contact-editor/e-contact-editor.h: nuke a bunch of prototypes for functions that are now either virtual functions from EABEditor or eab_editor_* functions. (struct _EContactEditor): we subclass from EABEditor. (struct _EContactEditorClass): same, and remove the signals. * gui/widgets/e-addressbook-view.c (delete): call eab_editor_confirm_delete. * gui/widgets/eab-popup-control.c (contact_editor_cb): don't bother calling e_contact_editor_raise since this is a new contact editor anyway. * gui/widgets/eab-gui-util.c (eab_show_contact_list_editor): use EABEditor signals, and eab_editor_show. * gui/widgets/e-minicard.h: "editor" is now of type EABEditor, not GObject. * gui/widgets/e-minicard.c (e_minicard_event): just use eab_editor_raise instead of e_contact_editor_raise/e_contact_list_editor_raise. * gui/component/addressbook-component.c (impl_requestQuit): implement this again, calling eab_editor_request_close_all. (addressbook_component_class_init): fill in epv->requestQuit. svn path=/trunk/; revision=25173
* build a11y/addressbook dir : add the accessibility support forHao Sheng2004-03-151-0/+2
| | | | | | | | | | | | | | 2004-03-15 Hao Sheng <hao.sheng@sun.com> * gui/component/Makefile.am : build a11y/addressbook dir * gui/widgets/e-addressbook-view.c : (eab_view_class_init) : add the accessibility support for e_addressbook_view * gui/widgets/e-minicard-view.c : (e_minicard_view_class_init) : add the accessibility support for e_minicard_view * gui/widgets/e-minicard.c : (e_minicard_class_init) : add the accessibility support for e_minicard svn path=/trunk/; revision=25059
* : maintain a list of only those source groups which are added to menuSivaiah Nallagatla2004-03-041-2/+15
| | | | | | | | | | | | 2004-03-04 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook-config.c : (addressbook_add_server_druid) : maintain a list of only those source groups which are added to menu instead of all (source_group_changed_cb) : use the new list to get the selected group (addressbook_source_dialog_destroy) : free the new list svn path=/trunk/; revision=24958
* ** See #54991.Not Zed2004-03-041-17/+20
| | | | | | | | | | | | | | 2004-03-04 Not Zed <NotZed@Ximian.com> ** See #54991. * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_start_query): dont try to unref a null query. (name_style_query): use a GString to build the query, so we can use e_sexp_encode_string to properly encode the sub terms. svn path=/trunk/; revision=24957
* Set error to NULL before using it.Hans Petter Jansson2004-03-041-1/+1
| | | | | | | | | 2004-03-03 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-component.c (delete_addressbook_cb): Set error to NULL before using it. svn path=/trunk/; revision=24953
* Remove local data, with error reporting on failure.Hans Petter Jansson2004-03-041-3/+30
| | | | | | | | | 2004-03-03 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-component.c (delete_addressbook_cb): Remove local data, with error reporting on failure. svn path=/trunk/; revision=24952
* add drop support for text/x-vcard to the source list.Larry Ewing2004-03-021-0/+185
| | | | | | | | | 2004-03-02 Larry Ewing <lewing@ximian.com> * gui/component/addressbook-component.c: add drop support for text/x-vcard to the source list. svn path=/trunk/; revision=24930
* Move unused variable declaration inside notyet conditional.Hans Petter Jansson2004-02-273-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-26 Hans Petter Jansson <hpj@ximian.com> * util/eab-destination.c (name_and_email_cb): Move unused variable declaration inside notyet conditional. * printing/e-contact-print.c: Include gal/util/e-util.h * gui/merging/eab-contact-compare.c (eab_contact_locate_match): Cast callback to an EBookCallback. (eab_contact_locate_match_full): Ditto. * gui/contact-editor/e-contact-quick-add.c (quick_add_set_name): Remove unused variable and cast 3rd arg to e_contact_set () (perhaps this should take a gconstpointer?). * gui/contact-editor/e-contact-editor-im.c (setup_service_optmenu): Remove unused variable. * gui/component/select-names/e-select-names.c (e_select_names_init): Cast the vbox to a GtkBox. * gui/component/addressbook-config.c (dialog_to_source): Correctly cast the spin button to a GtkSpinButton, not a GtkEntry. * gui/component/addressbook-component.c (load_primary_selection): Remove unused variable. svn path=/trunk/; revision=24898
* don't init the dialog here (addressbook_migrate): init it hereJP Rosevear2004-02-251-3/+2
| | | | | | | | | | 2004-02-24 JP Rosevear <jpr@ximian.com> * gui/component/addressbook-migrate.c (migration_context_new): don't init the dialog here (addressbook_migrate): init it here svn path=/trunk/; revision=24853
* s/HAVE_NSS/ENABLE_SMIME.Chris Toshok2004-02-202-4/+4
| | | | | | | | | | 2004-02-19 Chris Toshok <toshok@ximian.com> * gui/component/component-factory.c: s/HAVE_NSS/ENABLE_SMIME. * gui/component/addressbook-component.c: s/HAVE_NSS/ENABLE_SMIME. svn path=/trunk/; revision=24812
* split out the majority of the set_prop code for PROPERTY_SOURCE_UID_IDXChris Toshok2004-02-201-84/+134
| | | | | | | | | | | | | | | | | 2004-02-19 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (activate_source): split out the majority of the set_prop code for PROPERTY_SOURCE_UID_IDX here, so it can be used for both SOURCE_UID and FOLDER_URI. (set_prop): add a setter for "folder_uri". we sorta fudge things and use the uri for the uid (the uid is only used as a hash key to look up the view associated with the uri/source, so we should be good still.) (get_prop): add getter for "folder_uri". (addressbook_new_control): add the "folder_uri" property to our property bag. svn path=/trunk/; revision=24808
* free up the list returned by e_book_get_contacts.Chris Toshok2004-02-131-0/+3
| | | | | | | | | 2004-02-12 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (migrate_contacts): free up the list returned by e_book_get_contacts. svn path=/trunk/; revision=24731
* Fix capitalization of Address Book usage in sentence form Use Address BookRodney Dawes2004-02-132-10/+14
| | | | | | | | | | | 2004-01-12 Rodney Dawes <dobey@ximian.com> * gui/component/addressbook-component.c (delete_addressbook_cb): Fix capitalization of Address Book usage in sentence form * gui/component/ldap-config.glade: Use Address Book instead of Addressbook in here (Patch from Aaron Weber <aaron@ximian.com>) svn path=/trunk/; revision=24725
* Address Book, not AddressbookRodney Dawes2004-02-121-2/+2
| | | | | | | | | | | | | 2004-02-11 Rodney Dawes <dobey@ximian.com> * gui/component/addressbook-component.c (delete_addressbook_cb): (fill_popup_menu_callback): * gui/widgets/e-addressbook-view.c (init_collection): * gui/widgets/eab-gui-util.c (eab_error_dialog): * gui/widgets/eab-popup-control.c (eab_popup_control_contstruct): Address Book, not Addressbook svn path=/trunk/; revision=24715
* Initialize the personal_source to NULLRodney Dawes2004-02-091-0/+1
| | | | | | | | | | | 2004-02-08 Rodney Dawes <dobey@ximian.com> * gui/component/addressbook-migrate.c (create_groups): Initialize the personal_source to NULL Fixes #54015 svn path=/trunk/; revision=24674
* don't bother using a function-wide variable to store the personal source.Chris Toshok2004-02-071-7/+5
| | | | | | | | | | | | 2004-02-06 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (create_groups): don't bother using a function-wide variable to store the personal source. also, use g_build_filename properly (because fejj is a whiner.) (migrate_local_folders): same (wrt fejj whining). svn path=/trunk/; revision=24667
* Hide the border on the notebook also Don't pack another scrolled windowRodney Dawes2004-02-071-0/+1
| | | | | | | | | | | | 2004-02-06 Rodney Dawes <dobey@ximian.com> * gui/component/addressbook.c (addressbook_new_control): Hide the border on the notebook also * gui/widgets/e-addressbook-view.c (eab_view_new): Don't pack another scrolled window inside of a scrolled window, just pack the contact display inside the paned, since it already has a scrolled window svn path=/trunk/; revision=24664
* add widgets/misc for e-activity-handler.hDan Winship2004-02-041-2/+1
| | | | | | | * gui/component/select-names/Makefile.am (INCLUDES): add widgets/misc for e-activity-handler.h svn path=/trunk/; revision=24588
* use gtk_spin_button_* apis to get and set values for download limit spinSivaiah Nallagatla2004-02-041-6/+7
| | | | | | | | | | | 2004-02-03 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook-config.c (dialog_to_source) (source_to_dialog) : use gtk_spin_button_* apis to get and set values for download limit spin button instead of gtk_entry Fixes #53432 svn path=/trunk/; revision=24582
* Changed "Finish" to "Apply" in dialog finish page text.Hans Petter Jansson2004-01-301-1/+1
| | | | | | | | | 2004-01-29 Hans Petter Jansson <hpj@ximian.com> * gui/component/ldap-config.glade: Changed "Finish" to "Apply" in dialog finish page text. svn path=/trunk/; revision=24526
* Sync the modified source list.Hans Petter Jansson2004-01-302-2/+9
| | | | | | | | | | | | 2004-01-29 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-config.c (dialog_to_source): Sync the modified source list. * gui/component/addressbook-component.c (delete_addressbook_cb): Sync the modified source list. svn path=/trunk/; revision=24525
* use the MigrationContext struct. (dialog_close): same.Chris Toshok2004-01-301-97/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-29 Chris Toshok <toshok@m198-139.dsl.rawbw.com> * gui/component/addressbook-migrate.c (setup_progress_dialog): use the MigrationContext struct. (dialog_close): same. (dialog_set_folder_name): same. (dialog_set_progress): same. (migrate_contacts): same, and pass it along to other functions. (migrate_contact_folder_to_source): same. (migrate_contact_folder): same. also, add the old path/uid to the folder_uid_map. (migrate_local_folders): same. (create_groups): use the MigrationContext struct. (migrate_completion_folders): if it's a file uri, look up the old path in our hash table for a uid to use. otherwise use the old behavior. (migration_context_new): new function, initialize the MigrationContext. (migration_context_free): free up everything. (addressbook_migrate): create the context, pass it to everything, destroy the context, shine toshok's shoes, etc. svn path=/trunk/; revision=24524
* set group to temporary sourceRadek Doulik2004-01-301-0/+1
| | | | | | | | | 2004-01-29 Radek Doulik <rodo@ximian.com> * gui/component/addressbook-config.c (dialog_to_temp_source): set group to temporary source svn path=/trunk/; revision=24522
* Get file_as instead of full_name.Hans Petter Jansson2004-01-292-2/+2
| | | | | | | | | | | | 2004-01-28 Hans Petter Jansson <hpj@ximian.com> * gui/component/select-names/e-select-names-table-model.c (fill_in_info): Get file_as instead of full_name. * gui/compoent/select-names/e-select-names.etspec: Show the file_as column instead of full_name. svn path=/trunk/; revision=24505
* set the relative_uri of a local source to be its uid.Chris Toshok2004-01-282-15/+12
| | | | | | | | | | | | | | | | | | | | | 2004-01-27 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-config.c (dialog_to_source): set the relative_uri of a local source to be its uid. * gui/component/addressbook-migrate.c (migrate_contact_folder_to_source): remove the dest_group arg, since we don't use it. (migrate_contact_folder): set the relative uri of the source to be its uid. (PERSONAL_RELATIVE_URI): "Personal" -> "system". (create_groups): don't actually make the directory hierarchy for the personal folder here. let e-d-s do that. Also remove OnThisComputer from the base uri. (migrate_local_folders): track change to migrate_contact_folder_to_source. svn path=/trunk/; revision=24478
* [ Should fix #53361 and other migration problems/crashes ] new function,Chris Toshok2004-01-271-29/+46
| | | | | | | | | | | | | | | | | | | | | 2004-01-26 Chris Toshok <toshok@ximian.com> [ Should fix #53361 and other migration problems/crashes ] * gui/component/addressbook-migrate.c (migrate_contact_folder_to_source): new function, takes most of migrate_contact_folder's contents. Fix some of the refcounting problems though, by not unreffing dest_group, and using e_group_add_source instead of e_source_set_group. (migrate_contact_folder): convert to calling migrate_contact_folder_to_source. (create_groups): add an out parameter for *personal_source. (migrate_local_folders): add personal_source as an arg, so we can get the source that create_groups created/found. Call migrate_contact_folder_to_source for the personal_source. (addressbook_migrate): pass personal_source to migrate_local_folders. svn path=/trunk/; revision=24457
* Select Contacts from Address Book, not ContentsRodney Dawes2004-01-251-1/+1
| | | | | | | | | | | 2004-01-24 Rodney Dawes <dobey@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_init): Select Contacts from Address Book, not Contents Fixes #53263 svn path=/trunk/; revision=24414
* oops. (migrate_contact_folder): fix the unreffing.Chris Toshok2004-01-251-3/+9
| | | | | | | | | | 2004-01-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (migrate_local_folders): oops. (migrate_contact_folder): fix the unreffing. svn path=/trunk/; revision=24408
* use _("Personal"), not "Personal".Chris Toshok2004-01-251-1/+1
| | | | | | | | | 2004-01-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (migrate_local_folders): use _("Personal"), not "Personal". svn path=/trunk/; revision=24407
* i2004-01-24 Chris Toshok <toshok@ximian.com>Chris Toshok2004-01-251-7/+0
| | | | | | | * gui/component/addressbook-migrate.c (migrate_local_folders): don't create/add the source here. it's done in svn path=/trunk/; revision=24406
* use e_folder_map_local_folders. (find_addressbook_dirs): nuke.Chris Toshok2004-01-251-53/+5
| | | | | | | | | | 2004-01-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (migrate_local_folders): use e_folder_map_local_folders. (find_addressbook_dirs): nuke. svn path=/trunk/; revision=24404
* [ fixes bug #52571 ] ugh. name fields that have \" around the name breakChris Toshok2004-01-241-10/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-23 Chris Toshok <toshok@ximian.com> [ fixes bug #52571 ] * util/eab-book-util.c (escape): ugh. name fields that have \" around the name break our queries, because it turns it into (for instance): (contains "full_name" ""Toshok""). so we need to turn that into: (contains "full_name" "\"Toshok\""). (eab_name_and_email_query): escape both the name and email, and use an EBookQuery instead of passing the string to e_book_async_get_contacts. Looks like ross missed a couple of spots. (eab_nickname_query): same. * gui/component/addressbook.c (free_load_source_data): new function, free up the data and unref the source if there is one. (load_source_auth_cb): call free_load_source_data instead of just g_free'ing the struct. (load_source_cb): same. (default_book_cb): new function, we need this so we can fill in the source for the default book. get the source, then call load_source_cb to continue processing as normal. (addressbook_load_default_book): use default_book_cb instead of load_source_cb. svn path=/trunk/; revision=24383
* [ fixes bug #53184 ] handle the fact that the xml 1.4 spits out containsChris Toshok2004-01-231-0/+30
| | | | | | | | | | | 2004-01-22 Chris Toshok <toshok@ximian.com> [ fixes bug #53184 ] * gui/component/addressbook-migrate.c (migrate_contacts): handle the fact that the xml 1.4 spits out contains unescaped ';'s in the EMAIL attributes for mailing lists. svn path=/trunk/; revision=24374
* [ fixes bug #52944 ] do some massaging of contacts as we import them, toChris Toshok2004-01-231-0/+56
| | | | | | | | | | | 2004-01-22 Chris Toshok <toshok@ximian.com> [ fixes bug #52944 ] * gui/component/addressbook-migrate.c (migrate_contacts): do some massaging of contacts as we import them, to fix up the differences between 1.4 and 1.5 vcards. svn path=/trunk/; revision=24369
* Remove. (dialog_to_source): Don't create source dir, backend takes care ofHans Petter Jansson2004-01-221-26/+1
| | | | | | | | | | 2004-01-21 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-config.c (create_source_dir): Remove. (dialog_to_source): Don't create source dir, backend takes care of that now. svn path=/trunk/; revision=24359
* new function.Chris Toshok2004-01-223-17/+165
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-21 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (addressbook_component_peek_gconf_client): new function. * gui/component/addressbook-component.h: add prototype for addressbook_component_peek_gconf_client. * gui/component/addressbook-migrate.c (migrate_completion_folders): more gross hacking. migrate the completion settings. (get_source_by_uri): function to search for an ESource given the entire uri. used for migrate_completion_folders. (migrate_ldap_servers): get_string_value -> get_string_child. same with get_integer_child. (get_string_child): rename to make it apparent it's a child, not a property. (get_integer_child): same. (addressbook_migrate): call migrate_completion_folders. svn path=/trunk/; revision=24357
* deal with the groups/sources already being there. Essentially make thisChris Toshok2004-01-213-43/+78
| | | | | | | | | | | | | | | | | | | 2004-01-20 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (create_groups): deal with the groups/sources already being there. Essentially make this function idempotent. (addressbook_migrate): unconditionally call create_groups now. move the version logic here from ipl_upgradeFromVersion, and include more versions in the set of those we upgrade from. * gui/component/addressbook-migrate.h: add major/minor/revision args to addressbook_migrate. * gui/component/addressbook-component.c (impl_upgradeFromVersion): remove the version logic from here. svn path=/trunk/; revision=24338
* Get name from correct model column.Hans Petter Jansson2004-01-201-1/+1
| | | | | | | | | 2004-01-19 Hans Petter Jansson <hpj@ximian.com> * gui/component/select-names/e-select-names.etspec: Get name from correct model column. svn path=/trunk/; revision=24311
* Implement. (load_primary_selection): Use get_primary_source ().Hans Petter Jansson2004-01-201-9/+19
| | | | | | | | | | | | 2004-01-19 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-component.c (get_primary_source): Implement. (load_primary_selection): Use get_primary_source (). (impl_requestCreateItem): Use get_primary_source (), fixing a crash when we're asked to create a new item and we don't have the controls. svn path=/trunk/; revision=24309
* Don't run callback if the action was cancelled. (load_source_cb): Ditto.Hans Petter Jansson2004-01-172-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-16 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook.c (load_source_auth_cb): Don't run callback if the action was cancelled. (load_source_cb): Ditto. (addressbook_load_source): Return an ID for the load attempt. (addressbook_load_source_cancel): Implement, allows cancelling a load attempt. * gui/contact-editor/e-contact-editor.c (new_target_cb): Clear the values for in-progress load operation. Only unref new_book if it's non-NULL. (cancel_load): Implement. Cancels the load operation if one is in progress. (source_selected): Cancel any running load operation before starting a new one. Set up in-progress values. (e_contact_editor_init): Clear the in-progress values. (e_contact_editor_dispose): Cancel load operation. (e_contact_editor_set_property): If a new target book is set, cancel any conflicting load operation in progress. * gui/widgets/e-addressbook-view.c (set_paned_position): Remove debug output. (get_paned_position): Ditto. svn path=/trunk/; revision=24287
* only set the menus and command state if we actually are already displayed,JP Rosevear2004-01-171-3/+5
| | | | | | | | | | 2004-01-16 JP Rosevear <jpr@ximian.com> * gui/component/addressbook.c (set_prop): only set the menus and command state if we actually are already displayed, otherwise wait for activation svn path=/trunk/; revision=24283
* Implement. (get_paned_position): Implement. (eab_view_new): Connect signalHans Petter Jansson2004-01-161-1/+14
| | | | | | | | | | | | 2004-01-15 Hans Petter Jansson <hpj@ximian.com> * gui/widgets/e-addressbook-view.c (set_paned_position): Implement. (get_paned_position): Implement. (eab_view_new): Connect signal to get paned position changes. Remove old hack. (display_view): Set paned position properly. svn path=/trunk/; revision=24264
* Actually commit.JP Rosevear2004-01-131-8/+0
| | | | svn path=/trunk/; revision=24188
* migrate from 1.5.0 and 1.5.1 properlyJP Rosevear2004-01-131-0/+8
| | | | | | | | | 2004-01-12 JP Rosevear <jpr@ximian.com> * gui/component/addressbook-component.c (impl_upgradeFromVersion): migrate from 1.5.0 and 1.5.1 properly svn path=/trunk/; revision=24185
* Take a sensitivity flag per menu item, and fall back to stock icons.Hans Petter Jansson2004-01-122-15/+55
| | | | | | | | | | | | | | | 2004-01-09 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-component.c (add_popup_menu_item): Take a sensitivity flag per menu item, and fall back to stock icons. (delete_addressbook_cb): Implement. (fill_popup_menu_callback): Reorder items, remove "remove" item, set sensitivity. * gui/component/ldap-config.glade: "Edit LDAP Server" -> "Addressbook Properties". svn path=/trunk/; revision=24168
* Added a dialog for adding a new IM account. Added the previously mentionedChristian Hammond2004-01-121-0/+1
| | | | | | | | | | | | | | | 2004-01-11 Christian Hammond <chipx86@gnupdate.org> * addressbook/gui/contact-editor/e-contact-editor-im.[ch], addressbook/gui/contact-editor/im.glade: Added a dialog for adding a new IM account. * addressbook/gui/contact-editor/Makefile.am: Added the previously mentioned files, and depend on camel for necessary MIME parsing. * addressbook/gui/contact-editor/contact-editor.[ch], addressbook/gui/contact-editor/contact-editor.glade: Add and implement svn path=/trunk/; revision=24162
* Update for API changes to e-book-asyncRoss Burton2004-01-091-10/+15
| | | | svn path=/trunk/; revision=24130
* Make the ESelectNames object be a HIG-compliant dialog, change "Folder" toRodney Dawes2004-01-082-270/+239
| | | | | | | | | | | | | 2004-01-07 Rodney Dawes <dobey@ximian.com> * gui/component/select-names/e-select-names.c: * gui/component/select-names/select-names.glade: Make the ESelectNames object be a HIG-compliant dialog, change "Folder" to be "Address Book", and fix a mnemonic conflict with "Category" and "Cancel" Fixes #50660 svn path=/trunk/; revision=24095
* Move the smime_component_init call to the instance init callback, ratherRodney Dawes2004-01-081-2/+4
| | | | | | | | | | 2004-01-07 Rodney Dawes <dobey@ximian.com> * gui/component/addressbook-component.c: Move the smime_component_init call to the instance init callback, rather than the class init, and wrap it in #if HAVE_NSS, so the addressbook works without smime support svn path=/trunk/; revision=24092
* link in printer stuffJP Rosevear2004-01-071-0/+1
| | | | | | | | | | 2004-01-07 JP Rosevear <jpr@ximian.com> * gui/component/Makefile.am: link in printer stuff Fixes #51172 svn path=/trunk/; revision=24087
* remove spew. (migrate_contacts): same. (migrate_contact_folder): same.Chris Toshok2004-01-071-11/+2
| | | | | | | | | | | | 2004-01-06 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (check_for_conflict): remove spew. (migrate_contacts): same. (migrate_contact_folder): same. (migrate_local_folders): same, and plug a leak. svn path=/trunk/; revision=24080
* add addressbook-migrate.[ch].Chris Toshok2004-01-075-46/+637
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-06 Chris Toshok <toshok@ximian.com> * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): add addressbook-migrate.[ch]. * gui/component/addressbook-component.c (addressbook_component_init): remove the source creation from here, it's in the migration code now. (impl_upgradeFromVersion): new function, call the addressbook-migration stuff. (addressbook_component_class_init): fill in epv->upgradeFromVersion, and call smime_component_init. (addressbook_component_peek_base_directory): new function. (addressbook_component_peek_source_list): same. * gui/component/addressbook-component.h: add prototypes for _peek_base_directory and _peek_source_list. * gui/component/addressbook-migrate.[ch]: add migration code to convert stuff from 1.x over to 1.5/2.0. svn path=/trunk/; revision=24079
* disconnect from selection-done signalJP Rosevear2004-01-071-0/+2
| | | | | | | | | 2004-01-06 JP Rosevear <jpr@ximian.com> * gui/component/select-names/e-select-names-popup.c (popup_info_cleanup): disconnect from selection-done signal svn path=/trunk/; revision=24075
* these line breaks in the error messages should actually be spacesJP Rosevear2004-01-061-9/+9
| | | | | | | | | | | | 2004-01-05 JP Rosevear <jpr@ximian.com> * gui/component/addressbook.c (addressbook_show_load_error_dialog): these line breaks in the error messages should actually be spaces Fixes #51732 svn path=/trunk/; revision=24047
* Impl. from calendar. (save_primary_selection): Implement, similar toHans Petter Jansson2003-12-201-0/+68
| | | | | | | | | | | | | 2003-12-19 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-component.c (find_first_source): Impl. from calendar. (save_primary_selection): Implement, similar to calendar. (load_primary_selection): Implement, similar to calendar. (primary_source_selection_changed_callback): Save selection. (impl_createControls): Load selection. svn path=/trunk/; revision=23991
* install the "source" property. (eab_view_init): init eav->source to NULL.Chris Toshok2003-12-181-378/+331
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-17 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (eab_view_class_init): install the "source" property. (eab_view_init): init eav->source to NULL. (eab_view_dispose): disconnect the ecml_changed_id and unref source. (eab_view_new): create the search bar here. (view_preview): c&p the mailer's code mostly for this - this is the toggle listener for the Preview Pane menuitem. (setup_menus): add a listener for the ContactsViewPreview toggle. (eab_view_set_property): sensitize the search bar based on whether or not we have a book set. This makes it so you can't search until the book is loaded. Also add handling for the "source" attribute and print a warning when it's set multiple times (something that's not supported at the moment.) (eab_view_get_property): add "source" case. (search_activated, query_changed, compare_subitems, make_subitems, ecml_changed, get_master_list, connect_master_list_changed): move this here from addressbook.c (eab_view_show_contact_preview): implement - just show or hide the scrolled window. (eab_view_setup_menus): call e_search_bar_set_ui_component here, kind of a hack. * gui/widgets/e-addressbook-view.h: make this inherit from GtkVBox instead of GtkEventBox since we'll be packing children. Add a prototype for eab_view_show_contact_preview. * gui/component/addressbook.c (get_current_view): return the EABView associated with the active notebook page. (save_contact_cb): use the current view. (view_contact_cb): same. (search_cb): same. (delete_contact_cb): same. (print_cb): same. (print_preview_cb): same. (stop_loading_cb): same. (cut_contacts_cb): same. (copy_contacts_cb): same. (paste_contacts_cb): same. (select_all_contacts_cb): same. (send_contact_cb): same. (send_contact_to_cb): same. (copy_contact_to_cb): same. (move_contact_to_cb): same. (update_command_state): same. (change_view_type): nuke, nothing uses this. (control_activate): use the current view. (control_activate_cb): same. (source_list_changed_cb): new function, remove the notebook pages (and destroy the EABView's) for sources that no longer exist. (addressbook_view_clear): dispose of the uid_to_view hash. (book_open_cb): store the ESource on the EABView too. this function now takes a struct containing both EABView and ESource since we can't store either in the AddressbookView. (set_prop): if we have a view already for this uid, bring it up. otherwise create a new one and start the book loading. (addressbook_search_activated): nuked - this is being moved to e-addressbook-view. (addressbook_query_changed): same. (compare_subitems, make_subitems, ecml_changed, connect_master_list_changed): same. (addressbook_new_control): simplify things a bunch. create a notebook to store the views in. the search/vbox stuff is gone. use e_source_list_new_for_gconf_default, and handle the source list's "changed" signal. svn path=/trunk/; revision=23971
* Embed Tree in GtkScrolledWindowRodney Dawes2003-12-181-1/+12
| | | | | | | | | 2003-12-17 Rodney Dawes <dobey@ximian.com> * gui/component/autocompletion-config.c: (autocompletion_config_control_new): Embed Tree in GtkScrolledWindow svn path=/trunk/; revision=23970
* Make a public function that shows an error dialog, which can be used whenHans Petter Jansson2003-12-172-62/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-16 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook.c (addressbook_show_load_error_dialog): Make a public function that shows an error dialog, which can be used when a source fails to load. (book_open_cb): Call addressbook_show_load_error_dialog () on error. (set_prop): Don't reuse the book when loading a new source. This was confusing the contact-editor, which gets the book passed in. * gui/contact-editor/e-contact-editor.c (e_contact_editor_class_init): Make "source_book" and "target_book" distinct properties. (new_target_cb): Implement. (source_selected): Implement. (contact_moved_cb): Implement. (contact_added_cb): Handle the case where source_book != target_book as a move - if the add was successful, remove contact from source book. (save_contact): Handle case where source_book != target_book. (delete_cb): "book" renamed to "source_book". (e_contact_editor_init): Set up source_selected signal. (e_contact_editor_dispose): Dispose of both source and target books. (e_contact_editor_new): "book" renamed to "source_book". (e_contact_editor_set_property): If a source book is set, and we don't have a target book, make target_book == source_book. Allow setting target book, and base editability on that. If we're editing an existing contact, treat book change as a change, and update command state. (e_contact_editor_get_property): Allow getting target book. (set_source_field): Indicate the selected book. svn path=/trunk/; revision=23958
* change prototype to fix warning, and change the comment to readChris Toshok2003-12-079-102/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-06 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-manager.c (open_book_cb): change prototype to fix warning, and change the comment to read load_source instead of load_uri (which isn't what we use anymore.) (update_completion_books): just use our source list for this. check the "completion" source property. (source_list_changed): recreate the completion books. (e_select_names_manager_init): connect to the source_list's changed signal. (e_select_names_manager_dispose): don't need to free the completion_uids list anymore. * gui/component/select-names/e-select-names-config.c (e_select_names_config_get_completion_books, e_select_names_config_set_completion_books, e_select_names_config_add_notification_completion_books): remove. * gui/component/select-names/e-select-names-config.h: remove the completion books calls, since we can just use the source list. * gui/component/component-factory.c (factory): create the autocompletion control. * gui/component/autocompletion-config.[ch]: new config control for selecting completion folders. Uses e-source-selector. Could probably be beautified a bit. * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): add autocompletion-config.[ch] * gui/component/GNOME_Evolution_Addressbook.server.in.in: remove the ldap config control server, and add the autocompletion one. svn path=/trunk/; revision=23663
* Remove hard coded disable deprecated flagsJP Rosevear2003-12-072-7/+1
| | | | | | | | 2003-12-06 JP Rosevear <jpr@ximian.com> * */Makefile.am: Remove hard coded disable deprecated flags svn path=/trunk/; revision=23658
* no more custom widget for the selection of the search sourceJP Rosevear2003-12-0611-209/+393
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-05 JP Rosevear <jpr@ximian.com> * gui/component/select-names/select-names.glade: no more custom widget for the selection of the search source * gui/component/select-names/e-select-names.h: add member * gui/component/select-names/e-select-names.etspec: update model column * gui/component/select-names/e-select-names.c (find_first_source): find the first source in the list (addressbook_model_set_source): we have the source to set directly now (source_selected): listen for the source item to change (e_select_names_init): create a source option menu and hook it up (e_select_names_dispose): destroy the source list (e_select_names_new): do away with the config setup here * gui/component/select-names/e-select-names-manager.h: update members * gui/component/select-names/e-select-names-manager.c (update_completion_books): add books based on source uid (config_completion_books_changed_cb): handle the completion list changing (config_min_query_length_changed_cb): handle minimum query length changing (e_select_names_manager_new): we don't do the settings stuff here any more (e_select_names_manager_init): do the initial set up here for the book loaded and listen for changes (e_select_names_manager_dispose): destroy the new stuff * gui/component/select-names/e-select-names-config.[hc]: config information * gui/component/select-names/e-select-names-config-keys.h: the config keys * gui/component/select-names/e-select-names-bonobo.c (impl_SelectNames_activate_dialog): do away with the shell client stuff * gui/component/select-names/Makefile.am: build new files svn path=/trunk/; revision=23654
* (retrieve_shell_view_interface_from_control): Remove.Ettore Perazzoli2003-12-041-60/+0
| | | | | | | (set_folder_bar_label): Remove. (addressbook_new_control): Don't connect. svn path=/trunk/; revision=23613
* Do not depend on e-folder-list.Ettore Perazzoli2003-12-036-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-config.c: Do not depend on e-folder-list. * gui/component/select-names/e-select-names.c: Remove dependency on evolution-folder-selector-button. (e_addressbook_create_folder_selector): Just return a FIXME label for now. (folder_selected): #if 0 out. (e_select_names_init): Do not connect. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_activate_dialog): Don't get a shell_client arg anymore. (load_completion_books): Stub out. * gui/component/select-names/e-select-names.c (e_select_names_new): Don't get an EvolutionShellClient anymore. Don't create the folder selector button for now. * gui/component/select-names/e-select-names.h: Remove dependency on evolution-shell-client. * gui/component/select-names/e-select-names-bonobo.c: Remove dependency on evolution-shell-client. (impl_SelectNames_activate_dialog): Stub out. * gui/widgets/eab-gui-util.c: Remove dependency on evolution-shell-client. (eab_transfer_contacts): Stub out. * gui/main.c: Do not #include <evolution-shell-client.h>. * gui/e-itip-control.c: Do not #include <e-folder-selector-button.h> nor <evolution-shell-client.h>. (start_default_server): Return FALSE. (default_server_started_cb): Do not connect the "selected" signal on the button since it's now NULL. (button_selected_cb): #if 0 out. * gui/e-cal-list-view.h: Do not #include "evolution-activity-client.h". * gui/tasks-component.c (impl_createControls): Give an empty label for the status bar. * gui/e-day-view.h: Remove all deps on evolution-activity-client. svn path=/trunk/; revision=23596
* Version the schemas Removed AddedRodney Dawes2003-12-022-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 Rodney Dawes <dobey@ximian.com> * gui/component/Makefile.am: Version the schemas * gui/component/apps_evolution_addressbook.schemas: Removed * gui/component/apps_evolution_addressbook.schemas.in.in: Added 2003-12-02 Rodney Dawes <dobey@ximian.com> * gui/Makefile.am: Version the schemas * gui/apps_evolution_calendar.schemas: Removed * gui/apps_evolution_calendar.schemas.in.in: Added 2003-12-02 Rodney Dawes <dobey@ximian.com> * Makefile.am: Version the schemas * evolution-mail.schemas: Removed * evolution-mail.schemas.in.in: Added 2003-12-02 Rodney Dawes <dobey@ximian.com> * Makefile.am: Version the schemas * apps_evolution_shell.schemas: Removed * apps_evolution_shell.schemas.in.in: Added svn path=/trunk/; revision=23579
* (set_status_message): CallEttore Perazzoli2003-12-021-1/+4
| | | | | | | e_activity_handler_operation_finished() on the current activity ID when done. svn path=/trunk/; revision=23564
* Fix silly.Ettore Perazzoli2003-12-021-2/+1
| | | | svn path=/trunk/; revision=23561
* Replace activity_client with activity_id. (set_status_message): Use theEttore Perazzoli2003-12-023-29/+47
| | | | | | | | | | | | | | | | | * gui/component/addressbook.c (struct AddressbookView): Replace activity_client with activity_id. (set_status_message): Use the EActivityHandler from the AddressbookComponent. * gui/component/addressbook-component.c (struct _AddressbookComponentPrivate): New member activity_handler. (addressbook_component_init): Init. (impl_dispose): Unref. (addressbook_component_peek_activity_handler): New. (impl_createControls): Return an ETaskBar as the statusbar control and attach it to the activity handler. svn path=/trunk/; revision=23560
* Pass a label for the status bar control for now.Ettore Perazzoli2003-12-021-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/calendar-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/tasks-component.c (impl_createControls): Pass a label for the status bar control for now. * mail-component.c (impl_createControls): Pass a label for the status bar control for now. * e-shell.c (struct _EShellPrivate): Remove member activity_handler. (setup_activity_interface): Remove. (e_shell_init): Don't call. (create_window): Don't attach the task bar to the activity handler. * e-shell-window.c (struct _ComponentView): New member statusbar_widget. (struct _EShellWindowPrivate): Remove member task_bar. (init_view): Get the status bar control from createControls and put it in the ComponentView struct. (setup_task_bar): New. (setup_statusbar_notebook): New. (switch_view): Switch the statusbar notebook too. (impl_dispose): Add missing GTK_OBJECT() cast. (e_shell_window_peek_task_bar): Remove. * Evolution-Component.idl (Component::createControls): New out arg "statusbar_control"; this way components can provide their own status bar. * e-activity-handler.c, e-activity-handler.h: Turn into a plain GObject; translate all the CORBA methods into plain C methods. * Makefile.am: Move e-activity-handler to libeshell instead of it being in the shell. svn path=/trunk/; revision=23555
* remove GTK_DISABLED_DEPRECATED so that we can build with gtk-2.3.Larry Ewing2003-12-021-1/+0
| | | | | | | | | 2003-12-01 Larry Ewing <lewing@ximian.com> * gui/component/Makefile.am (INCLUDES): remove GTK_DISABLED_DEPRECATED so that we can build with gtk-2.3. svn path=/trunk/; revision=23553
* Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill theRodney Dawes2003-12-027-38/+38
| | | | | | | | | | 2003-12-01 Rodney Dawes <dobey@ximian.com> * Use BASE_VERSION for repo_ids and OAFIIDs * Update killev to kill the correct versions of gnome-spell and the GtkHTML Editor svn path=/trunk/; revision=23543
* Fix start page text.Hans Petter Jansson2003-12-021-3/+4
| | | | | | | | 2003-12-01 Hans Petter Jansson <hpj@ximian.com> * gui/component/ldap-config.glade: Fix start page text. svn path=/trunk/; revision=23541
* Remove this too.Hans Petter Jansson2003-12-012-194/+1
| | | | | | | | | | 2003-12-01 Hans Petter Jansson <hpj@ximian.com> * gui/component/new-addressbook.glade: Remove this too. * gui/component/Makefile.am (glade_DATA): Remove new-addressbook.glade. svn path=/trunk/; revision=23522
* Remove addressbook-storage.[ch] and new-addressbook.[ch].Hans Petter Jansson2003-12-0114-2073/+888
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-01 Hans Petter Jansson <hpj@ximian.com> * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): Remove addressbook-storage.[ch] and new-addressbook.[ch]. * gui/component/addressbook-storage.[ch]: Removed from repository. * gui/component/new-addressbook.[ch]: Removed from repository. * gui/component/addressbook-component.c (load_uri_for_selection): Set source_uid property on view control, not folder_uri. (new_addressbook_cb): Call addressbook_config_create_new_source (). (edit_addressbook_cb): Implement. (fill_popup_menu_callback): Hook up edit_addressbook_cb (). (addressbook_component_init): Create the LDAP source group. * gui/component/addressbook-config.c (AddressbookSourceDialog): Take out the NEW_ADVANCED_UI stuff and add ESource related vars. (ldap_unparse_auth) (ldap_parse_auth) (ldap_unparse_scope) (ldap_unparse_ssl) (ldap_parse_ssl): Moved here from addressbook-storage.c. (addressbook_dialog_get_source) (addressbook_dialog_set_source) (objectclasses_create_server_table) (objectclasses_create_evolution_table) (objectclasses_add_foreach) (objectclasses_add) (objectclasses_sever_double_click) (objectclasses_remove_foreach) (objectclasses_remove) (objectclasses_evolution_double_click) (objectclasses_restore_default) (server_selection_model_changed) (evolution_selection_model_changed) (setup_objectclasses_tab): Nuke aging, unfinished NEW_ADVANCED_UI. (add_source_clicked) (edit_source_clicked) (delete_server) (delete_source_clicked) (ldap_config_control_destroy_callback) (ldap_config_control_apply_callback) (sources_selection_changed) (sources_table_row_activated) (ldap_dialog_new) (addressbook_dialog_create_sources_table) (ldap_config_control_new) (addressbook_config_control_new): Nuke config control. (create_source_dir) (dialog_to_source) (dialog_to_temp_source) (source_to_uri_parts) (source_to_dialog) (source_group_changed_cb) (source_group_menu_add_groups) (folder_page_forward) (finish_page_back): Implement. (addressbook_ldap_init): Take ESource instead of AddressbookSource. (addressbook_ldap_auth): Don't take a source, not needed. (addressbook_root_dse_query): Ditto. (addressbook_source_dialog_destroy): Clean up destroy function. (addressbook_add_server_druid_finish): Clean up, create ESource. (general_tab_check): If it's not LDAP, these options don't matter. (do_ldap_root_dse_query): Source no longer needed here. (query_for_supported_bases): Use a temp source generated from current dialog settings. (display_name_page_prepare): Renamed to folder_page_prepare (). (druid_display_name_page_modify_cb): Renamed to druid_folder_page_modify_cb (). (addressbook_add_server_druid): Set up source list, group selector. Make LDAP pages optional, dependent on selected group. Use ESource. (edit_dialog_store_change): Remove config control list stuff, export settings to ESource. (addressbook_edit_server_dialog): Renamed to addressbook_config_edit_source (), which takes an ESource. Remove config control list stuff, make LDAP pages show up only if we have an LDAP source. Remove NEW_ADVANCED_UI cruft. (addressbook_config_create_new_source): Just call addressbook_add_server_druid (). * gui/component/addressbook-config.h: Move LDAP enums here, from addressbook-storage.h. * gui/component/addressbook.c (control_activate_cb): uri -> source (addressbook_view_clear): Unref source list. (book_open_cb): Use ESource. (load_uri_auth_cb): Renamed to load_source_auth_cb (), manipulate ESource instead of URI. (get_remember_password): Implement. (set_remember_password): Implement. (addressbook_authenticate): Use ESource properties. (load_uri_cb): Renamed to load_source_cb (), ESource adaptation. (addressbook_load_uri): Renamed to addressbook_load_source (), takes ESource. (addressbook_load_default_book): ESource adaptation. (get_prop): folder_uri property -> source_uid property. (set_prop): folder_uri property -> source_uid property. Find ESource by UID. (addressbook_new_control): Set up source_uid property and ESourceList. * gui/component/component-factory.c (factory): Disable config control. * gui/component/ldap-config.glade: Druid and notebook dialogs generalized to deal with local sources as well as LDAP. This file should probably be renamed... * gui/component/select-names/e-select-names-manager.c (load_completion_books): Use addressbook_load_source (). However, this needs a bit more work to get source UIDs instead of URIs. * gui/component/select-names/e-select-names.c (addressbook_model_set_uri): Use addressbook_load_source (). However, this needs a bit more work to get source UIDs instead of URIs. svn path=/trunk/; revision=23521
* turn on deprecated gtk and libgnomeui stuffJP Rosevear2003-11-261-1/+0
| | | | | | | | | | | | | | 2003-11-26 JP Rosevear <jpr@ximian.com> * gui/widgets/Makefile.am: turn on deprecated gtk and libgnomeui stuff * gui/component/select-names/Makefile.am: turn on deprecated gtk stuff * gui/contact-editor/Makefile.am: ditto svn path=/trunk/; revision=23492
* Store a ref to the source selector. (impl_requestCreateItem): Implement.Hans Petter Jansson2003-11-181-2/+94
| | | | | | | | | | | | | | | | 2003-11-17 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-component.c (impl_createControls): Store a ref to the source selector. (impl_requestCreateItem): Implement. (impl_dispose): Unref the source selector. (addressbook_component_init): Set up default sources. * gui/widgets/e-addressbook-model.c (eab_model_set_property): If the 'book' property is set, and editability changes, emit a signal to that effect. svn path=/trunk/; revision=23404
* use the server.mk file to get rules for building versioned .server filesJP Rosevear2003-11-172-4/+2
| | | | | | | | | | | 2003-11-17 JP Rosevear <jpr@ximian.com> * configure.in: use the server.mk file to get rules for building versioned .server files * */Makefile.am: use simplified rule subst svn path=/trunk/; revision=23387
* include e-source from e-d-sJP Rosevear2003-11-151-1/+1
| | | | | | | | 2003-11-14 JP Rosevear <jpr@ximian.com> * gui/component/new-addressbook.c: include e-source from e-d-s svn path=/trunk/; revision=23365
* (impl__get_userCreatableItems): New, implementation for theEttore Perazzoli2003-11-131-1/+42
| | | | | | | | | userCreatableItems property. (impl_requestCreateItem): New, implementation for the requestCreateItem method. (addressbook_component_class_init): Install. svn path=/trunk/; revision=23325
* Add component_alias of "contacts".Ettore Perazzoli2003-11-131-0/+2
| | | | | | | Add component_alias of "contacts". svn path=/trunk/; revision=23301
* Add new-addressbook.[ch]. (glade_DATA): Add new-addressbook.glade.Hans Petter Jansson2003-11-095-1/+441
| | | | | | | | | | | | | | | | | | | | | 2003-11-08 Hans Petter Jansson <hpj@ximian.com> * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): Add new-addressbook.[ch]. (glade_DATA): Add new-addressbook.glade. * gui/component/addressbook-component.c (add_popup_menu_item): Implement. (new_addressbook_cb): Implement. (delete_addressbook_cb): Implement (skeletal). (fill_popup_menu_callback): Implement. (impl_createControls): Hook up fill_popup_menu_callback(). * gui/component/new-addressbook.[ch]: New files. * gui/component/new-addressbook.glade: New file. svn path=/trunk/; revision=23238
* make sure the marshal header is in the source listJP Rosevear2003-11-071-1/+1
| | | | | | | | | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * gui/widgets/Makefile.am: make sure the marshal header is in the source list * gui/component/select-names/Makefile.am: ditto * gui/contact-editor/Makefile.am: ditto * gui/contact-list-editor/Makefile.am: ditto svn path=/trunk/; revision=23219