aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
Commit message (Collapse)AuthorAgeFilesLines
* Added keyboard accelerators for contacts.Srinivasa Ragavan2005-11-162-18/+18
| | | | | | | | | | 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
* Setting the focus to the corresponding entry field after changing dropdownSushma Rai2005-10-261-11/+30
| | | | | | menus for phone, email and im in contact editor. Fixes #229972. svn path=/trunk/; revision=30566
* Marked subject line for translation. Fixes #317753.Sushma Rai2005-10-221-3/+3
| | | | svn path=/trunk/; revision=30556
* Making the LDAP search filter configurable. Fixes #311884.Sushma Rai2005-10-222-17/+377
| | | | svn path=/trunk/; revision=30553
* dded case insensitive compare support etable, and using it for OrganizationSushma Rai2005-10-041-1/+1
| | | | | | | filed. Fixes #207110. Patch submitted by "Devashish Sharma <sdevashish@novell.com>" svn path=/trunk/; revision=30489
* Using "collate" compare type for "File As". Fixes #271594, and #273870.Sushma Rai2005-10-041-1/+1
| | | | | | Patch submitted by "Devashish Sharma <sdevashish@novell.com>" svn path=/trunk/; revision=30488
* Fix for issues related to printing contacts. Fixes #248624, #274285,Sushma Rai2005-10-031-6/+10
| | | | | | #209354, #202201. Patch submitted by "Devashish Sharma <sdevashish@novell.com>" svn path=/trunk/; revision=30469
* Not allowing partial comparisons while finding duplicate entries.Sushma Rai2005-09-301-1/+1
| | | | | | Fixes #315034. Patch submitted by "Devashish Sharma <sdevashish@novell.com>". svn path=/trunk/; revision=30443
* 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
* Fix for the crash when adding duplicate contacts without e-mail ids bySushma Rai2005-09-282-9/+16
| | | | | | | dragging them into contact list editor. Patch submitted by "Devashish <sdevashish@novell.com>" svn path=/trunk/; revision=30411
* 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
* Clearing the contacts preview pane after every search. Fixes #269655.Sushma Rai2005-09-261-0/+3
| | | | svn path=/trunk/; revision=30374
* Spec file change to selecte multiple entries in the contact list editor.Sushma Rai2005-09-141-1/+1
| | | | | | Fix for #235038. svn path=/trunk/; revision=30346
* Proper ordering of column and field names in ETableSpecification.Sushma Rai2005-08-261-38/+38
| | | | | | Fixes #313124. svn path=/trunk/; revision=30254
* de-constify uri, and fix its creation logic. (load_source_cb): cast forNot Zed2005-08-249-25/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Using e_contact_get() for E_CONTACT_IS_LIST. See #314152.Sushma Rai2005-08-221-3/+5
| | | | | | Patch submitted by "ross@burtonini.com (Ross Burton)". svn path=/trunk/; revision=30197
* Commiting Devashish patch for #241219. 2005-08-19 Devashish SharmaSrinivasa Ragavan2005-08-221-10/+19
| | | | | | | | | 2005-08-22 Srinivasa Ragavan <sragavan@novell.com> * Commiting Devashish patch for #241219. 2005-08-19 Devashish Sharma <sdevashish@novell.com> svn path=/trunk/; revision=30195
* Allow selecting and removing multiple entries from contact list editor.Sushma Rai2005-08-221-3/+20
| | | | | | | | Fixes #235038. Patch submitted by "sean.gao@sun.com (Sean Gao)" and patch corrected by "Devashish Sharma <sdevashish@novell.com>". svn path=/trunk/; revision=30187
* Fixed the problem of comparison and never returning true, inSushma Rai2005-08-221-3/+4
| | | | | | match_email_hostname(). svn path=/trunk/; revision=30186
* Not checking for the duplicate contacts matching emial ids of a list.Sushma Rai2005-08-171-34/+38
| | | | | | skip email comparison in case of contact lists. Fixes #312554. svn path=/trunk/; revision=30146
* While adding new contact, during the duplicate contact check, not comparingSushma Rai2005-08-171-1/+2
| | | | | | the email id of new contact with the email ids of contact lists. svn path=/trunk/; revision=30145
* Handling GTK_RESPONSE_DELETE_EVENT response.Sushma Rai2005-08-171-0/+3
| | | | svn path=/trunk/; revision=30144
* Added scroll bar to duplicate detected dialog.Sushma Rai2005-08-171-138/+151
| | | | svn path=/trunk/; revision=30143
* Add eab-popup.c back which apparently was accidentally removed.Tor Lillqvist2005-08-171-1/+2
| | | | | | | | | 2005-08-17 Tor Lillqvist <tml@novell.com> * gui/widgets/Makefile.am (libeabwidgets_la_SOURCES): Add eab-popup.c back which apparently was accidentally removed. svn path=/trunk/; revision=30138
* Install missing e-plugin header eab-config.h, eab-menu.h and eab-popup.h.Christian Kellner2005-08-171-3/+7
| | | | | | | | | 2005-08-15 Christian Kellner <gicmo@gnome.org> * gui/widgets/Makefile.am: Install missing e-plugin header eab-config.h, eab-menu.h and eab-popup.h. Fixes bug: #313585. svn path=/trunk/; revision=30133
* 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
* defined prototype for sensitize_ok(), fixes the compile time warnings.Sushma Rai2005-08-101-0/+1
| | | | svn path=/trunk/; revision=30078
* Fix for #258257, got missed while I committed the changelog for it.Sushma Rai2005-08-101-0/+10
| | | | svn path=/trunk/; revision=30072
* Vulnerability patch submitted by "Sitic Vulnerability Advisory <sitic@pts.se>"Sushma Rai2005-08-051-3/+3
| | | | svn path=/trunk/; revision=30002
* Add missing forward referencesJules Colding2005-08-031-0/+3
| | | | svn path=/trunk/; revision=29971
* Not removing the contacts, if move fails because of destination address bookSushma Rai2005-08-031-5/+17
| | | | | | | load/write error, and also if the move operation was cancelled on finding a duplicate contact. Fixes #311133, #273716. svn path=/trunk/; revision=29967
* Made the error dialog for load-error nonmodal, since it block the UI alongSrinivasa Ragavan2005-08-032-6/+12
| | | | | | | | | | | | | | 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
* Fixes the bug #309416Srinivasa Ragavan2005-07-291-1/+1
| | | | | | | | | 2005-07-29 Srinivasa Ragavan <sragavan@novell.com> * gui/contact-editor/eab-editor.c: (eab_editor_prompt_to_save_changes) (eab_editor_request_close_all) Fixes the bug #309416 svn path=/trunk/; revision=29932
* Fixed in a genereic way, the resizing of contact photosSrinivasa Ragavan2005-07-291-32/+42
| | | | | | | | | 2005-07-29 Srinivasa Ragavan <sragavan@novell.com> * gui/contact-editor/e-contact-editor.c: (extract_simple_field) (image_selected) Fixed in a genereic way, the resizing of contact photos svn path=/trunk/; revision=29922
* 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
* Added a string for resize popup Added code to check the size of image andSrinivasa Ragavan2005-07-251-1/+32
| | | | | | | | | | 2005-07-25 Srinivasa Ragavan <sragavam@novell.com> * addressbook.error.xml: Added a string for resize popup * gui/contact-editor/e-contact-editor.c: (image_selected) Added code to check the size of image and prompt for resize. svn path=/trunk/; revision=29885
* Patch by "Arunprakash <arunp@novell.com>" to change the string marked forSushma Rai2005-07-251-8/+7
| | | | | | translation. Related to his previous patch for #235830. svn path=/trunk/; revision=29877
* Using autocompletion stock icon instead of contacts icon, forSushma Rai2005-07-221-1/+1
| | | | | | autocompletion. Fixes #257329. svn path=/trunk/; revision=29849
* Showing the file_as name in the contact editor dialog title. Patch bySushma Rai2005-07-221-6/+27
| | | | | | "Arunprakash <arunp@novell.com>". Fixes #235830. svn path=/trunk/; revision=29848
* Not prompting the delete confirmation dialog for cut contact operation.Sushma Rai2005-07-213-6/+8
| | | | | | Fixes #311090 svn path=/trunk/; revision=29833
* Patch by Arunprakash to add missed error messages and marking themSushma Rai2005-07-191-2/+4
| | | | | | for translation. Fixes #310343. svn path=/trunk/; revision=29795
* 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
* Including the file path in the error string. Fixes #309624.Sushma Rai2005-07-081-4/+7
| | | | svn path=/trunk/; revision=29683
* 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-062-0/+16
| | | | | | | | | | 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
* Fixed for bug 309245. Fixes the bug 206774, 242154. Fixes the bug 206774,Srinivasa Ragavan2005-07-064-3/+26
| | | | | | | | | | | | 2005-07-06 Srinivasa Ragavan <sragavan@novell.com> * gui/widgets/eab-gui-util.c: (contact_added_cb): Fixed for bug 309245. * /gui/widgets/e-addressbook-view.c: Fixes the bug 206774, 242154. * gui/widgets/eab-popup.c: (eab_popup_target_new_select) Fixes the bug 206774, 242154. * gui/widgets/eab-popup.h: Fixes the bug 206774, 242154. svn path=/trunk/; revision=29641
* The previous commit breaks the build by introducing a circular dependancy.Harish Krishnaswamy2005-06-251-1/+0
| | | | | | | | | | 2005-06-25 Harish Krishnaswamy <kharish@novell.com> * gui/contact-list-editor/Makefile.am: The previous commit breaks the build by introducing a circular dependancy. Revert the changes. svn path=/trunk/; revision=29586
* Setting TYPE=OTHER default parameter to email attribute. Fixes #240756.Sushma Rai2005-06-251-0/+8
| | | | svn path=/trunk/; revision=29585
* Fixed some symbol resolution errors with groupwise-features plugin.Sushma Rai2005-06-251-0/+1
| | | | svn path=/trunk/; revision=29584
* Added widgets in INCLUDES.Kaushal Kumar2005-06-2319-31/+32
| | | | | | | | | | | | 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-196-37/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1733-48/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Replaced wombat master category list with e-categories from libedataserver.Sushma Rai2005-06-101-32/+10
| | | | svn path=/trunk/; revision=29483
* moved e-error to e-utilNot Zed2005-05-162-2/+2
| | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * moved e-error to e-util svn path=/trunk/; revision=29362
* moved e-error to e-utilNot Zed2005-05-165-5/+5
| | | | | | | | | | 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
* Fixed wrong xalign of Zip/Postal Code. This was very ugly in languagesUlrich Neumann2005-05-121-3/+3
| | | | | | | | | | 2005-05-04 Ulrich Neumann <uli@myuli.com> * gui/contact-editor/contact-editor.glade: Fixed wrong xalign of Zip/Postal Code. This was very ugly in languages like german, dutch etc. svn path=/trunk/; revision=29326
* Fixed the bug 209416. It shows a different view for contact listsSrinivasa Ragavan2005-05-111-7/+26
| | | | | | | | 2005-05-11 Srinivasa Ragavan <sragavan@novell.com> * gui/widgets//e-minicard.c: (add_field), (remodel): Fixed the bug 209416. It shows a different view for contact lists svn path=/trunk/; revision=29325
* Misses header file with previous commit.Sushma Rai2005-05-091-1/+1
| | | | svn path=/trunk/; revision=29319
* Removed the plural form "contact(s)" from translatable error message.Sushma Rai2005-05-091-1/+26
| | | | | | Fixes #261969. svn path=/trunk/; revision=29318
* Forming contact deletion confirmation message based on contact(s) orSushma Rai2005-05-092-11/+39
| | | | | | contact list(s) being deleted. Fixes #222599 svn path=/trunk/; revision=29317
* Fixes #301459 Corrected the spelling for addresses and address.Chenthill Palanisamy2005-05-061-1/+1
| | | | | | | | | | 2005-05-06 Chenthill Palanisamy <pchenthill@novell.com> Fixes #301459 * gui/contact-list-editor/contact-list-editor.glade: Corrected the spelling for addresses and address. svn path=/trunk/; revision=29292
* 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
* Fix some leaksRoss Burton2005-04-282-1/+13
| | | | svn path=/trunk/; revision=29237
* Add focus_in_event function.Mengjie Yu2005-04-221-0/+31
| | | | | | | | | | | | | 2005-04-21 Mengjie Yu <meng-jie.yu@sun.com> * gui/widgets/e-minicard-view-widget.c: (e_minicard_view_widget_class_init), (e_minicard_view_widget_real_focus_in_event): Add focus_in_event function. Fixes #300968 (gnome bugzilla bugID) svn path=/trunk/; revision=29225
* We should incarnate the reflow item if it doesn't exist.Yu Mengjie2005-04-211-0/+14
| | | | | | | | | | | 2005-04-17 Yu Mengjie <meng-jie.yu@sun.com> * gui/widgets/e-minicard.c: (e_minicard_event): We should incarnate the reflow item if it doesn't exist. Fixes #300970 (gnome bugzilla bugID) svn path=/trunk/; revision=29221
* 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
* use eab_merging_book_add_contact instead of e_book_async_add_contact toSivaiah Nallagatla2005-04-081-2/+2
| | | | | | | | | | | | 2005-04-03 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/eab-gui-util.c (do_copy) : use eab_merging_book_add_contact instead of e_book_async_add_contact to take care of duplicate checking Fixes #74255 svn path=/trunk/; revision=29187
* remove the edit function.Li Yuan2005-03-241-7/+1
| | | | | | | | | | | 2005-03-16 Li Yuan <li.yuan@sun.com> * gui/widgets/gal-view-minicard.c: (gal_view_minicard_class_init): remove the edit function. Fixes #40762 svn path=/trunk/; revision=29095
* make the search field consistent with the Search Dialog.Mengjie Yu2005-03-161-1/+1
| | | | | | | | | | | 2005-03-16 Mengjie Yu <meng-jie.yu@sun.com> * gui/widgets/e-addressbook-view.c: (search_menu_activated): make the search field consistent with the Search Dialog. Fixes #73270 svn path=/trunk/; revision=29030
* 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
* Change the e-popup item type for "Cut" from E_POPUP_BAR to E_POPUP_ITEMSivaiah Nallagatla2005-03-011-1/+1
| | | | | | | | | | | | 2005-02-26 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-view.c : Change the e-popup item type for "Cut" from E_POPUP_BAR to E_POPUP_ITEM Fixes #73013 svn path=/trunk/; revision=28920
* Just close the editor when user presees cancel or closes the editor whenSivaiah Nallagatla2005-02-261-1/+3
| | | | | | | | | | | | | | 2005-02-25 Sivaiah Nallagatla <snallagatla@novell.com> * gui/conact-editor/eab-editor.c (eab_editor_prompt_to_save_changes) : Just close the editor when user presees cancel or closes the editor when there are no changes. Seems to be broken by earlier Change for #70371 Fixes #73005 svn path=/trunk/; revision=28892
* Removed the hack, setting absolute URI to NULL. Fixes #72715Sushma Rai2005-02-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
* close the editor here in case of save and discard so that callers need notSivaiah Nallagatla2005-02-222-10/+9
| | | | | | | | | | | | | | | | | | | 2005-02-19 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/eab-editor.c (eab_editor_prompt_to_save_changes) : close the editor here in case of save and discard so that callers need not worry about closing * gui/contact-list-editor/e-contact-list-editor.c (closed_cb) (app_delete_event_cb) : don't close the editor here as that is handled by _save_changes call. Also no need to check for return value of that function as it does not matter here. Fixes #70371 svn path=/trunk/; revision=28839
* update the base uri of the "On This Computer" group when user home dirSivaiah Nallagatla2005-02-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
* Install shared libraries to privlibdir.Hans Petter Jansson2005-02-102-2/+2
| | | | | | | | | | | | | | | | 2005-02-09 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/contact-editor/Makefile.am: * addressbook/gui/contact-list-editor/Makefile.am: * addressbook/util/Makefile.am: * filter/Makefile.am: * widgets/e-timezone-dialog/Makefile.am: * widgets/menus/Makefile.am: * widgets/misc/Makefile.am: * smime/lib/Makefile.am: * smime/gui/Makefile.am: Install shared libraries to privlibdir. svn path=/trunk/; revision=28762
* 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
* changed the loop termination check to E_CONACT_LAST_SIMPLE_STRING -1 soSivaiah Nallagatla2005-02-071-1/+1
| | | | | | | | | | | 2005-01-06 Sivaiah Nallagatla <snallagatla@novell.com> * e-minicard.c (remodel) : changed the loop termination check to E_CONACT_LAST_SIMPLE_STRING -1 so that we will avoid displaying revision field value in the minicard svn path=/trunk/; revision=28725
* new function to filter contact lists from search results (query_cb) :Sivaiah Nallagatla2005-02-061-6/+38
| | | | | | | | | | | | | 2004-02-06 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/eab-popup-control.c (remove_contact_lists) : new function to filter contact lists from search results (query_cb) : remove contact lists from the search results based on email Fixes #68745 svn path=/trunk/; revision=28722
* display a warning dialog if the server version is not proper added warningvivek jain2005-02-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
* Use guint instead of ulong for signal ID.Hans Petter Jansson2005-02-011-1/+1
| | | | | | | | | 2005-01-31 Hans Petter Jansson <hpj@novell.com> * gui/widgets/eab-config.c (_EABConfigPrivate): Use guint instead of ulong for signal ID. svn path=/trunk/; revision=28641
* call the eab_merging_* functions instead of e_book_sync* directly. TheParthasarathi Susarla2005-01-291-2/+3
| | | | | | | | | | | | | | | 2004-01-29 Parthasarathi Susarla <sparthasarathi@novell.com> * addressbook/gui/contact-list-editor/e-contact-list-editor.c (save_contact) : call the eab_merging_* functions instead of e_book_sync* directly. The merging function check for duplication. The following functions have been called: 1. eab_merging_book_add_contact for adding a new entry 2. eab_merging_book_commit_contact for commiting a modified entry Fixes bug #57819 svn path=/trunk/; revision=28604
* new function to sensitize im types based on supported fieldsSivaiah Nallagatla2005-01-291-5/+39
| | | | | | | | | | | | | | | | 2005-01-29 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.c (sensitize_im_types) : new function to sensitize im types based on supported fields (sensitize_im_record) : call sensitize_im_types for each record (sensitize_im) : if none of the im types are supported disable the im entries Fixes #68799 svn path=/trunk/; revision=28603
* Changed a string to make it complete and clear for transaltion FixesSivaiah Nallagatla2005-01-291-2/+2
| | | | | | | | | | | 2005-01-28 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/eab-vcard-control.c (pstream_load) : Changed a string to make it complete and clear for transaltion Fixes #61067 svn path=/trunk/; revision=28601
* Remove leading "%s" from the transalatable string Fixes #36137Sivaiah Nallagatla2005-01-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
* add access key to 'Member' Button.Hao Sheng2005-01-271-1/+1
| | | | | | | | | 2005-01-26 Hao Sheng <hao.sheng@sun.com> * gui/contact-list-editor/e-contact-list-editor.c: (setup_name_selector): add access key to 'Member' Button. svn path=/trunk/; revision=28576
* use the new ECategoriesDialog widget.Rodrigo Moya2005-01-251-16/+4
| | | | | | | | | 2005-01-25 Rodrigo Moya <rodrigo@novell.com> * gui/contact-editor/e-contact-editor.c (categories_clicked): use the new ECategoriesDialog widget. svn path=/trunk/; revision=28538
* Fixes #70622JP Rosevear2005-01-251-0/+1
| | | | | | | | | | | 2005-01-21 JP Rosevear <jpr@novell.com> Fixes #70622 * gui/widgets/eab-contact-display.c (eab_contact_display_init): construct the html widget svn path=/trunk/; revision=28532
* renamed the signal CONTACT_REMOVED to CONTACTS_REMOVED and chaned theSivaiah Nallagatla2005-01-225-33/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-21 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-model.[ch] (eab_model_class_init) : renamed the signal CONTACT_REMOVED to CONTACTS_REMOVED and chaned the param type POINTER from INT (remove_contact) : delete all the contacts from the model and emit CONATCTS_REMOVED signal instead of emitting it many times * gui/widgets/e-addressbook-reflow-adpater.c (e_addressbook_reflow_adapter_construct) (remove_contacts) : renamed remove_contact to remove_contacts and when number of conacts is more than 1 use _model_changed instead of _remove_item * gui/widgets/e-addressbook-table-adapter.c (eab_table_adapter_construct) (remove_contacts) : ditto * gui/widgets/e-addressbook-view.c (eab_view_new) : (contacts_removed) : renamed contact_removed to contacts_removed and traverese over indices to find displayed contact indiex fixes #71448 svn path=/trunk/; revision=28503
* Change the xpad and ypad to 0 here, we don't need the extra padding AddRodney Dawes2005-01-222-53/+30
| | | | | | | | | | | | | | | | | | | | | | | | 2005-01-21 Rodney Dawes <dobey@novell.com> * gui/contact-editor/e-contact-quick-add.c (build_quick_add_dialog): Change the xpad and ypad to 0 here, we don't need the extra padding Add the GTK_DIALOG_NO_SEPARATOR flag for creating the dialog Set proper border widths on some dialog containers for the HIG Set the row/column spacings for the table widget Create the labels outside of the table packing calls and set the proper alignment for them to be HIG compliant Set the border width of the table widget to 12 for HIG compliance * gui/widgets/eab-popup-control.c (edit_contact_info_cb): Removed (eab_popup_control_display_contact): Just go ahead and open the editor, no need to have an intermittent window with a button for it (add_contacts_cb): Remove this as we don't need it any more (eab_popup_control_no_matches): Just go straight to the quick-add dialog, and don't pop up an intermittent window with a button Fixes #41210 #60852 svn path=/trunk/; revision=28499
* Call gtk_widget_ensure_style to ensure that we set the border widths ofRodney Dawes2005-01-221-0/+1
| | | | | | | | | | 2005-01-21 Rodney Dawes <dobey@novell.com> * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Call gtk_widget_ensure_style to ensure that we set the border widths of some dialog containers properly for HIG compliance svn path=/trunk/; revision=28498
* Fix some spacing and remove the separator for HIG compliance Set properRodney Dawes2005-01-222-5/+21
| | | | | | | | | | | | | 2005-01-21 Rodney Dawes <dobey@novell.com> * gui/merging/eab-contact-duplicate-detected.glade: Fix some spacing and remove the separator for HIG compliance * gui/merging/eab-contact-merging.c (match_query_callback): Set proper border widths on some dialog containers for the HIG Fixes #41228 svn path=/trunk/; revision=28497
* Fixes #46404JP Rosevear2005-01-221-5/+5
| | | | | | | | | | | | | | | | | | | | | | 2005-01-21 JP Rosevear <jpr@novell.com> Fixes #46404 * gui/widgets/e-addressbook-view.c (eab_view_print): just show the dialog, not show all (margin settings aren't supposed to be used); use e_print to get the dialog (eab_view_print_preview): use e_print config for previewing * printing/e-contact-print.c (e_contact_print_preview): get the e_print config for previewing (e_contact_print_contact_dialog_new): use e_print to get the print dialog * printing/e-contact-print-envelope.c (e_contact_print_envelope_dialog_new): use e_print to get the print dialog svn path=/trunk/; revision=28496
* reverting my last change, we will acheive the same thing withSivaiah Nallagatla2005-01-211-1/+0
| | | | | | | | | | | 2005-01-21 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/address-config.c (eabc_commit) : reverting my last change, we will acheive the same thing with addressbook-file plguin in a better way svn path=/trunk/; revision=28484
* Don't set properties on the contact immediately. (clicked_cb): Set theHans Petter Jansson2005-01-211-7/+3
| | | | | | | | | | | | 2005-01-21 Hans Petter Jansson <hpj@novell.com> * gui/contact-editor/e-contact-quick-add.c (quick_add_set_name) (quick_add_set_email): Don't set properties on the contact immediately. (clicked_cb): Set the properties on the contact immediately before passing it on. This way, the FULL_NAME will only be set once, and so the FILE_AS field will be updated here. svn path=/trunk/; revision=28479
* in case of new book set the uid of the source as the relative uri.Sivaiah Nallagatla2005-01-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 accessable key to the contact editor UI. add accessable key to theHao Sheng2005-01-202-71/+116
| | | | | | | | | | | 2005-01-19 Hao Sheng <hao.sheng@sun.com> * gui/contact-editor/contact-editor.glade: add accessable key to the contact editor UI. * gui/contact-list-editor/contact-list-editor.glade: add accessable key to the contact list editor UI. svn path=/trunk/; revision=28455
* add a11y name for the contact's treeview.Hao Sheng2005-01-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
* add a11y names for widgets named "Image","Anniversary" and "Birthday". addHao Sheng2005-01-182-0/+13
| | | | | | | | | | | 2005-01-18 Hao Sheng <hao.sheng@sun.com> * gui/contact-editor/contact-editor.glade: add a11y names for widgets named "Image","Anniversary" and "Birthday". * gui/contact-editor/e-contact-editor.c: (e_contact_editor_create_date): add string1 as entry's a11y name. svn path=/trunk/; revision=28429
* show "other" when email does not carry "TYPE" (fill_in_email) : passSivaiah Nallagatla2005-01-181-2/+2
| | | | | | | | | | | | | | 2005-01-17 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.c (fill_in_email_record) : show "other" when email does not carry "TYPE" (fill_in_email) : pass deafult email types instead of -1 when clearing fields Fixes #70922 svn path=/trunk/; revision=28427
* add the a11y name for arrow-button named "Telephone".Hao Sheng2005-01-171-0/+3
| | | | | | | | | 2005-01-17 Hao Sheng <hao.sheng@sun.com> * gui/contact-editor/contact-editor.glade: add the a11y name for arrow-button named "Telephone". svn path=/trunk/; revision=28414
* Fixes #61973JP Rosevear2005-01-131-0/+7
| | | | | | | | | | | 2005-01-12 JP Rosevear <jpr@novell.com> Fixes #61973 * gui/widgets/e-addressbook-view.etspec: add translator comment for TTYTDD svn path=/trunk/; revision=28386
* When spawning an editor, set the initial editability from the target book,Hans Petter Jansson2005-01-101-2/+2
| | | | | | | | | | 2005-01-10 Hans Petter Jansson <hpj@novell.com> * gui/widgets/e-minicard.c (e_minicard_activate_editor): When spawning an editor, set the initial editability from the target book, not from the minicard's own (usually stale, useless) editable state. svn path=/trunk/; revision=28308
* install schemas properlyJP Rosevear2005-01-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-243-12/+78
| | | | 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-233-18/+1
| | | | | | | | | | | | | | | | 2004-12-23 Hans Petter Jansson <hpj@novell.com> * gui/component/Makefile.am (SUBDIRS): No more select-names. (libevolution_addressbook_la_LIBADD): Remove libeselectnames.la. * gui/component/component-factory.c (factory): Remove the select-names component. * gui/contact-list-editor/Makefile.am (IDL) (IDL_GENERATED_H) (selectnamesdir): No longer needed, so removed. svn path=/trunk/; revision=28188
* Unref the name selector. (e_contact_list_editor_save_contact): Fix aHans Petter Jansson2004-12-234-71/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-22 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_dispose): Unref the name selector. (e_contact_list_editor_save_contact): Fix a warning. (add_to_model): Take a list instead of a vector of destinations. (select_names_ok_cb): Adapt to new name selector. (setup_corba): Renamed to setup_name_selector () and adapted. (select_cb): Adapt to new name selector. * addressbook/gui/contact-list-editor/e-contact-list-editor.h: Adapt to new name selector and remove CORBA/Bonobo. * addressbook/gui/widgets/eab-popup.c (eabp_target_free) (eabp_popup_target_new_select_names): #ifdef out code that depended on the old name selector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * calendar/gui/Makefile.am (IDLS) (SELECT_NAMES_IDL_GENERATED_H) (SELECT_NAMES_IDL_GENERATED_C) (SELECT_NAMES_IDL_GENERATED) (IDL_GENERATED): Remove the addressbook IDL. * calendar/gui/e-meeting-list-view.c (e_meeting_list_finalize) (add_section) (e_meeting_list_view_init) (process_section) (name_selector_dialog_close_cb) (get_select_name_dialog): Adapt to new ENameSelector. * calendar/gui/e-select-names-editable.c (esne_start_editing) (esne_finalize) (esne_init) (e_select_names_editable_get_type) (entry_activate) (e_select_names_editable_construct) (e_select_names_editable_get_address) (e_select_names_editable_get_name) (e_select_names_editable_set_address): Adapt to new ENameSelector. * calendar/gui/e-select-names-renderer.c (e_select_names_renderer_editing_done) (e_select_names_renderer_activated) (e_select_names_renderer_start_editing): Adapt to new ENameSelector. * calendar/gui/dialogs/alarm-dialog.c (malarm_widgets_to_alarm) (addressbook_clicked_cb) (addressbook_response_cb) (setup_select_names) (check_custom_email) (malarm_addresses_changed_cb): Adapt to new ENameSelector. * calendar/gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_finalize) (e_delegate_dialog_construct) (addressbook_clicked_cb) (addressbook_response_cb) (e_delegate_dialog_get_delegate) (e_delegate_dialog_get_delegate_name): Adapt to new ENameSelector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * composer/e-msg-composer-hdrs.c (addressbook_dialog_response) (setup_corba) (setup_name_selector) (address_button_clicked_cb) (addressbook_entry_changed) (create_addressbook_entry) (destroy) (e_msg_composer_hdrs_new) (destinations_to_name_selector_entry) (e_msg_composer_hdrs_set_to) (e_msg_composer_hdrs_set_cc) (e_msg_composer_hdrs_set_bcc) (destination_list_to_destv) (e_msg_composer_hdrs_get_to) (e_msg_composer_hdrs_get_cc) (e_msg_composer_hdrs_get_bcc): Adapt to new ENameSelector. svn path=/trunk/; revision=28186
* api changes.Not Zed2004-12-223-3/+3
| | | | | | | | | | | | | | 2004-12-17 Not Zed <NotZed@Ximian.com> * util/ea-popup.c (emp_standard_menu_factory): * gui/component/select-names/e-select-names.c (section_right_click_cb): * gui/component/addressbook-view.c (popup_event_callback): * gui/widgets/e-addressbook-view.c (do_popup_menu): api changes. svn path=/trunk/; revision=28176
* Fixes #61975JP Rosevear2004-12-221-20/+0
| | | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> Fixes #61975 * gui/widgets/test-reflow.c: kill translated strings that were #if 0'd anyhow svn path=/trunk/; revision=28172
* convert to G_DEFINE_TYPEJP Rosevear2004-12-213-31/+19
| | | | | | | | | | | | | 2004-12-21 JP Rosevear <jpr@novell.com> * gui/search/e-addressbook-search-dialog.c: convert to G_DEFINE_TYPE * gui/widgets/gal-view-factory-minicard.c: ditto * gui/widgets/gal-view-factory-treeview.c: ditto svn path=/trunk/; revision=28162
* set the window title based upon the sourceJain Vivek2004-12-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-098-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-08 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/component/addressbook-migrate.c * addressbook/gui/component/select-names/e-select-names-completion.c * addressbook/gui/component/select-names/e-select-names-manager.c * addressbook/gui/component/select-names/e-select-names-model.h * addressbook/gui/contact-list-editor/e-contact-list-editor.h * addressbook/gui/contact-list-editor/e-contact-list-model.h * addressbook/gui/widgets/e-minicard.c * addressbook/gui/widgets/eab-gui-util.c * addressbook/importers/evolution-ldif-importer.c * addressbook/importers/evolution-vcard-importer.c: Include <libebook/e-destination.h> from evolution-data-server. * addressbook/util/Makefile.am: Remove e-destination.[ch] from here. * addressbook/util/e-destination.[ch]: Removed. * plugins/shared-folder/share-folder-common.c: Include <libebook/e-destination.h> from evolution-data-server. * calendar/gui/e-meeting-list-view.c * calendar/gui/e-select-names-editable.c * calendar/gui/dialogs/alarm-dialog.c * calendar/gui/dialogs/e-delegate-dialog.c: Include <libebook/e-destination.h> from evolution-data-server. * composer/e-msg-composer-hdrs.h: Include <libebook/e-destination.h> from evolution-data-server. * mail/importers/pine-importer.c: Include <libebook/e-destination.h> from evolution-data-server. svn path=/trunk/; revision=28094
* some strcasecmp() calls changed with g_ascii_strcasecmp() for TurkishS.Çaglar Onur2004-12-091-2/+2
| | | | | | | | | | | | 2004-12-08 S.Çaglar Onur <caglar@uludag.org.tr> * evolution-2.0.2/addressbook/gui/contact-editor/e-contact-editor.c (get_ui_slot_param) (get_attributes_named): some strcasecmp() calls changed with g_ascii_strcasecmp() for Turkish character conversiton problems [ http://www.i18nguy.com/unicode/turkish-i18n.html ] svn path=/trunk/; revision=28092
* set the active item based on the current group.Not Zed2004-12-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-034-4/+3
| | | | | | | | | | | | | | | | | | | | 2004-11-16 Not Zed <NotZed@Ximian.com> * util/Makefile.am (libeabutil_la_LIBADD): remove camel, add ADDRESSBOOK_LIBS. * conduit/Makefile.am (libeaddress_conduit_la_LIBADD): remove camel. * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): remove camel. 2004-11-15 Not Zed <NotZed@Ximian.com> * *.c: Moved various things from e-util to libedataserver, where appropriate. svn path=/trunk/; revision=28048
* save the uid and set it again in the contact. Otherwise, there isSivaiah Nallagatla2004-12-021-1/+8
| | | | | | | | | | | 2004-12-01 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.c (save_contact) : save the uid and set it again in the contact. Otherwise, there is possibility we trying to save the contact wiht out UID, as we destory the contact and create new one when data is wrong svn path=/trunk/; revision=28033
* Define new list for storing required fieldsSivaiah Nallagatla2004-11-292-13/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-28 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.h : Define new list for storing required fields * gui/contact-editor/e-contact-editor.c (e_contact_editor_class_init) : install new REQUIRED_FIELDS property (e_contact_editor_set_property) (e_contact_editor_get_property) : added handling for new RQUIRED_FIELDS_PROPERTY (e_contact_editor_dispose) : unref the new required_fields member (required_fields_cb) : call back to set required fields into contact editor (is_non_string_field) : new method to detect whether a particular field in contact is a string or not (e_contact_editor_is_valid) : check for presence of all required fields (save_contact) : extract all the data before calling e_contact_editor_is_valid so that it can check for required fields. Clean up the contact if there is an error svn path=/trunk/; revision=28007
* Setting addressbook empty messages based on the type of addressbook.Sushma Rai2004-11-271-6/+20
| | | | svn path=/trunk/; revision=28004
* get image directly from icon factoryJP Rosevear2004-11-262-14/+2
| | | | | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * gui/component/select-names/e-select-names-popup.c (populate_popup_contact): get image directly from icon factory * gui/contact-editor/e-contact-editor-im.c (setup_service_optmenu): ditto svn path=/trunk/; revision=28000
* add "labelled by" between entry and label, make accessbility work. addHao Sheng2004-11-252-0/+170
| | | | | | | | | | | | 2004-11-25 Hao Sheng <hao.sheng@sun.com> * gui/contact-editor/contact-editor.glade: add "labelled by" between entry and label, make accessbility work. * gui/contact-editor/e-contact-editor.c: (e_contact_editor_create_web): add accessible name to e_url_entry. svn path=/trunk/; revision=27986
* 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-223-72/+12
| | | | svn path=/trunk/; revision=27954
* added message which gets prompted when user tries to access a book whichSivaiah Nallagatla2004-11-223-12/+72
| | | | | | | | | | | | | | | | | | | 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
* rename and make it a public function. (e_minicard_event): changeSteven Zhang2004-11-082-23/+24
| | | | | | | | | | | 2004-11-08 Steven Zhang <steven.zhang@sun.com> * gui/widgets/e-minicard.c: (e_minicard_activate_editor): rename and make it a public function. (e_minicard_event): change accordingly. * gui/widgets/e-minicard.h: ditto. svn path=/trunk/; revision=27860
* populate contact only afte we are sure that data is valid and we canSivaiah Nallagatla2004-11-081-2/+1
| | | | | | | | | | | 2004-11-04 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.c (save_contact) : populate contact only afte we are sure that data is valid and we can create that. Fixes #69079 svn path=/trunk/; revision=27858
* Translate the category pretty names that we pass for creation of new menuRodney Dawes2004-11-081-2/+2
| | | | | | | | | | | | | 2004-11-07 Rodney Dawes <dobey@novell.com> * gui/contact-editor/e-contact-editor.c (init_email_record_location, init_im_record_location): Translate the category pretty names that we pass for creation of new menu item entries for the E-Mail and IM dropdown selections Partially fixes bug #66854 svn path=/trunk/; revision=27856
* fix for bugzilla #44876mengjie yu2004-11-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
* popup right-click menu after pressing Shift+F10.Hao Sheng2004-11-021-0/+7
| | | | | | | | | 2004-11-2 Hao Sheng <hao.sheng@sun.com> * gui/widgets/e-minicard-view.c: popup right-click menu after pressing Shift+F10. svn path=/trunk/; revision=27791
* Don't show error dialogs when status code is E_BOOK_ERROR_CANCELLED. WeSivaiah Nallagatla2004-11-021-2/+2
| | | | | | | | | | | | 2004-11-01 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/eab-gui-util.c (added_cb) (_modified_cb) : Don't show error dialogs when status code is E_BOOK_ERROR_CANCELLED. We don't wabt to show "Error adding contact, Cancelled" dialogs when user cancels duplicated contact detected dialog. svn path=/trunk/; revision=27790
* Fixes #61972.Andre Klapper2004-10-271-1/+1
| | | | | | | | | | | 2004-10-26 Andre Klapper <a9016009@gmx.de> Fixes #61972. * addressbook/gui/contact-editor/e-contact-editor-address.c: Typo in country name: was "Grena-dines", now "Grenadines". svn path=/trunk/; revision=27731
* Display mutlivalued contact attributes in the preview. (render_contact):Nat Friedman2004-10-261-6/+19
| | | | | | | | | | | 2004-10-25 Nat Friedman <nat@novell.com> * gui/widgets/eab-contact-display.c (accum_multival_attribute): Display mutlivalued contact attributes in the preview. (render_contact): Render all IM fields using the new multival function. svn path=/trunk/; revision=27720
* Added the bbdb plugin.Nat Friedman2004-10-221-0/+1
| | | | | | | | | | 2004-10-22 Nat Friedman <nat@novell.com> * configure.in: Added the bbdb plugin. Man, hacking is fun. svn path=/trunk/; revision=27690
* correct hook name typoJP Rosevear2004-10-222-1/+2
| | | | | | | | | | | 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
* forgot to commitMichael Zucci2004-10-212-0/+272
| | | | svn path=/trunk/; revision=27667
* register config hook.Not Zed2004-10-215-809/+630
| | | | | | | | | | | | | | | | | | | | | 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-205-12/+12
| | | | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * gui/component/addressbook-view.c, gui/component/select-names/e-select-names.c, gui/widgets/e-addressbook-view.c, gui/widgets/eab-menu.c, gui/widgets/eab-popup.c: convert to org.gnome hook names svn path=/trunk/; revision=27637
* add EAB_POPUP_SELECT_ANY mask instead of EAB_POPUP_SELECT_MANY, so thatSivaiah Nallagatla2004-10-151-9/+9
| | | | | | | | | | | 2004-10-15 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-view.c : add EAB_POPUP_SELECT_ANY mask instead of EAB_POPUP_SELECT_MANY, so that all the options like Save as, Forward etc are enabled even single contact is selected. svn path=/trunk/; revision=27593
* uncomment HANDLE_MAILTO_INTERNALLY define so that we will launch composerSivaiah Nallagatla2004-10-151-1/+1
| | | | | | | | | | | 2004-10-15 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/eab-contact-display.c : uncomment HANDLE_MAILTO_INTERNALLY define so that we will launch composer through bonobo instead of using gnome_url_show svn path=/trunk/; revision=27592
* added an any select mask and updated the hook maps.Not Zed2004-10-159-4/+438
| | | | | | | | | | | | | | | | | | | 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-147-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | 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-078-43/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-065-356/+627
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-01 Not Zed <NotZed@Ximian.com> * gui/widgets/e-addressbook-view.c (do_popup_menu): convert to using EABPopup. (sources): remove dead code. (has_email_address_1, get_has_email_address): removed now redundant code. (save_as, send_as, send_to, print, copy, paste, cut, delete) (copy_to_folder, move_to_folder, new_card, new_list): new api. (free_popup_info): dead. (print_envelope): not pining. (get_contact_list): take a popup target instead, don't ref. (get_contact_list_1): not required no more. (contact_and_book_free): same. (delete): call eab_view_delete_selection. (eab_view_delete_selection): do the actual delete here. * gui/widgets/eab-popup.c (eab_popup_target_new_select): implement. 2004-10-01 Not Zed <NotZed@Ximian.com> * gui/widgets/eab-popup.[ch]: addressbook popup driver. * gui/component/addressbook-view.c (delete_addressbook_cb): use e-error for the message prompt. don't bother keeping it around, it can never be re-sensitised anyway. (book_removed): no longer destroy the original dialogue. * addressbook-errors.xml: add ask-delete for deleting addressbooks. * gui/component/addressbook-view.c (addressbook_view_init): connect to popup_event rather than fill_popup_menu now. (fill_popup_menu_callback): renamed to popup_event_callback, changed to use epopup. (add_popup_menu_item): remove, no longer needed. svn path=/trunk/; revision=27466
* Fixes bug #66520.Not Zed2004-09-301-5/+0
| | | | | | | | | | | | 2004-09-29 Not Zed <NotZed@Ximian.com> Fixes bug #66520. * gui/widgets/e-addressbook-view.c (eab_view_dispose): don't unref the contact_display_window, it will be destroyed by being parented. svn path=/trunk/; revision=27431
* Fixes bug #65537.Hans Petter Jansson2004-09-301-2/+13
| | | | | | | | | | | 2004-09-29 Hans Petter Jansson <hpj@ximian.com> Fixes bug #65537. * gui/merging/eab-contact-compare.c (query_cb): Protect against NULL UIDs, and make fewer calls to e_contact_get_const () as a bonus. svn path=/trunk/; revision=27428
* Fix for #66523Hao Sheng2004-09-241-0/+18
| | | | | | | | | | | | | | 2004-09-24 Hao Sheng <hao.sheng@sun.com> Fix for #66523 * gui/contact-list-editor/e-contact-list-model.c: (e_contact_list_model_add_email): estimate the same mail address and popup a warning dialog. * addressbook-errors.xml: add the question message for the warning dialog. svn path=/trunk/; revision=27360
* Quiet debug messages.William Jon McCann2004-09-223-8/+22
| | | | | | | | | | | | | | | | 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
* Point at the correct XML file for documentationRodney Dawes2004-09-141-1/+1
| | | | | | | | | 2004-09-13 Rodney Dawes <dobey@novell.com> * gui/contact-editor/e-contact-editor.c (show_help_cb): Point at the correct XML file for documentation svn path=/trunk/; revision=27255
* check for _LABEL type address fields also in supported fileds whileSivaiah Nallagatla2004-09-131-1/+2
| | | | | | | | | | | 2004-09-13 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.c (sensitize_address) : check for _LABEL type address fields also in supported fileds while sensitizing the address fields svn path=/trunk/; revision=27242
* Fixes #63191JP Rosevear2004-09-131-1/+1
| | | | | | | | | | | 2004-09-03 JP Rosevear <jpr@novell.com> Fixes #63191 * gui/contact-list-editor/contact-list-editor.glade: set the title properly svn path=/trunk/; revision=27221
* ** See bug #64080.Not Zed2004-09-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
* add new widget variable contact_dsiplay_window to _EABView strcut toSivaiah Nallagatla2004-09-072-11/+15
| | | | | | | | | | | | | | | | | | 2004-09-04 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-view.h : add new widget variable contact_dsiplay_window to _EABView strcut to store. Remove unused scrolled varible * gui/widgets/e-addressbook-view.c (eab_view_init) (eab_view_dispose) : initialize and unref the new widget added (eab_view_new) : remove the loca variable scrlled_window instead use eav->contact_display_window (eab_view_show_contact_preview) : show/hide contact_display_window instead of contact_display Fixes #64024 svn path=/trunk/; revision=27168
* ** See bug #62856 (workaround).Not Zed2004-08-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
* [ patch for the rest of 60889 ] new function, either start up the query orChris Toshok2004-08-271-7/+50
| | | | | | | | | | | | | | | | | | | | 2004-08-26 Chris Toshok <toshok@ximian.com> [ patch for the rest of 60889 ] * gui/merging/eab-contact-merging.c (add_lookup): new function, either start up the query or add it to the queue if we're over the number of simultaneous queries. (finished_lookup): start up enough pending queries to get us to our limit again. (free_lookup): free lookup->avoid. (final_id_cb): call finished_lookup. (eab_merging_book_add_contact): set lookup->avoid to NULL and replace call to eab_contact_locate_match_full with add_lookup. (eab_merging_book_commit_contact): set lookup->avoid to the contact, and make the same s/eab_contact_locate_match_full/add_lookup/ replacement. svn path=/trunk/; revision=27038
* Don't mark component menu accels for translation.Christian Neumair2004-08-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
* Fixes bug #62715.Hans Petter Jansson2004-08-211-10/+38
| | | | | | | | | | | | | 2004-08-20 Hans Petter Jansson <hpj@ximian.com> Fixes bug #62715. * gui/contact-editor/e-contact-editor.c (fill_in_address_label_textview): Implement. (fill_in_address_field): If structured address information is not available, try putting the "label" blob in the free-form field. svn path=/trunk/; revision=26980
* Makes the contact image selector use GtkFileChooser if available.Hans Petter Jansson2004-08-211-12/+50
| | | | | | | | | | | | | | | | | | | 2004-08-19 Hans Petter Jansson <hpj@ximian.com> Makes the contact image selector use GtkFileChooser if available. * gui/contact-editor/e-contact-editor.c (image_selected_cb): Take just the editor as an argument, so we can call from other places without having to supply dummy args. Rename to image_selected, since it's no longer strictly a callback. Include optional code to use the new GtkFileChooser. (image_cleared_cb): Ditto. Rename to image_cleared. (file_chooser_response): Optional response handling for GtkFileChooser. (image_clicked): Include optional code to use the new GtkFileChooser. Move common strings to variables. For GtkFileSelection, swap callback parameters for the modified image_selected () and image_cleared (). svn path=/trunk/; revision=26979
* [ likely fixes #61500 ] remove the secondary text, since we don't have theChris Toshok2004-08-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
* Remove the custom prompt-to-save dialogs from here - useHans Petter Jansson2004-08-171-53/+15
| | | | | | | | | | | 2004-08-11 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (app_delete_event_cb): Remove the custom prompt-to-save dialogs from here - use eab_prompt_save_dialog (), and then only if the contact actually changed. svn path=/trunk/; revision=26950
* reinstate the ngettext patch that was part of the #53464 commit ofChris Toshok2004-08-171-2/+5
| | | | | | | | | | 2004-08-16 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-gui-util.c (eab_show_multiple_contacts): reinstate the ngettext patch that was part of the #53464 commit of 2004-03-24 by dsegan@gmx.net. svn path=/trunk/; revision=26949
* Commit the correct version of carlos's patch.JP Rosevear2004-08-131-6/+6
| | | | svn path=/trunk/; revision=26914
* Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0Carlos Garnacho Parro2004-08-131-38/+97
| | | | | | | | | 2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org> * gui/widgets/eab-gui-util.c: Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0 svn path=/trunk/; revision=26904
* 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
* #include <gtk/gtkvbox.h>Rodney Dawes2004-08-041-0/+1
| | | | | | | | 2004-08-04 Rodney Dawes <dobey@novell.com> * gui/widgets/eab-popup-control.c: #include <gtk/gtkvbox.h> svn path=/trunk/; revision=26822
* Fixes #60529.Hans Petter Jansson2004-08-041-6/+31
| | | | | | | | | | | | | | | | | | | 2004-08-02 Hans Petter Jansson <hpj@ximian.com> Fixes #60529. * gui/contact-list-editor/e-contact-list-editor.c (table_drag_drop_cb): Make sure to get the text/x-vcard target. 2004-08-02 Hans Petter Jansson <hpj@ximian.com> Fixes #62085. * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_class_init): Set the save_contact method. (e_contact_list_editor_save_contact): Implement. svn path=/trunk/; revision=26816
* 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
* but buttons to button box, use vbox instead of tableRadek Doulik2004-07-224-51/+42
| | | | | | | | | | | | | | | 2004-07-19 Radek Doulik <rodo@ximian.com> * gui/widgets/eab-vcard-control.c (eab_vcard_control_new): but buttons to button box, use vbox instead of table * gui/widgets/eab-contact-display.c: base this widget directly on gtkhtml * gui/widgets/e-addressbook-view.c (eab_view_new): put contact display in scrolled window svn path=/trunk/; revision=26703
* include config.h #61395.Not Zed2004-07-223-0/+12
| | | | | | | | | | 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
* Give a reasonable name to the widget for the _Where labelRodney Dawes2004-07-222-2/+4
| | | | | | | | | | | | | | 2004-07-21 Rodney Dawes <dobey@novell.com> * gui/contact-editor/contact-editor.glade: Give a reasonable name to the widget for the _Where label * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Set the mnemonic widget for the _Where label Fixes #61544 svn path=/trunk/; revision=26691
* don't set the toggle selectionJP Rosevear2004-07-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
* Check source book writeability directly instead of relying on storedHans Petter Jansson2004-07-202-35/+44
| | | | | | | | | | | | | | | | | | | | | | | | 2004-07-16 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (contact_added_cb) (save_contact) (app_delete_event_cb): Check source book writeability directly instead of relying on stored state. (e_contact_editor_init): Don't init source_editable. (e_contact_editor_dispose): We don't listen for source writeability anymore. (writable_changed): Source writeability doesn't affect widget status; remove code to check for it. (e_contact_editor_set_property): Do nothing if book being set is the same as currently set book; previously we would end up unreffing then reffing it. Don't watch for source writeability, but do so for target; fixes a warning. Only call sensitize_all() if writeability on target changed. * gui/contact-editor/e-contact-editor.h (EContactEditor): We don't need the source_editable and source_editable_id vars anymore. svn path=/trunk/; revision=26674
* [ fixes #60873, and possibly other crashes ]Chris Toshok2004-07-161-1/+2
| | | | | | | | | | | | | 2004-07-14 Chris Toshok <toshok@ximian.com> [ fixes #60873, and possibly other crashes ] * gui/widgets/e-addressbook-model.c (get_view): don't call free_data before potentially making an async call. Or rather, don't call free_data without ensure we'll be emitting MODEL_CHANGED shortly after. svn path=/trunk/; revision=26661
* ignore Evolution-Addressbook-SelectNames.h.Chris Toshok2004-07-153-2/+13
| | | | | | | | | | | | | | | | 2004-07-14 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/.cvsignore: ignore Evolution-Addressbook-SelectNames.h. * gui/contact-list-editor/e-contact-list-editor.c: include our local (in this directory) generated Evolution-Addressbook-SelectNames.h * gui/contact-list-editor/Makefile.am: add stuff to generate (and clean up) the select names header we need to include. svn path=/trunk/; revision=26657
* [ fixes #56657 ]Rodney Dawes2004-07-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
* [ part of fix for bug #56520 ]Chris Toshok2004-07-132-31/+33
| | | | | | | | | | | | | | | | | | | | | | | | 2004-07-12 Chris Toshok <toshok@ximian.com> [ part of fix for bug #56520 ] * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_init): init allows_contact_lists to TRUE. (list_deleted_cb): nuke, it's unused. (e_contact_list_editor_set_property): check if the book supports contact lists, and desensitize things if it doesn't. (select_names_ok_cb): this isn't valid C. declarations must come before code. (set_editable): the editable state of the dialog depends on whether or not the backend supports contact lists. (command_state_changed): the ok button needs to depend on allows_contact_lists. (extract_info): quiet compiler warning. * gui/contact-list-editor/e-contact-list-editor.h (struct _EContactListEditor): add allow_contact_lists. svn path=/trunk/; revision=26625
* tarball should ship .schemas.in.in files, not generated files.Frédéric Crozat2004-07-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
* Set the source option menu sensitivity here.Hans Petter Jansson2004-07-031-0/+2
| | | | | | | | | 2004-07-02 Hans Petter Jansson <hpj@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c (command_state_changed): Set the source option menu sensitivity here. svn path=/trunk/; revision=26569
* disconnect source/target_editable signal ids.Chris Toshok2004-06-302-3/+39
| | | | | | | | | | | | | | | | | | 2004-06-30 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (e_contact_editor_dispose): disconnect source/target_editable signal ids. (e_contact_editor_set_property): disconnect/connect editable signals. (writable_changed): new function - we need this since writable status is generally communicated asynchronously with the async interface. * gui/contact-editor/e-contact-editor.h (struct _EContactEditor): add source/target_editable_id slots. svn path=/trunk/; revision=26554
* 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
* Implement. (eab_contact_compare_name): Don't leak if only one of theHans Petter Jansson2004-06-262-2/+44
| | | | | | | | | | | | 2004-06-25 Hans Petter Jansson <hpj@ximian.com> * gui/meging/eab-contact-compare.[ch] (eab_contact_compare_file_as): Implement. (eab_contact_compare_name): Don't leak if only one of the strings is NULL. (use_common_book_cb): Include file_as in query. svn path=/trunk/; revision=26527
* Add a newline between street line and rest of extended address.Hans Petter Jansson2004-06-261-1/+4
| | | | | | | | | | 2004-06-25 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (fill_in_address_textview): Add a newline between street line and rest of extended address. (extract_address_textview): Omit the newline trailing the street line. svn path=/trunk/; revision=26526
* Add table. (append_to_address_label): Implement. (set_address_label):Hans Petter Jansson2004-06-251-2/+48
| | | | | | | | | | | 2004-06-24 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (address_labels): Add table. (append_to_address_label): Implement. (set_address_label): Implement. (extract_address_record): Set the address label fields. svn path=/trunk/; revision=26506
* 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
* Set window to be invisible initially.Hans Petter Jansson2004-06-242-1/+4
| | | | | | | | | | | | 2004-06-23 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/contact-editor.glade: Set window to be invisible initially. * gui/contact-editor/e-contact-editor.c (e_contact_editor_init): Set the type hint to "normal", and show the window after init. svn path=/trunk/; revision=26487
* use memcpy not strcpy to copy to memory buffer. Fixes a UMW. See #60532.Not Zed2004-06-241-1/+1
| | | | | | | | | | 2004-06-23 Not Zed <NotZed@Ximian.com> * gui/widgets/eab-gui-util.c (eab_send_contact_list_as_attachment): use memcpy not strcpy to copy to memory buffer. Fixes a UMW. See #60532. svn path=/trunk/; revision=26486
* Add an x-source-vcard target entry that includes the source book URI.Hans Petter Jansson2004-06-244-99/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Name the labels.Hans Petter Jansson2004-06-232-51/+74
| | | | | | | | | | | | | | | | | 2004-06-22 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/contact-editor.glade: Name the labels. * gui/contact-editor/e-contact-editor.c (sensitize_email_record) (sensitize_phone_record) (sensitize_im_record) (sensitize_address_textview) (sensitize_address_field) (simple_field_map) (sensitize_simple_field): Make entries uneditable and labels insensitive, if field is disabled or read-only. svn path=/trunk/; revision=26464
* Fixes #59622.Hans Petter Jansson2004-06-232-0/+48
| | | | | | | | | | | | | | | | | | 2004-06-22 Hans Petter Jansson <hpj@ximian.com> Fixes #59622. * gui/widgets/e-minicard-view.c (e_minicard_view_init): Clear drag_list and canvas_drag_data_delete_id. (e_minicard_view_dispose): Clear drag_list. Disconnect drag_data_delete signal if connected. (e_minicard_view_drag_begin): Set up drag_data_delete signal if necessary. Clear old data before drag starts. (clear_drag_data): Implement. (e_minicard_view_drag_data_delete): Implement. (e_minicard_view_drag_data_get): Don't clear drag_list here. svn path=/trunk/; revision=26459
* [ should fix #60495, #58635 ] don't free the list of contacts - libebookChris Toshok2004-06-231-5/+0
| | | | | | | | | | | 2004-06-22 Chris Toshok <toshok@ximian.com> [ should fix #60495, #58635 ] * gui/widgets/eab-popup-control.c (name_only_query_cb): don't free the list of contacts - libebook still owns it. (query_cb): same. svn path=/trunk/; revision=26453
* don't set the changed flag unless we actually add something.Larry Ewing2004-06-231-3/+3
| | | | | | | | | 2004-06-22 Larry Ewing <lewing@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c (add_email_cb): don't set the changed flag unless we actually add something. svn path=/trunk/; revision=26451
* revert this change.Chris Toshok2004-06-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
* Make the scrolled windows around text views use GTK_SHADOW_IN, forFederico Mena Quintero2004-06-221-4/+4
| | | | | | | | | | 2004-06-21 Federico Mena Quintero <federico@ximian.com> * gui/contact-editor/contact-editor.glade: Make the scrolled windows around text views use GTK_SHADOW_IN, for consistency with the GtkEntries. svn path=/trunk/; revision=26446
* remove the auth-entry-notebook in the edit dialog, and rename the authChris Toshok2004-06-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
* [ fixes bug #58696 ]Chris Toshok2004-06-181-1/+2
| | | | | | | | | | | | 2004-06-17 Chris Toshok <toshok@ximian.com> [ fixes bug #58696 ] * gui/widgets/eab-gui-util.c (eab_transfer_contacts): use addressbook_load instead of e_book_async_open, so we do auth stuff for the destination book. svn path=/trunk/; revision=26404
* EBookFieldsCallback -> EBookEListCallback.Chris Toshok2004-06-181-3/+3
| | | | | | | | | | 2004-06-17 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (e_contact_editor_new): EBookFieldsCallback -> EBookEListCallback. (e_contact_editor_set_property): same. svn path=/trunk/; revision=26403
* EBookContactsCallback -> EBookListCallback. (eab_nickname_query): same.Chris Toshok2004-06-1816-17/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-17 Chris Toshok <toshok@ximian.com> * util/eab-book-util.c (eab_name_and_email_query): EBookContactsCallback -> EBookListCallback. (eab_nickname_query): same. * printing/e-contact-print.c: e-book-async.h -> e-book.h * gui/widgets/eab-vcard-control.c: e-book-async.h -> e-book.h. * gui/widgets/e-addressbook-model.h: e-book-async.h -> e-book.h. * gui/widgets/eab-popup-control.h: e-book-async.h -> e-book.h. * gui/widgets/eab-popup-control.c: remove e-book-async.h include. * gui/merging/eab-contact-merging.h: e-book-async.h -> e-book.h. * gui/contact-editor/e-contact-editor.h: e-book-async.h -> e-book.h. * gui/contact-editor/e-contact-editor.h: same. * gui/contact-list-editor/e-contact-list-editor.h: same. * gui/contact-list-editor/e-contact-list-model.h: remove include of e-book-async.h * gui/component/select-names/e-select-names-completion.h: include e-book.h, not e-book-async.h * gui/component/select-names/e-select-names-model.c: same. * gui/component/select-names/e-select-names.c: same. * gui/component/addressbook-migrate.c: include e-book.h, not e-book-async.h * gui/component/addressbook-view.c: same. * gui/component/addressbook.h: same. * gui/component/addressbook.c: remove include e-book-async.h. svn path=/trunk/; revision=26402
* update the model column numbers as new fields like E_CONTACT_EMAIL_4 areSivaiah Nallagatla2004-06-171-31/+31
| | | | | | | | | | | 2004-06-17 Sivaiah Nallagatla <snallagatla@novell.com> * gui/widgets/e-addressbook-view.etspec : update the model column numbers as new fields like E_CONTACT_EMAIL_4 are added to EContact Fixes #59621 svn path=/trunk/; revision=26375
* set the source selector to be able to toggle the current selection. FixNot Zed2004-06-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
* compare old and new full names and if it is different set the new the nameSivaiah Nallagatla2004-06-161-1/+4
| | | | | | | | | | | | 2004-06-16 Sivaiah Nallagatla <snallagatla@novell.com> * gui/contact-editor/e-contact-editor.c (full_name_clicked) : compare old and new full names and if it is different set the new the name using gtk_entry_set_text instead of set_entry_text as this function blocks siganls hence preventing ok button being enabled svn path=/trunk/; revision=26359
* set things to HOME, since we don't offer TYPE=OTHER IM attributes throughChris Toshok2004-06-152-17/+18
| | | | | | | | | | | | | | | | | 2004-06-14 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (extract_im_record): set things to HOME, since we don't offer TYPE=OTHER IM attributes through the EContact api, and one choice is just as good as another if we aren't displaying it anyway. * gui/widgets/eab-contact-display.c (render_contact): move the IM stuff out of home/work, since we don't allow people to edit location for them anymore. Also, change the IM accounts we look up to "HOME", since that's what we hardcode them to in the contact editor. svn path=/trunk/; revision=26340
* new function. do the get_view in an idle handler.Chris Toshok2004-06-092-10/+33
| | | | | | | | | | | | | 2004-06-08 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-model.c (get_view_idle): new function. do the get_view in an idle handler. (eab_model_set_property): don't call get_view directly from any setter block. instead just add the idle handler (if it's not already added.) This keeps us from duplicating queries when both "book" and "query" are set using the same g_object_set. svn path=/trunk/; revision=26264
* Fixes #58921.Hans Petter Jansson2004-06-081-0/+1
| | | | | | | | | | | 2004-06-07 Hans Petter Jansson <hpj@ximian.com> Fixes #58921. * gui/contact-editor/e-contact-editor.c (extract_address_record): Also check if the po box field is non-empty. svn path=/trunk/; revision=26246
* disable editing of cells in the contact table.Jon Oberheide2004-06-081-1/+1
| | | | | | | | | 2004-06-07 Jon Oberheide <jon@focalhost.com> * gui/contact-list-editor/e-contact-list-model.c: disable editing of cells in the contact table. svn path=/trunk/; revision=26245
* Fixes #57795.Hans Petter Jansson2004-06-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
* Like the previous build dep fix, but this works.Hans Petter2004-06-082-3/+8
| | | | svn path=/trunk/; revision=26242
* Fix order of dependencies.Hans Petter Jansson2004-06-081-1/+1
| | | | | | | | 2004-06-07 Hans Petter Jansson <hpj@ximian.com> * gui/Makefile.am (SUBDIRS): Fix order of dependencies. svn path=/trunk/; revision=26241
* Added few headers needed for select names dialog.H P Nadig2004-06-083-0/+112
| | | | | | | | | | | | | | | | | | | 2004-06-07 H P Nadig <hpnadig@pacific.net.in> * gui/contact-list-editor/e-contact-list-editor.h: Added few headers needed for select names dialog. * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_init): Added select button handler. (select_cb): The callback function for Select Button. (setup_corba): To setup corba for select names dialog. (select_names_ok_cb): Handle Select names dialog entries. (add_to_model): Adds cards to the model. * gui/contact-list-editor/contact-list-editor.glade: New 'Select' Button. Tooltips added for buttons in button Box. svn path=/trunk/; revision=26240
* fix the name of "stock_save-as" everywhereDan Winship2004-06-071-1/+1
| | | | svn path=/trunk/; revision=26237
* remove bonobo menus and cruft add ok/cancel buttons.Larry Ewing2004-06-053-179/+72
| | | | | | | | | | | | | | | 2004-06-04 Larry Ewing <lewing@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c: remove bonobo menus and cruft add ok/cancel buttons. * gui/contact-list-editor/e-contact-list-editor.h: add buttons for ok/cancel. * gui/contact-list-editor/contact-list-editor.glade: add fields for ok/cancel reparent to GtkDialog, other minor adjustments. svn path=/trunk/; revision=26224
* 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
* Fixes #53643 and #26903.Hans Petter Jansson2004-06-046-47/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-03 Hans Petter Jansson <hpj@ximian.com> Fixes #53643 and #26903. * gui/search/addresstypes.xml: category -> category_list * gui/search/e-addressbook-search-dialog.c (get_widget): Get filter rule from parent view. (eab_search_dialog_set_property): Implement. (eab_search_dialog_get_property): Impleent. (eab_search_dialog_class_init): Set up property methods. (get_query): Get filter rule from parent view. (eab_search_dialog_init): Don't get the filter widget here, wait until parent view property is set. (eab_search_dialog_new): Don't poke the parent view in, set it as a property instead. (eab_search_dialog_dispose): No longer needs to unref rule. * gui/search/e-addressbook-search-dialog.c: EABSearchDialog no longer needs to keep rule internally. * gui/widgets/Makefile.am: Set SEARCH_RULE_DIR define. * gui/widgets/e-addressbook-view.c (eab_view_new): Set up filter rule and context. (eab_view_peek_search_context): Implement. (eab_view_peek_search_rule): Implement. * gui/widgets/e-addressbook-view.h: Keep track of filter rule and context. Add protos for added API. svn path=/trunk/; revision=26207
* 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
* Add in a source option menu to the dialog and make is sensitive only onLarry Ewing2004-06-023-32/+195
| | | | | | | | | | | | | | | 2004-06-01 Larry Ewing <lewing@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c: Add in a source option menu to the dialog and make is sensitive only on new lists. * gui/contact-list-editor/e-contact-list-editor.h: add load_book fields for async book loading. * gui/contact-list-editor/contact-list-editor.glade: add the new source selector in a table reorder some of the other widgets. svn path=/trunk/; revision=26150
* render all email addresses, not just the first 3.Chris Toshok2004-05-291-26/+18
| | | | | | | | | | 2004-05-28 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-contact-display.c (render_contact): render all email addresses, not just the first 3. (eab_contact_display_class_init): use a C comment, not C++. svn path=/trunk/; revision=26130
* call e_select_names_model_load_contacts after settingChris Toshok2004-05-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
* Add back office, spouse, web log fields. Allow for 8 phone numbers, ofHans Petter Jansson2004-05-292-315/+616
| | | | | | | | | | | | | | | | | | | | | | 2004-05-28 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/contact-editor.glade: Add back office, spouse, web log fields. Allow for 8 phone numbers, of which 4 can be hidden. * gui/contact-editor/e-contact-editor.c (phones_default): Add more defaults. (im_service_default): Add more defaults. (expand_phone): Implement. (fill_in_phone_record): Expand if we have any records past 4. (init_im_record_location) (fill_in_im_record) (extract_im_record) (sensitize_im_record): Remove location. (simple_field_map): Add spouse, office, web log. (expand_phone_toggle): Implement. (e_contact_editor_init): Hook up expander button. svn path=/trunk/; revision=26128
* added missing #ifdef HAVE_LDAPChristophe Fergeau2004-05-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
* update spell errorsRadek Doulik2004-05-261-0/+2
| | | | | | | | | | 2004-05-26 Radek Doulik <rodo@ximian.com> * htmltext.c (html_text_op_copy_helper): update spell errors Fixes #50829 svn path=/trunk/; revision=26103