aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
Commit message (Collapse)AuthorAgeFilesLines
* only set the address if something in it's been filled in.Chris Toshok2004-02-073-22/+24
| | | | | | | | | | | | | | | | 2004-02-06 Chris Toshok <toshok@ximian.com> * importers/evolution-ldif-importer.c (getNextLDIFEntry): only set the address if something in it's been filled in. (resolve_list_card): build up a separate list representing the xml formatted crud. (process_item_fn): remove FIXME. (factory_fn): use g_new0 since we test for NULL-ness later on. * importers/evolution-vcard-importer.c (factory_fn): use g_new0 since we test for NULL-ness later on. svn path=/trunk/; revision=24659
* implementJP Rosevear2004-02-072-1/+17
| | | | | | | | | 2004-02-06 JP Rosevear <jpr@ximian.com> * importers/evolution-ldif-importer.c (importer_destroy_cb): implement svn path=/trunk/; revision=24655
* implement (load_file_fn): use g_file_get_contents to get a string we canJP Rosevear2004-02-072-7/+32
| | | | | | | | | | | 2004-02-06 JP Rosevear <jpr@ximian.com> * importers/evolution-vcard-importer.c (importer_destroy_cb): implement (load_file_fn): use g_file_get_contents to get a string we can convert to a contact list with eab_contact_list_from_string svn path=/trunk/; revision=24654
* shlib importer infoJP Rosevear2004-02-077-0/+1012
| | | | | | | | | | | | | | | | | | | | 2004-02-06 JP Rosevear <jpr@ximian.com> * importers/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: shlib importer info * importers/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: ditto * importers/Makefile.am: build shlib addressbook importers * importers/evolution-ldif-importer.c: First crack at resurrecting * importers/evolution-vcard-importer.c: ditto svn path=/trunk/; revision=24652
* remove some spew, and add an evo-icon: handler, for things in evolution'sChris Toshok2004-02-042-79/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-03 Chris Toshok <toshok@ximian.com> * gui/widgets/eab-contact-display.c (on_url_requested): remove some spew, and add an evo-icon: handler, for things in evolution's imagedir. (render_address): hack up the html. (render_name_value): new function, just render a name/value/icon. (render_attribute): split out most of this function into render_name_value. this just checks to see if the EContact attribute has something in it before passing it along. (render_contact_list): split this out from eab_contact_display_render_normal. (start_block): new function, insert a row of height 20 with a header. (end_block): new function, insert a row of height 20. (render_contact): split this out from eab_contact_display_render_normal, and prettify the contact display. (eab_contact_display_render_normal): call render_contact and render_contact_list. (eab_contact_display_new): create a scrolled window and add the GtkHTML to it so we actually have scrollbars. svn path=/trunk/; revision=24591
* add widgets/misc for e-activity-handler.hDan Winship2004-02-042-3/+7
| | | | | | | * gui/component/select-names/Makefile.am (INCLUDES): add widgets/misc for e-activity-handler.h svn path=/trunk/; revision=24588
* correected the date in ChangelogSivaiah Nallagatla2004-02-041-1/+1
| | | | svn path=/trunk/; revision=24583
* use gtk_spin_button_* apis to get and set values for download limit spinSivaiah Nallagatla2004-02-042-6/+14
| | | | | | | | | | | 2004-02-03 Sivaiah Nallagatla <snallagatla@novell.com> * gui/component/addressbook-config.c (dialog_to_source) (source_to_dialog) : use gtk_spin_button_* apis to get and set values for download limit spin button instead of gtk_entry Fixes #53432 svn path=/trunk/; revision=24582
* hook up contact_changed/contact_removed signals. (contact_changed): newChris Toshok2004-02-033-12/+86
| | | | | | | | | | | | | | | | | | | | | 2004-02-02 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (eab_view_new): hook up contact_changed/contact_removed signals. (contact_changed): new function. if the changed contact is the one we're displaying, re-render it. (contact_removed): new function. if the removed contact is the one we're displaying, clear the display. (render_contact): set displayed_contact to the row. (eab_view_init): init displayed_contact to -1. (selection_changed): set displayed_contact to -1 when we clear the display. * gui/widgets/e-addressbook-view.h (struct _EABView): add "displayed_contact" so we can update the contact preview when it changes. svn path=/trunk/; revision=24574
* enable d&d drop photos.Chris Toshok2004-01-318-267/+118
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-30 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c: enable d&d drop photos. * gui/contact-editor/contact-editor.glade: use eab_create_image_chooser_widget for the d&d'able image. * gui/contact-list-editor/e-contact-list-editor.c: abstract out all the d&d image support (it's now in widgets/misc/e-image-chooser.[ch]). * gui/contact-list-editor/contact-list-editor.glade: use eab_create_image_chooser_widget for the d&d'able image. * gui/widgets/eab-gui-util.c (eab_create_image_chooser_widget): new function. * gui/widgets/eab-gui-util.h: add prototype for eab_create_image_chooser_widget. svn path=/trunk/; revision=24553
* Implement. (eab_select_source): Implement. Public function that promptsHans Petter Jansson2004-01-303-18/+88
| | | | | | | | | | | | 2004-01-29 Hans Petter Jansson <hpj@ximian.com> * gui/widgets/eab-gui-util.c (source_selection_changed_cb): Implement. (eab_select_source): Implement. Public function that prompts user to select a source from a list. (eab_transfer_contacts): Enable and use eab_select_source () and ESource, instead of old shell folder/URI stuff. svn path=/trunk/; revision=24530
* Changed "Finish" to "Apply" in dialog finish page text.Hans Petter Jansson2004-01-302-1/+6
| | | | | | | | | 2004-01-29 Hans Petter Jansson <hpj@ximian.com> * gui/component/ldap-config.glade: Changed "Finish" to "Apply" in dialog finish page text. svn path=/trunk/; revision=24526
* Sync the modified source list.Hans Petter Jansson2004-01-303-2/+17
| | | | | | | | | | | | 2004-01-29 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-config.c (dialog_to_source): Sync the modified source list. * gui/component/addressbook-component.c (delete_addressbook_cb): Sync the modified source list. svn path=/trunk/; revision=24525
* use the MigrationContext struct. (dialog_close): same.Chris Toshok2004-01-302-97/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-29 Chris Toshok <toshok@m198-139.dsl.rawbw.com> * gui/component/addressbook-migrate.c (setup_progress_dialog): use the MigrationContext struct. (dialog_close): same. (dialog_set_folder_name): same. (dialog_set_progress): same. (migrate_contacts): same, and pass it along to other functions. (migrate_contact_folder_to_source): same. (migrate_contact_folder): same. also, add the old path/uid to the folder_uid_map. (migrate_local_folders): same. (create_groups): use the MigrationContext struct. (migrate_completion_folders): if it's a file uri, look up the old path in our hash table for a uid to use. otherwise use the old behavior. (migration_context_new): new function, initialize the MigrationContext. (migration_context_free): free up everything. (addressbook_migrate): create the context, pass it to everything, destroy the context, shine toshok's shoes, etc. svn path=/trunk/; revision=24524
* set group to temporary sourceRadek Doulik2004-01-302-0/+6
| | | | | | | | | 2004-01-29 Radek Doulik <rodo@ximian.com> * gui/component/addressbook-config.c (dialog_to_temp_source): set group to temporary source svn path=/trunk/; revision=24522
* Get file_as instead of full_name.Hans Petter Jansson2004-01-293-2/+10
| | | | | | | | | | | | 2004-01-28 Hans Petter Jansson <hpj@ximian.com> * gui/component/select-names/e-select-names-table-model.c (fill_in_info): Get file_as instead of full_name. * gui/compoent/select-names/e-select-names.etspec: Show the file_as column instead of full_name. svn path=/trunk/; revision=24505
* Handle NULL name. Fixes #53071.Hans Petter Jansson2004-01-282-2/+15
| | | | | | | | | | 2004-01-27 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor-fullname.c (e_contact_editor_fullname_set_property): Handle NULL name. Fixes #53071. svn path=/trunk/; revision=24479
* set the relative_uri of a local source to be its uid.Chris Toshok2004-01-283-15/+29
| | | | | | | | | | | | | | | | | | | | | 2004-01-27 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-config.c (dialog_to_source): set the relative_uri of a local source to be its uid. * gui/component/addressbook-migrate.c (migrate_contact_folder_to_source): remove the dest_group arg, since we don't use it. (migrate_contact_folder): set the relative uri of the source to be its uid. (PERSONAL_RELATIVE_URI): "Personal" -> "system". (create_groups): don't actually make the directory hierarchy for the personal folder here. let e-d-s do that. Also remove OnThisComputer from the base uri. (migrate_local_folders): track change to migrate_contact_folder_to_source. svn path=/trunk/; revision=24478
* [ Should fix #53361 and other migration problems/crashes ] new function,Chris Toshok2004-01-272-29/+63
| | | | | | | | | | | | | | | | | | | | | 2004-01-26 Chris Toshok <toshok@ximian.com> [ Should fix #53361 and other migration problems/crashes ] * gui/component/addressbook-migrate.c (migrate_contact_folder_to_source): new function, takes most of migrate_contact_folder's contents. Fix some of the refcounting problems though, by not unreffing dest_group, and using e_group_add_source instead of e_source_set_group. (migrate_contact_folder): convert to calling migrate_contact_folder_to_source. (create_groups): add an out parameter for *personal_source. (migrate_local_folders): add personal_source as an arg, so we can get the source that create_groups created/found. Call migrate_contact_folder_to_source for the personal_source. (addressbook_migrate): pass personal_source to migrate_local_folders. svn path=/trunk/; revision=24457
* [ fixes #53238 ] make this accept NULL's (and return FALSE for them).Chris Toshok2004-01-272-14/+55
| | | | | | | | | | | | | | | | | | | 2004-01-26 Chris Toshok <toshok@ximian.com> [ fixes #53238 ] * util/eab-destination.c (nonempty): make this accept NULL's (and return FALSE for them). (eab_destination_is_empty): shorten some of the tests since nonempty takes NULL now. (eab_destination_get_address): only call camel_internet_address_add if both name and email are non-empty. otherwise call camel_address_decode and let camel try to deal with it. (eab_destination_xml_encode): call xmlEncodeEntitiesReentrant on the strings before adding them to the xml, so people that enter [<>&] won't end up with broken EABDestinations. svn path=/trunk/; revision=24439
* make sure we pass \0 terminated string to eab_contact_list_from_string [itRadek Doulik2004-01-262-5/+18
| | | | | | | | | | 2004-01-26 Radek Doulik <rodo@ximian.com> * gui/widgets/e-addressbook-view.c (selection_received): make sure we pass \0 terminated string to eab_contact_list_from_string [it may fix #51743] svn path=/trunk/; revision=24435
* [ fixes bug #51171 ] get this working.Chris Toshok2004-01-262-63/+52
| | | | | | | | | | 2004-01-25 Chris Toshok <toshok@ximian.com> [ fixes bug #51171 ] * gui/widgets/eab-gui-util.c (eab_send_contact_list): get this working. svn path=/trunk/; revision=24429
* Select Contacts from Address Book, not ContentsRodney Dawes2004-01-252-1/+8
| | | | | | | | | | | 2004-01-24 Rodney Dawes <dobey@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_init): Select Contacts from Address Book, not Contents Fixes #53263 svn path=/trunk/; revision=24414
* oops. (migrate_contact_folder): fix the unreffing.Chris Toshok2004-01-252-3/+15
| | | | | | | | | | 2004-01-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (migrate_local_folders): oops. (migrate_contact_folder): fix the unreffing. svn path=/trunk/; revision=24408
* use _("Personal"), not "Personal".Chris Toshok2004-01-252-1/+6
| | | | | | | | | 2004-01-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (migrate_local_folders): use _("Personal"), not "Personal". svn path=/trunk/; revision=24407
* i2004-01-24 Chris Toshok <toshok@ximian.com>Chris Toshok2004-01-252-7/+6
| | | | | | | * gui/component/addressbook-migrate.c (migrate_local_folders): don't create/add the source here. it's done in svn path=/trunk/; revision=24406
* use e_folder_map_local_folders. (find_addressbook_dirs): nuke.Chris Toshok2004-01-252-53/+11
| | | | | | | | | | 2004-01-24 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (migrate_local_folders): use e_folder_map_local_folders. (find_addressbook_dirs): nuke. svn path=/trunk/; revision=24404
* use .evolution to store view infoJP Rosevear2004-01-242-1/+6
| | | | | | | | | 2004-01-24 JP Rosevear <jpr@ximian.com> * gui/widgets/e-addressbook-view.c (init_collection): use .evolution to store view info svn path=/trunk/; revision=24399
* [ fixes bug #52571 ] ugh. name fields that have \" around the name breakChris Toshok2004-01-243-29/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-23 Chris Toshok <toshok@ximian.com> [ fixes bug #52571 ] * util/eab-book-util.c (escape): ugh. name fields that have \" around the name break our queries, because it turns it into (for instance): (contains "full_name" ""Toshok""). so we need to turn that into: (contains "full_name" "\"Toshok\""). (eab_name_and_email_query): escape both the name and email, and use an EBookQuery instead of passing the string to e_book_async_get_contacts. Looks like ross missed a couple of spots. (eab_nickname_query): same. * gui/component/addressbook.c (free_load_source_data): new function, free up the data and unref the source if there is one. (load_source_auth_cb): call free_load_source_data instead of just g_free'ing the struct. (load_source_cb): same. (default_book_cb): new function, we need this so we can fill in the source for the default book. get the source, then call load_source_cb to continue processing as normal. (addressbook_load_default_book): use default_book_cb instead of load_source_cb. svn path=/trunk/; revision=24383
* [ fixes bug #53184 ] handle the fact that the xml 1.4 spits out containsChris Toshok2004-01-232-0/+37
| | | | | | | | | | | 2004-01-22 Chris Toshok <toshok@ximian.com> [ fixes bug #53184 ] * gui/component/addressbook-migrate.c (migrate_contacts): handle the fact that the xml 1.4 spits out contains unescaped ';'s in the EMAIL attributes for mailing lists. svn path=/trunk/; revision=24374
* [ fixes bug #52944 ] do some massaging of contacts as we import them, toChris Toshok2004-01-232-0/+63
| | | | | | | | | | | 2004-01-22 Chris Toshok <toshok@ximian.com> [ fixes bug #52944 ] * gui/component/addressbook-migrate.c (migrate_contacts): do some massaging of contacts as we import them, to fix up the differences between 1.4 and 1.5 vcards. svn path=/trunk/; revision=24369
* Added missing entry-blog widget.Nat Friedman2004-01-222-0/+23
| | | | | | | | | 2004-01-21 Nat Friedman <nat@novell.com> * gui/contact-editor/contact-editor.glade: Added missing entry-blog widget. svn path=/trunk/; revision=24360
* Remove. (dialog_to_source): Don't create source dir, backend takes care ofHans Petter Jansson2004-01-222-26/+7
| | | | | | | | | | 2004-01-21 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-config.c (create_source_dir): Remove. (dialog_to_source): Don't create source dir, backend takes care of that now. svn path=/trunk/; revision=24359
* new function.Chris Toshok2004-01-224-17/+185
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-21 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (addressbook_component_peek_gconf_client): new function. * gui/component/addressbook-component.h: add prototype for addressbook_component_peek_gconf_client. * gui/component/addressbook-migrate.c (migrate_completion_folders): more gross hacking. migrate the completion settings. (get_source_by_uri): function to search for an ESource given the entire uri. used for migrate_completion_folders. (migrate_ldap_servers): get_string_value -> get_string_child. same with get_integer_child. (get_string_child): rename to make it apparent it's a child, not a property. (get_integer_child): same. (addressbook_migrate): call migrate_completion_folders. svn path=/trunk/; revision=24357
* call widget_changed here too, since we're changing the destination.Chris Toshok2004-01-222-0/+6
| | | | | | | | | 2004-01-21 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (new_target_cb): call widget_changed here too, since we're changing the destination. svn path=/trunk/; revision=24353
* [ fixes bug #52955 ] handle the case properly where there are no queryChris Toshok2004-01-213-4/+20
| | | | | | | | | | | | | | | 2004-01-20 Chris Toshok <toshok@ximian.com> [ fixes bug #52955 ] * gui/merging/eab-contact-compare.c (use_common_book_cb): handle the case properly where there are no query parts (p == 0). Instead of passing "" to e_book_query_from_string, just set the query to NULL. * util/eab-book-util.c (eab_contact_list_to_string): we need to put a blank line here, so \r\n\r\n, not just \r\n. svn path=/trunk/; revision=24340
* deal with the groups/sources already being there. Essentially make thisChris Toshok2004-01-214-43/+93
| | | | | | | | | | | | | | | | | | | 2004-01-20 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (create_groups): deal with the groups/sources already being there. Essentially make this function idempotent. (addressbook_migrate): unconditionally call create_groups now. move the version logic here from ipl_upgradeFromVersion, and include more versions in the set of those we upgrade from. * gui/component/addressbook-migrate.h: add major/minor/revision args to addressbook_migrate. * gui/component/addressbook-component.c (impl_upgradeFromVersion): remove the version logic from here. svn path=/trunk/; revision=24338
* do not try to unref when query is NULLSivaiah Nallagatla2004-01-212-1/+9
| | | | | | | | | 2004-01-20 Sivaiah Nallagatla <snallagatla@novell.com> * printing/e-contact-print.c (e_contact_print_response): do not try to unref when query is NULL svn path=/trunk/; revision=24327
* 2004 -01-20 Sivaiah Nallagatla <snallagatla@novell.com>Sivaiah Nallagatla2004-01-202-2/+9
| | | | | | | * gui/contact-editor/e-contact-editor.c (edit_im_clicked) : do not call gtk_tree_model_get when nothing in the list is selected svn path=/trunk/; revision=24325
* Get name from correct model column.Hans Petter Jansson2004-01-202-1/+6
| | | | | | | | | 2004-01-19 Hans Petter Jansson <hpj@ximian.com> * gui/component/select-names/e-select-names.etspec: Get name from correct model column. svn path=/trunk/; revision=24311
* Only unref if we have a query.Hans Petter Jansson2004-01-202-2/+8
| | | | | | | | | 2004-01-19 Hans Petter Jansson <hpj@ximian.com> * printing/e-contact-print.c (complete_sequence): Only unref if we have a query. svn path=/trunk/; revision=24310
* Implement. (load_primary_selection): Use get_primary_source ().Hans Petter Jansson2004-01-202-9/+27
| | | | | | | | | | | | 2004-01-19 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-component.c (get_primary_source): Implement. (load_primary_selection): Use get_primary_source (). (impl_requestCreateItem): Use get_primary_source (), fixing a crash when we're asked to create a new item and we don't have the controls. svn path=/trunk/; revision=24309
* Don't run callback if the action was cancelled. (load_source_cb): Ditto.Hans Petter Jansson2004-01-176-10/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-16 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook.c (load_source_auth_cb): Don't run callback if the action was cancelled. (load_source_cb): Ditto. (addressbook_load_source): Return an ID for the load attempt. (addressbook_load_source_cancel): Implement, allows cancelling a load attempt. * gui/contact-editor/e-contact-editor.c (new_target_cb): Clear the values for in-progress load operation. Only unref new_book if it's non-NULL. (cancel_load): Implement. Cancels the load operation if one is in progress. (source_selected): Cancel any running load operation before starting a new one. Set up in-progress values. (e_contact_editor_init): Clear the in-progress values. (e_contact_editor_dispose): Cancel load operation. (e_contact_editor_set_property): If a new target book is set, cancel any conflicting load operation in progress. * gui/widgets/e-addressbook-view.c (set_paned_position): Remove debug output. (get_paned_position): Ditto. svn path=/trunk/; revision=24287
* only set the menus and command state if we actually are already displayed,JP Rosevear2004-01-172-3/+11
| | | | | | | | | | 2004-01-16 JP Rosevear <jpr@ximian.com> * gui/component/addressbook.c (set_prop): only set the menus and command state if we actually are already displayed, otherwise wait for activation svn path=/trunk/; revision=24283
* Implement. (get_paned_position): Implement. (eab_view_new): Connect signalHans Petter Jansson2004-01-163-4/+58
| | | | | | | | | | | | 2004-01-15 Hans Petter Jansson <hpj@ximian.com> * gui/widgets/e-addressbook-view.c (set_paned_position): Implement. (get_paned_position): Implement. (eab_view_new): Connect signal to get paned position changes. Remove old hack. (display_view): Set paned position properly. svn path=/trunk/; revision=24264
* Actually commit.JP Rosevear2004-01-131-8/+0
| | | | svn path=/trunk/; revision=24188
* revert dumb upgrade changeJP Rosevear2004-01-131-0/+5
| | | | | | | | | 2004-01-12 JP Rosevear <jpr@ximian.com> * gui/component/addressbook-component.c (impl_upgradeFromVersion): revert dumb upgrade change svn path=/trunk/; revision=24187
* migrate from 1.5.0 and 1.5.1 properlyJP Rosevear2004-01-132-0/+13
| | | | | | | | | 2004-01-12 JP Rosevear <jpr@ximian.com> * gui/component/addressbook-component.c (impl_upgradeFromVersion): migrate from 1.5.0 and 1.5.1 properly svn path=/trunk/; revision=24185
* Oops, missed this.JP Rosevear2004-01-131-0/+4
| | | | svn path=/trunk/; revision=24181
* de-bold ui elementsJP Rosevear2004-01-131-4/+2
| | | | | | | | 2004-01-12 JP Rosevear <jpr@ximian.com> * gui/contact-editor/contact-editor.glade: de-bold ui elements svn path=/trunk/; revision=24180
* Take a sensitivity flag per menu item, and fall back to stock icons.Hans Petter Jansson2004-01-123-15/+66
| | | | | | | | | | | | | | | 2004-01-09 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-component.c (add_popup_menu_item): Take a sensitivity flag per menu item, and fall back to stock icons. (delete_addressbook_cb): Implement. (fill_popup_menu_callback): Reorder items, remove "remove" item, set sensitivity. * gui/component/ldap-config.glade: "Edit LDAP Server" -> "Addressbook Properties". svn path=/trunk/; revision=24168
* Added a dialog for adding a new IM account. Added the previously mentionedChristian Hammond2004-01-1210-43/+1595
| | | | | | | | | | | | | | | 2004-01-11 Christian Hammond <chipx86@gnupdate.org> * addressbook/gui/contact-editor/e-contact-editor-im.[ch], addressbook/gui/contact-editor/im.glade: Added a dialog for adding a new IM account. * addressbook/gui/contact-editor/Makefile.am: Added the previously mentioned files, and depend on camel for necessary MIME parsing. * addressbook/gui/contact-editor/contact-editor.[ch], addressbook/gui/contact-editor/contact-editor.glade: Add and implement svn path=/trunk/; revision=24162
* Update for API changes to e-book-asyncRoss Burton2004-01-095-32/+46
| | | | svn path=/trunk/; revision=24130
* Add the video conferencing fieldRoss Burton2004-01-093-3/+137
| | | | svn path=/trunk/; revision=24117
* Doh, fix my last entry, Fixes 51966 not 50660Rodney Dawes2004-01-081-1/+1
| | | | svn path=/trunk/; revision=24096
* Make the ESelectNames object be a HIG-compliant dialog, change "Folder" toRodney Dawes2004-01-083-270/+248
| | | | | | | | | | | | | 2004-01-07 Rodney Dawes <dobey@ximian.com> * gui/component/select-names/e-select-names.c: * gui/component/select-names/select-names.glade: Make the ESelectNames object be a HIG-compliant dialog, change "Folder" to be "Address Book", and fix a mnemonic conflict with "Category" and "Cancel" Fixes #50660 svn path=/trunk/; revision=24095
* Move the smime_component_init call to the instance init callback, ratherRodney Dawes2004-01-082-2/+10
| | | | | | | | | | 2004-01-07 Rodney Dawes <dobey@ximian.com> * gui/component/addressbook-component.c: Move the smime_component_init call to the instance init callback, rather than the class init, and wrap it in #if HAVE_NSS, so the addressbook works without smime support svn path=/trunk/; revision=24092
* link in printer stuffJP Rosevear2004-01-072-0/+7
| | | | | | | | | | 2004-01-07 JP Rosevear <jpr@ximian.com> * gui/component/Makefile.am: link in printer stuff Fixes #51172 svn path=/trunk/; revision=24087
* remove spew. (migrate_contacts): same. (migrate_contact_folder): same.Chris Toshok2004-01-072-11/+10
| | | | | | | | | | | | 2004-01-06 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-migrate.c (check_for_conflict): remove spew. (migrate_contacts): same. (migrate_contact_folder): same. (migrate_local_folders): same, and plug a leak. svn path=/trunk/; revision=24080
* add addressbook-migrate.[ch].Chris Toshok2004-01-076-46/+658
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-06 Chris Toshok <toshok@ximian.com> * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): add addressbook-migrate.[ch]. * gui/component/addressbook-component.c (addressbook_component_init): remove the source creation from here, it's in the migration code now. (impl_upgradeFromVersion): new function, call the addressbook-migration stuff. (addressbook_component_class_init): fill in epv->upgradeFromVersion, and call smime_component_init. (addressbook_component_peek_base_directory): new function. (addressbook_component_peek_source_list): same. * gui/component/addressbook-component.h: add prototypes for _peek_base_directory and _peek_source_list. * gui/component/addressbook-migrate.[ch]: add migration code to convert stuff from 1.x over to 1.5/2.0. svn path=/trunk/; revision=24079
* Apply patch from Roozbeh Pournader to update countries listRodney Dawes2004-01-072-4/+19
| | | | | | | | | | | 2004-01-06 Rodney Dawes <dobey@ximian.com> * gui/contact-editor/e-contact-editor-address.c: Apply patch from Roozbeh Pournader to update countries list Fixes #48151 svn path=/trunk/; revision=24076
* disconnect from selection-done signalJP Rosevear2004-01-072-0/+7
| | | | | | | | | 2004-01-06 JP Rosevear <jpr@ximian.com> * gui/component/select-names/e-select-names-popup.c (popup_info_cleanup): disconnect from selection-done signal svn path=/trunk/; revision=24075
* these line breaks in the error messages should actually be spacesJP Rosevear2004-01-062-9/+17
| | | | | | | | | | | | 2004-01-05 JP Rosevear <jpr@ximian.com> * gui/component/addressbook.c (addressbook_show_load_error_dialog): these line breaks in the error messages should actually be spaces Fixes #51732 svn path=/trunk/; revision=24047
* Impl. from calendar. (save_primary_selection): Implement, similar toHans Petter Jansson2003-12-202-0/+77
| | | | | | | | | | | | | 2003-12-19 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-component.c (find_first_source): Impl. from calendar. (save_primary_selection): Implement, similar to calendar. (load_primary_selection): Implement, similar to calendar. (primary_source_selection_changed_callback): Save selection. (impl_createControls): Load selection. svn path=/trunk/; revision=23991
* editable -> target_editable (e_contact_editor_get_property): Same.Hans Petter Jansson2003-12-193-29/+92
| | | | | | | | | | | | | | | | | | | | | | | 2003-12-18 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (widget_changed): editable -> target_editable (e_contact_editor_get_property): Same. (_email_arrow_pressed): Same. (enable_writable_fields): Same. (set_editable): Same. (contact_added_cb): Make sure source book is editable before trying to remove contact from there. (e_contact_editor_init): Set up source/target editability. (command_state_changed): Allow save only if target editable. Allow delete only if source editable. (e_contact_editor_set_property): Set editability flags for source/target. * gui/contact-editor/e-contact-editor.h: Add source_editable, target_editable flags in place of old editable flag. svn path=/trunk/; revision=23986
* install the "source" property. (eab_view_init): init eav->source to NULL.Chris Toshok2003-12-184-388/+693
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-17 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-view.c (eab_view_class_init): install the "source" property. (eab_view_init): init eav->source to NULL. (eab_view_dispose): disconnect the ecml_changed_id and unref source. (eab_view_new): create the search bar here. (view_preview): c&p the mailer's code mostly for this - this is the toggle listener for the Preview Pane menuitem. (setup_menus): add a listener for the ContactsViewPreview toggle. (eab_view_set_property): sensitize the search bar based on whether or not we have a book set. This makes it so you can't search until the book is loaded. Also add handling for the "source" attribute and print a warning when it's set multiple times (something that's not supported at the moment.) (eab_view_get_property): add "source" case. (search_activated, query_changed, compare_subitems, make_subitems, ecml_changed, get_master_list, connect_master_list_changed): move this here from addressbook.c (eab_view_show_contact_preview): implement - just show or hide the scrolled window. (eab_view_setup_menus): call e_search_bar_set_ui_component here, kind of a hack. * gui/widgets/e-addressbook-view.h: make this inherit from GtkVBox instead of GtkEventBox since we'll be packing children. Add a prototype for eab_view_show_contact_preview. * gui/component/addressbook.c (get_current_view): return the EABView associated with the active notebook page. (save_contact_cb): use the current view. (view_contact_cb): same. (search_cb): same. (delete_contact_cb): same. (print_cb): same. (print_preview_cb): same. (stop_loading_cb): same. (cut_contacts_cb): same. (copy_contacts_cb): same. (paste_contacts_cb): same. (select_all_contacts_cb): same. (send_contact_cb): same. (send_contact_to_cb): same. (copy_contact_to_cb): same. (move_contact_to_cb): same. (update_command_state): same. (change_view_type): nuke, nothing uses this. (control_activate): use the current view. (control_activate_cb): same. (source_list_changed_cb): new function, remove the notebook pages (and destroy the EABView's) for sources that no longer exist. (addressbook_view_clear): dispose of the uid_to_view hash. (book_open_cb): store the ESource on the EABView too. this function now takes a struct containing both EABView and ESource since we can't store either in the AddressbookView. (set_prop): if we have a view already for this uid, bring it up. otherwise create a new one and start the book loading. (addressbook_search_activated): nuked - this is being moved to e-addressbook-view. (addressbook_query_changed): same. (compare_subitems, make_subitems, ecml_changed, connect_master_list_changed): same. (addressbook_new_control): simplify things a bunch. create a notebook to store the views in. the search/vbox stuff is gone. use e_source_list_new_for_gconf_default, and handle the source list's "changed" signal. svn path=/trunk/; revision=23971
* Embed Tree in GtkScrolledWindowRodney Dawes2003-12-182-1/+17
| | | | | | | | | 2003-12-17 Rodney Dawes <dobey@ximian.com> * gui/component/autocompletion-config.c: (autocompletion_config_control_new): Embed Tree in GtkScrolledWindow svn path=/trunk/; revision=23970
* Update the contact's UID after normal add.Hans Petter Jansson2003-12-172-0/+7
| | | | | | | | | 2003-12-16 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (contact_added_cb): Update the contact's UID after normal add. svn path=/trunk/; revision=23959
* Make a public function that shows an error dialog, which can be used whenHans Petter Jansson2003-12-175-93/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-16 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook.c (addressbook_show_load_error_dialog): Make a public function that shows an error dialog, which can be used when a source fails to load. (book_open_cb): Call addressbook_show_load_error_dialog () on error. (set_prop): Don't reuse the book when loading a new source. This was confusing the contact-editor, which gets the book passed in. * gui/contact-editor/e-contact-editor.c (e_contact_editor_class_init): Make "source_book" and "target_book" distinct properties. (new_target_cb): Implement. (source_selected): Implement. (contact_moved_cb): Implement. (contact_added_cb): Handle the case where source_book != target_book as a move - if the add was successful, remove contact from source book. (save_contact): Handle case where source_book != target_book. (delete_cb): "book" renamed to "source_book". (e_contact_editor_init): Set up source_selected signal. (e_contact_editor_dispose): Dispose of both source and target books. (e_contact_editor_new): "book" renamed to "source_book". (e_contact_editor_set_property): If a source book is set, and we don't have a target book, make target_book == source_book. Allow setting target book, and base editability on that. If we're editing an existing contact, treat book change as a change, and update command state. (e_contact_editor_get_property): Allow getting target book. (set_source_field): Indicate the selected book. svn path=/trunk/; revision=23958
* Implement. Makes the source menu reflect the source for the current book.Hans Petter Jansson2003-12-172-0/+19
| | | | | | | | | 2003-12-16 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (set_source_field): Implement. Makes the source menu reflect the source for the current book. svn path=/trunk/; revision=23955
* Implement. Creates source selection option menu.Hans Petter Jansson2003-12-173-0/+75
| | | | | | | | | | | | | 2003-12-16 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (e_contact_editor_create_source_option_menu): Implement. Creates source selection option menu. * gui/contact-editor/contact-editor.glade: Add source selection custom widget. svn path=/trunk/; revision=23953
* Disable cell editing.Hans Petter Jansson2003-12-172-0/+7
| | | | | | | | | 2003-12-16 Hans Petter Jansson <hpj@ximian.com> * gui/widgets/e-addressbook-table-adapter.c (addressbook_is_cell_editable): Disable cell editing. svn path=/trunk/; revision=23951
* Implement. (text_to_address): Implement, using EAddressWestern.Hans Petter Jansson2003-12-163-76/+191
| | | | | | | | | | | | | | | | | | | | | | 2003-12-15 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor.c (address_to_text): Implement. (text_to_address): Implement, using EAddressWestern. (address_text_changed): Adapt to EContactAddress. (full_addr_clicked): Ditto. Fix field IDs. (e_contact_editor_init): Init address_choice. (_email_arrow_pressed): Fix field IDs. (_address_arrow_pressed): Adapt to EContactAddress and fix field IDs. (find_address_mailing): Leave out for now. Addresses don't have flags anymore... (set_fields): Adapt to EContactAddress and fix field IDs. Make sure changes to other widgets don't make us go back to the first listed address. (set_address_field): Adapt to EContactAddress and fix field IDs. (enable_writable_fields): Ditto. (fill_in_info): Disable find_address_mailing () for now. svn path=/trunk/; revision=23947
* Make "address" a boxed type. (e_contact_editor_address_init): Set addressHans Petter Jansson2003-12-113-49/+59
| | | | | | | | | | | | | | | | | | | | 2003-12-10 Hans Petter Jansson <hpj@ximian.com> * gui/contact-editor/e-contact-editor-address.c (e_contact_editor_address_class_init): Make "address" a boxed type. (e_contact_editor_address_init): Set address to NULL. (e_contact_editor_address_dispose): Free address. (e_contact_editor_address_new): Take an EContactAddress. (e_contact_editor_address_set_property): Re-implement setting the address property. (e_contact_editor_address_get_property): Ditto for getting. (fill_in_info): Enable, use EContactAddress fields. (extract_info): Ditto. * gui/contact-editor/e-contact-editor-address.h: Re-enable the address field, as EContactAddress. svn path=/trunk/; revision=23923
* free email list properlyJP Rosevear2003-12-102-2/+7
| | | | | | | | | 2003-12-09 JP Rosevear <jpr@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c (fill_in_info): free email list properly svn path=/trunk/; revision=23901
* free the list, not unref it, and free the elementsJP Rosevear2003-12-102-2/+9
| | | | | | | | | | | 2003-12-09 JP Rosevear <jpr@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c (extract_info): free the list, not unref it, and free the elements Fixes #51976 svn path=/trunk/; revision=23900
* change prototype to fix warning, and change the comment to readChris Toshok2003-12-0710-102/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-06 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-manager.c (open_book_cb): change prototype to fix warning, and change the comment to read load_source instead of load_uri (which isn't what we use anymore.) (update_completion_books): just use our source list for this. check the "completion" source property. (source_list_changed): recreate the completion books. (e_select_names_manager_init): connect to the source_list's changed signal. (e_select_names_manager_dispose): don't need to free the completion_uids list anymore. * gui/component/select-names/e-select-names-config.c (e_select_names_config_get_completion_books, e_select_names_config_set_completion_books, e_select_names_config_add_notification_completion_books): remove. * gui/component/select-names/e-select-names-config.h: remove the completion books calls, since we can just use the source list. * gui/component/component-factory.c (factory): create the autocompletion control. * gui/component/autocompletion-config.[ch]: new config control for selecting completion folders. Uses e-source-selector. Could probably be beautified a bit. * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): add autocompletion-config.[ch] * gui/component/GNOME_Evolution_Addressbook.server.in.in: remove the ldap config control server, and add the autocompletion one. svn path=/trunk/; revision=23663
* Remove hard coded disable deprecated flagsJP Rosevear2003-12-0710-27/+5
| | | | | | | | 2003-12-06 JP Rosevear <jpr@ximian.com> * */Makefile.am: Remove hard coded disable deprecated flags svn path=/trunk/; revision=23658
* no more custom widget for the selection of the search sourceJP Rosevear2003-12-0612-209/+439
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-05 JP Rosevear <jpr@ximian.com> * gui/component/select-names/select-names.glade: no more custom widget for the selection of the search source * gui/component/select-names/e-select-names.h: add member * gui/component/select-names/e-select-names.etspec: update model column * gui/component/select-names/e-select-names.c (find_first_source): find the first source in the list (addressbook_model_set_source): we have the source to set directly now (source_selected): listen for the source item to change (e_select_names_init): create a source option menu and hook it up (e_select_names_dispose): destroy the source list (e_select_names_new): do away with the config setup here * gui/component/select-names/e-select-names-manager.h: update members * gui/component/select-names/e-select-names-manager.c (update_completion_books): add books based on source uid (config_completion_books_changed_cb): handle the completion list changing (config_min_query_length_changed_cb): handle minimum query length changing (e_select_names_manager_new): we don't do the settings stuff here any more (e_select_names_manager_init): do the initial set up here for the book loaded and listen for changes (e_select_names_manager_dispose): destroy the new stuff * gui/component/select-names/e-select-names-config.[hc]: config information * gui/component/select-names/e-select-names-config-keys.h: the config keys * gui/component/select-names/e-select-names-bonobo.c (impl_SelectNames_activate_dialog): do away with the shell client stuff * gui/component/select-names/Makefile.am: build new files svn path=/trunk/; revision=23654
* call remove_book_view/free_data here as well, to guard against multipleChris Toshok2003-12-062-0/+9
| | | | | | | | | | 2003-12-05 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-model.c (book_view_loaded): call remove_book_view/free_data here as well, to guard against multiple book_view's being loaded. svn path=/trunk/; revision=23652
* Clean up and sync with current model columns.Hans Petter Jansson2003-12-052-48/+54
| | | | | | | | | 2003-12-05 Hans Petter Jansson <hpj@ximian.com> * gui/widgets/e-addressbook-view.etspec: Clean up and sync with current model columns. svn path=/trunk/; revision=23644
* (retrieve_shell_view_interface_from_control): Remove.Ettore Perazzoli2003-12-042-60/+7
| | | | | | | (set_folder_bar_label): Remove. (addressbook_new_control): Don't connect. svn path=/trunk/; revision=23613
* Do not depend on e-folder-list.Ettore Perazzoli2003-12-038-19/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-config.c: Do not depend on e-folder-list. * gui/component/select-names/e-select-names.c: Remove dependency on evolution-folder-selector-button. (e_addressbook_create_folder_selector): Just return a FIXME label for now. (folder_selected): #if 0 out. (e_select_names_init): Do not connect. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_activate_dialog): Don't get a shell_client arg anymore. (load_completion_books): Stub out. * gui/component/select-names/e-select-names.c (e_select_names_new): Don't get an EvolutionShellClient anymore. Don't create the folder selector button for now. * gui/component/select-names/e-select-names.h: Remove dependency on evolution-shell-client. * gui/component/select-names/e-select-names-bonobo.c: Remove dependency on evolution-shell-client. (impl_SelectNames_activate_dialog): Stub out. * gui/widgets/eab-gui-util.c: Remove dependency on evolution-shell-client. (eab_transfer_contacts): Stub out. * gui/main.c: Do not #include <evolution-shell-client.h>. * gui/e-itip-control.c: Do not #include <e-folder-selector-button.h> nor <evolution-shell-client.h>. (start_default_server): Return FALSE. (default_server_started_cb): Do not connect the "selected" signal on the button since it's now NULL. (button_selected_cb): #if 0 out. * gui/e-cal-list-view.h: Do not #include "evolution-activity-client.h". * gui/tasks-component.c (impl_createControls): Give an empty label for the status bar. * gui/e-day-view.h: Remove all deps on evolution-activity-client. svn path=/trunk/; revision=23596
* Version the schemas Removed AddedRodney Dawes2003-12-023-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 Rodney Dawes <dobey@ximian.com> * gui/component/Makefile.am: Version the schemas * gui/component/apps_evolution_addressbook.schemas: Removed * gui/component/apps_evolution_addressbook.schemas.in.in: Added 2003-12-02 Rodney Dawes <dobey@ximian.com> * gui/Makefile.am: Version the schemas * gui/apps_evolution_calendar.schemas: Removed * gui/apps_evolution_calendar.schemas.in.in: Added 2003-12-02 Rodney Dawes <dobey@ximian.com> * Makefile.am: Version the schemas * evolution-mail.schemas: Removed * evolution-mail.schemas.in.in: Added 2003-12-02 Rodney Dawes <dobey@ximian.com> * Makefile.am: Version the schemas * apps_evolution_shell.schemas: Removed * apps_evolution_shell.schemas.in.in: Added svn path=/trunk/; revision=23579
* (set_status_message): CallEttore Perazzoli2003-12-022-1/+10
| | | | | | | e_activity_handler_operation_finished() on the current activity ID when done. svn path=/trunk/; revision=23564
* Fix silly.Ettore Perazzoli2003-12-021-2/+1
| | | | svn path=/trunk/; revision=23561
* Replace activity_client with activity_id. (set_status_message): Use theEttore Perazzoli2003-12-024-29/+62
| | | | | | | | | | | | | | | | | * gui/component/addressbook.c (struct AddressbookView): Replace activity_client with activity_id. (set_status_message): Use the EActivityHandler from the AddressbookComponent. * gui/component/addressbook-component.c (struct _AddressbookComponentPrivate): New member activity_handler. (addressbook_component_init): Init. (impl_dispose): Unref. (addressbook_component_peek_activity_handler): New. (impl_createControls): Return an ETaskBar as the statusbar control and attach it to the activity handler. svn path=/trunk/; revision=23560
* Pass a label for the status bar control for now.Ettore Perazzoli2003-12-022-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/calendar-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/tasks-component.c (impl_createControls): Pass a label for the status bar control for now. * mail-component.c (impl_createControls): Pass a label for the status bar control for now. * e-shell.c (struct _EShellPrivate): Remove member activity_handler. (setup_activity_interface): Remove. (e_shell_init): Don't call. (create_window): Don't attach the task bar to the activity handler. * e-shell-window.c (struct _ComponentView): New member statusbar_widget. (struct _EShellWindowPrivate): Remove member task_bar. (init_view): Get the status bar control from createControls and put it in the ComponentView struct. (setup_task_bar): New. (setup_statusbar_notebook): New. (switch_view): Switch the statusbar notebook too. (impl_dispose): Add missing GTK_OBJECT() cast. (e_shell_window_peek_task_bar): Remove. * Evolution-Component.idl (Component::createControls): New out arg "statusbar_control"; this way components can provide their own status bar. * e-activity-handler.c, e-activity-handler.h: Turn into a plain GObject; translate all the CORBA methods into plain C methods. * Makefile.am: Move e-activity-handler to libeshell instead of it being in the shell. svn path=/trunk/; revision=23555
* remove stray conflict markerLarry Ewing2003-12-021-1/+0
| | | | svn path=/trunk/; revision=23554
* remove GTK_DISABLED_DEPRECATED so that we can build with gtk-2.3.Larry Ewing2003-12-022-1/+6
| | | | | | | | | 2003-12-01 Larry Ewing <lewing@ximian.com> * gui/component/Makefile.am (INCLUDES): remove GTK_DISABLED_DEPRECATED so that we can build with gtk-2.3. svn path=/trunk/; revision=23553
* Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill theRodney Dawes2003-12-0210-40/+53
| | | | | | | | | | 2003-12-01 Rodney Dawes <dobey@ximian.com> * Use BASE_VERSION for repo_ids and OAFIIDs * Update killev to kill the correct versions of gnome-spell and the GtkHTML Editor svn path=/trunk/; revision=23543
* Fix start page text.Hans Petter Jansson2003-12-022-3/+14
| | | | | | | | 2003-12-01 Hans Petter Jansson <hpj@ximian.com> * gui/component/ldap-config.glade: Fix start page text. svn path=/trunk/; revision=23541
* use privconduitdirJP Rosevear2003-12-023-3/+9
| | | | | | | | | | 2003-12-01 JP Rosevear <jpr@ximian.com> * conduit/Makefile.am: use privconduitdir * conduit/e-address.conduit.in: subst right thing svn path=/trunk/; revision=23537
* specify privlibdir as the locationJP Rosevear2003-12-023-4/+9
| | | | | | | | | | 2003-12-01 JP Rosevear <jpr@ximian.com> * conduit/e-address.conduit.in: specify privlibdir as the location * conduit/Makefile.am: install the conduit to privlibdir svn path=/trunk/; revision=23532
* version the .conduit fileJP Rosvear2003-12-022-8/+13
| | | | | | | | 2003-12-01 JP Rosvear <jpr@ximian.com> * conduit/Makefile.am: version the .conduit file svn path=/trunk/; revision=23531
* Remove this too.Hans Petter Jansson2003-12-012-194/+1
| | | | | | | | | | 2003-12-01 Hans Petter Jansson <hpj@ximian.com> * gui/component/new-addressbook.glade: Remove this too. * gui/component/Makefile.am (glade_DATA): Remove new-addressbook.glade. svn path=/trunk/; revision=23522
* Remove addressbook-storage.[ch] and new-addressbook.[ch].Hans Petter Jansson2003-12-0115-2073/+1003
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-01 Hans Petter Jansson <hpj@ximian.com> * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): Remove addressbook-storage.[ch] and new-addressbook.[ch]. * gui/component/addressbook-storage.[ch]: Removed from repository. * gui/component/new-addressbook.[ch]: Removed from repository. * gui/component/addressbook-component.c (load_uri_for_selection): Set source_uid property on view control, not folder_uri. (new_addressbook_cb): Call addressbook_config_create_new_source (). (edit_addressbook_cb): Implement. (fill_popup_menu_callback): Hook up edit_addressbook_cb (). (addressbook_component_init): Create the LDAP source group. * gui/component/addressbook-config.c (AddressbookSourceDialog): Take out the NEW_ADVANCED_UI stuff and add ESource related vars. (ldap_unparse_auth) (ldap_parse_auth) (ldap_unparse_scope) (ldap_unparse_ssl) (ldap_parse_ssl): Moved here from addressbook-storage.c. (addressbook_dialog_get_source) (addressbook_dialog_set_source) (objectclasses_create_server_table) (objectclasses_create_evolution_table) (objectclasses_add_foreach) (objectclasses_add) (objectclasses_sever_double_click) (objectclasses_remove_foreach) (objectclasses_remove) (objectclasses_evolution_double_click) (objectclasses_restore_default) (server_selection_model_changed) (evolution_selection_model_changed) (setup_objectclasses_tab): Nuke aging, unfinished NEW_ADVANCED_UI. (add_source_clicked) (edit_source_clicked) (delete_server) (delete_source_clicked) (ldap_config_control_destroy_callback) (ldap_config_control_apply_callback) (sources_selection_changed) (sources_table_row_activated) (ldap_dialog_new) (addressbook_dialog_create_sources_table) (ldap_config_control_new) (addressbook_config_control_new): Nuke config control. (create_source_dir) (dialog_to_source) (dialog_to_temp_source) (source_to_uri_parts) (source_to_dialog) (source_group_changed_cb) (source_group_menu_add_groups) (folder_page_forward) (finish_page_back): Implement. (addressbook_ldap_init): Take ESource instead of AddressbookSource. (addressbook_ldap_auth): Don't take a source, not needed. (addressbook_root_dse_query): Ditto. (addressbook_source_dialog_destroy): Clean up destroy function. (addressbook_add_server_druid_finish): Clean up, create ESource. (general_tab_check): If it's not LDAP, these options don't matter. (do_ldap_root_dse_query): Source no longer needed here. (query_for_supported_bases): Use a temp source generated from current dialog settings. (display_name_page_prepare): Renamed to folder_page_prepare (). (druid_display_name_page_modify_cb): Renamed to druid_folder_page_modify_cb (). (addressbook_add_server_druid): Set up source list, group selector. Make LDAP pages optional, dependent on selected group. Use ESource. (edit_dialog_store_change): Remove config control list stuff, export settings to ESource. (addressbook_edit_server_dialog): Renamed to addressbook_config_edit_source (), which takes an ESource. Remove config control list stuff, make LDAP pages show up only if we have an LDAP source. Remove NEW_ADVANCED_UI cruft. (addressbook_config_create_new_source): Just call addressbook_add_server_druid (). * gui/component/addressbook-config.h: Move LDAP enums here, from addressbook-storage.h. * gui/component/addressbook.c (control_activate_cb): uri -> source (addressbook_view_clear): Unref source list. (book_open_cb): Use ESource. (load_uri_auth_cb): Renamed to load_source_auth_cb (), manipulate ESource instead of URI. (get_remember_password): Implement. (set_remember_password): Implement. (addressbook_authenticate): Use ESource properties. (load_uri_cb): Renamed to load_source_cb (), ESource adaptation. (addressbook_load_uri): Renamed to addressbook_load_source (), takes ESource. (addressbook_load_default_book): ESource adaptation. (get_prop): folder_uri property -> source_uid property. (set_prop): folder_uri property -> source_uid property. Find ESource by UID. (addressbook_new_control): Set up source_uid property and ESourceList. * gui/component/component-factory.c (factory): Disable config control. * gui/component/ldap-config.glade: Druid and notebook dialogs generalized to deal with local sources as well as LDAP. This file should probably be renamed... * gui/component/select-names/e-select-names-manager.c (load_completion_books): Use addressbook_load_source (). However, this needs a bit more work to get source UIDs instead of URIs. * gui/component/select-names/e-select-names.c (addressbook_model_set_uri): Use addressbook_load_source (). However, this needs a bit more work to get source UIDs instead of URIs. svn path=/trunk/; revision=23521
* turn on deprecated gtk and libgnomeui stuffJP Rosevear2003-11-264-4/+10
| | | | | | | | | | | | | | 2003-11-26 JP Rosevear <jpr@ximian.com> * gui/widgets/Makefile.am: turn on deprecated gtk and libgnomeui stuff * gui/component/select-names/Makefile.am: turn on deprecated gtk stuff * gui/contact-editor/Makefile.am: ditto svn path=/trunk/; revision=23492
* Store a ref to the source selector. (impl_requestCreateItem): Implement.Hans Petter Jansson2003-11-183-3/+112
| | | | | | | | | | | | | | | | 2003-11-17 Hans Petter Jansson <hpj@ximian.com> * gui/component/addressbook-component.c (impl_createControls): Store a ref to the source selector. (impl_requestCreateItem): Implement. (impl_dispose): Unref the source selector. (addressbook_component_init): Set up default sources. * gui/widgets/e-addressbook-model.c (eab_model_set_property): If the 'book' property is set, and editability changes, emit a signal to that effect. svn path=/trunk/; revision=23404
* use the server.mk file to get rules for building versioned .server filesJP Rosevear2003-11-172-4/+2
| | | | | | | | | | | 2003-11-17 JP Rosevear <jpr@ximian.com> * configure.in: use the server.mk file to get rules for building versioned .server files * */Makefile.am: use simplified rule subst svn path=/trunk/; revision=23387
* Oops.JP Rosevear2003-11-151-0/+4
| | | | svn path=/trunk/; revision=23368
* include e-source from e-d-sJP Rosevear2003-11-151-1/+1
| | | | | | | | 2003-11-14 JP Rosevear <jpr@ximian.com> * gui/component/new-addressbook.c: include e-source from e-d-s svn path=/trunk/; revision=23365
* Return TRUE for all cells, for now.Hans Petter Jansson2003-11-145-47/+57
| | | | | | | | | | | | | | | | | | | | | | 2003-11-13 Hans Petter Jansson <hpj@ximian.com> * gui/contact-list-editor/e-contact-list-model.c (contact_list_is_cell_editable): Return TRUE for all cells, for now. * gui/widgets/e-addressbook-table-adapter.c (card_modified_cb): Renamed to contact_modified_cb (). (addressbook_set_value_at): Port to use EContact instead of ECard. (addressbook_is_cell_editable): Ditto. (addressbook_append_row): Ditto. * gui/widgets/e-minicard-label.c (e_minicard_label_set_property): Make not editable, ever, and add a comment to this effect. (e_minicard_label_realize): Ditto. * gui/widgets/e-minicard.c (e_minicard_set_property): Ditto. (add_field): Ditto. svn path=/trunk/; revision=23348
* (impl__get_userCreatableItems): New, implementation for theEttore Perazzoli2003-11-132-1/+51
| | | | | | | | | userCreatableItems property. (impl_requestCreateItem): New, implementation for the requestCreateItem method. (addressbook_component_class_init): Install. svn path=/trunk/; revision=23325
* Add component_alias of "contacts".Ettore Perazzoli2003-11-132-0/+7
| | | | | | | Add component_alias of "contacts". svn path=/trunk/; revision=23301
* Add new-addressbook.[ch]. (glade_DATA): Add new-addressbook.glade.Hans Petter Jansson2003-11-096-1/+458
| | | | | | | | | | | | | | | | | | | | | 2003-11-08 Hans Petter Jansson <hpj@ximian.com> * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): Add new-addressbook.[ch]. (glade_DATA): Add new-addressbook.glade. * gui/component/addressbook-component.c (add_popup_menu_item): Implement. (new_addressbook_cb): Implement. (delete_addressbook_cb): Implement (skeletal). (fill_popup_menu_callback): Implement. (impl_createControls): Hook up fill_popup_menu_callback(). * gui/component/new-addressbook.[ch]: New files. * gui/component/new-addressbook.glade: New file. svn path=/trunk/; revision=23238
* Remove some includes of directories that don't exist any moreDan Winship2003-11-082-4/+5
| | | | | | | * util/Makefile.am (INCLUDES): Remove some includes of directories that don't exist any more svn path=/trunk/; revision=23231
* don't include the c marshaller file twiceJP Rosevear2003-11-073-2/+7
| | | | | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * gui/contact-editor/Makefile.am: don't include the c marshaller file twice * gui/widgets/Makefile.am: ditto svn path=/trunk/; revision=23221
* make sure the marshal header is in the source listJP Rosevear2003-11-075-2/+15
| | | | | | | | | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * gui/widgets/Makefile.am: make sure the marshal header is in the source list * gui/component/select-names/Makefile.am: ditto * gui/contact-editor/Makefile.am: ditto * gui/contact-list-editor/Makefile.am: ditto svn path=/trunk/; revision=23219
* Shush.JP Rosevear2003-11-072-4/+4
| | | | svn path=/trunk/; revision=23215
* No longer needed.JP Rosevear2003-11-071-6/+0
| | | | svn path=/trunk/; revision=23211
* dist the marshal listJP Rosevear2003-11-072-2/+9
| | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * util/Makefile.am: dist the marshal list svn path=/trunk/; revision=23210
* don't destroy the widget here - its dead when removed from the panedJP Rosevear2003-11-072-1/+6
| | | | | | | | | | 2003-11-07 JP Rosevear <jpr@ximian.com> * gui/widgets/e-addressbook-view.c (change_view_type): don't destroy the widget here - its dead when removed from the paned container svn path=/trunk/; revision=23207
* Various changes to merge in evolution-data-server reliance.JP Rosevear2003-11-07133-30443/+63
| | | | svn path=/trunk/; revision=23206
* Fix a castLarry Ewing2003-11-052-1/+5
| | | | svn path=/trunk/; revision=23189
* Update factory ID.Ettore Perazzoli2003-11-044-4/+12
| | | | | | | | | | * gui/component/select-names/e-select-names-factory.c: Update factory ID. * gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in: Version the SelectNames server IDs by appending a "_2". svn path=/trunk/; revision=23175
* Change "evolution:config_item" into "evolution2:config_item".Ettore Perazzoli2003-11-042-9/+14
| | | | | | | Change "evolution:config_item" into "evolution2:config_item". svn path=/trunk/; revision=23173
* set up vars and rules for versioning the .server filesJP Rosevear2003-10-312-11/+9
| | | | | | | | | | | | 2003-10-31 JP Rosevear <jpr@ximian.com> * configure.in: set up vars and rules for versioning the .server files * Makefile.am's: use rules for versioning .server file, ensure built files are removed before disting svn path=/trunk/; revision=23149
* add the S/MIME config control here.Chris Toshok2003-10-302-0/+29
| | | | | | | | | 2003-10-29 Chris Toshok <toshok@ximian.com> * gui/component/GNOME_Evolution_Addressbook.server.in.in: add the S/MIME config control here. svn path=/trunk/; revision=23126
* change the poa hint to PER_REQUEST. fixes a couple of deadlocks.Chris Toshok2003-10-302-1/+6
| | | | | | | | | 2003-10-29 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book-listener.c (e_book_listener_new): change the poa hint to PER_REQUEST. fixes a couple of deadlocks. svn path=/trunk/; revision=23125
* ifdef the smime code with HAVE_NSS.Chris Toshok2003-10-303-2/+17
| | | | | | | | | | | | 2003-10-29 Chris Toshok <toshok@ximian.com> * gui/component/component-factory.c (factory): ifdef the smime code with HAVE_NSS. * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): conditionally include libevolution-smime.la. svn path=/trunk/; revision=23124
* libpas should depend on libebook, but NOT on libpasfile, etc, since itDan Winship2003-10-242-2/+34
| | | | | | | | | | | * backend/pas/Makefile.am (libpas_la_LIBADD): libpas should depend on libebook, but NOT on libpasfile, etc, since it needs to be linked into all backends, not just the wombat. (libpasfile_la_LIBADD): depend on libpas.la and libedb3util.la (libpasvcf_la_LIBADD): depend on libpas.la (libpasldap_la_LIBADD): depend on libpas.la and $(LDAP_LIBS) svn path=/trunk/; revision=23062
* convert 8 spaces to a tab.Chris Toshok2003-10-245-1/+23
| | | | | | | | | | | | | | | | | | | 2003-10-23 Chris Toshok <toshok@ximian.com> * tools/Makefile.am: convert 8 spaces to a tab. * tools/.cvsignore: ignore evolution-addressbook-abuse and evolution-addressbook-clean. * gui/component/Makefile.am (libevolution_addressbook_la_LIBADD): add libevolution-smime.la. * gui/component/component-factory.c (factory): add the certificate manager config control stuff here, at least for now. * gui/component/GNOME_Evolution_Addressbook.server.in.in: same. svn path=/trunk/; revision=23048
* make it work with the new ebook apiJP Rosevear2003-10-2310-565/+402
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 003-10-21 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c: make it work with the new ebook api * backend/pas/pas-book.c (pas_book_respond_get_changes): put the vcard in for every change * backend/pas/pas-backend.c (pas_backend_change_add_new): just use the vcard field (pas_backend_change_modify_new): ditto (pas_backend_change_delete_new): ditto * backend/pas/pas-backend-file.c (pas_backend_file_changes_foreach_key): create a fake contact with the uid (pas_backend_file_get_changes): add the card to the changes * backend/ebook/tests/ebook/test-changes.c (main): just print the uid * backend/ebook/e-book.c (e_book_free_change_list): unref the contact * backend/ebook/e-book-types.h: the change struct contains an EContact now * backend/ebook/e-book-listener.c (impl_BookListener_respond_get_changes): create the contact from the vcard string * backend/idl/addressbook.idl: Book change item is no longer a union, it always gives back a card svn path=/trunk/; revision=23031
* fixed typo in variable name.Rodrigo Moya2003-10-232-1/+6
| | | | | | | | | 2003-10-23 Rodrigo Moya <rodrigo@ximian.com> * gui/component/addressbook-config.c (addressbook_dialog_create_source_table): fixed typo in variable name. svn path=/trunk/; revision=23028
* Add an "evolution:button_icon" attribute.Ettore Perazzoli2003-10-232-0/+6
| | | | | | | Add an "evolution:button_icon" attribute. svn path=/trunk/; revision=23024
* Add an "evolution:button_sort_order" property.Ettore Perazzoli2003-10-232-0/+6
| | | | | | | Add an "evolution:button_sort_order" property. svn path=/trunk/; revision=23016
* use the synchronous api for this. simplifies it a bunch.Chris Toshok2003-10-2318-259/+451
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-21 Chris Toshok <toshok@ximian.com> * tools/evolution-addressbook-abuse.c: use the synchronous api for this. simplifies it a bunch. 2003-10-21 Chris Toshok <toshok@ximian.com> * backend/pas/pas-book.c (impl_GNOME_Evolution_Addressbook_Book_remove): we can ill afford bad debug spew. (view_listener_died_cb): implement. (impl_GNOME_Evolution_Addressbook_Book_getBookView): hook up an ORBit_small connection listener on the view's listener. (pas_book_respond_create): use e_contact_get_const instead of e_contact_get here. fixes a leak. * backend/pas/pas-book-view.c (impl_GNOME_Evolution_Addressbook_BookView_stop): implement, call pas_backend_stop_book_view. (pas_book_view_get_listener): return the book view's listener. (pas_book_view_class_init): fill in epv->stop. (pas_book_view_init): use a #define for THRESHOLD_MAX instead of the constant. * backend/pas/pas-book-view.h: add prototype for pas_book_view_get_listener. * backend/pas/pas-backend.c (pas_backend_stop_book_view): implement. (pas_backend_remove_book_view): implement. * backend/pas/pas-backend.h: add prototype for stop_book_view and remove_book_view. * backend/pas/pas-backend-vcf.c (load_file): pass in the fd and use fdopen here. (foreach_build_list): don't creat EContacts here, because we'll just be converting them back to vcards anyway. (save_file): use char*'s instead of EContacts, and split entries with 2 blank lines. Also, hold the lock over the entire function. (do_create): hold the lock around uid generation and touching the hash table. (pas_backend_vcf_process_remove_contacts): same. (pas_backend_vcf_process_modify_contact): same. (pas_backend_vcf_stop_book_view): new function, but leave unimplemented for now. (pas_backend_vcf_load_uri): the uri contains the directory name, not the filename. (pas_backend_vcf_dispose): grab the lock here just for sanity's sake. Also reorder things a bit, and free the hashtable and mutex. (pas_backend_vcf_init): init the mutex. * backend/pas/pas-backend-summary.c (pas_backend_summary_add_contact): don't unref the contact here. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_process_stop_book_view): new function, but leave unimplemented for now. * backend/pas/pas-backend-file.c (build_summary): use an EContact for this call. (do_summary_query): nuke, the contents of this has been moved to start_book_view. (pas_backend_file_search_timeout): same. (pas_backend_file_search): same. (pas_backend_file_start_book_view): glom everything into here involving searching. This function could (and should) be renamed and reused from both this function and _get_contact_list. (pas_backend_file_stop_book_view): new function. (pas_backend_file_class_init): fill in backend->stop_book_view. * backend/pas/Makefile.am (LDAP_BACKEND): libpasldap.a -> libpasldap.la (noinst_LTLIBRARIES): *.a -> *.la. (libpas_la_SOURCES): same. (libpasfile_la_SOURCES): same. (libpasvcf_la_SOURCES): same. (libpasldap_la_SOURCES): same. * backend/idl/addressbook.idl: add BookView::stop. * backend/ebook/e-vcard.c (read_attribute_value): fix GString related leaks. (read_attribute_params): same. (parse): don't leak the EVCardAttributes corresponding to BEGIN/END:vCard. (free_gstring): new function (e_vcard_attribute_remove_values): free the decoded_values list, using free_gstring. * backend/ebook/e-book.c (e_book_response_get_book_view): ref the listener here. * backend/ebook/e-book-view.h: add prototype for e_book_view_stop. * backend/ebook/e-book-view.c (e_book_view_stop): new function. * backend/ebook/e-book-async.c (_get_book_view_response_dtor): unref the book view. svn path=/trunk/; revision=23000
* Make the the scrolled window have an "in" shadow. Likewise. Likewise.Ettore Perazzoli2003-10-234-0/+13
| | | | | | | | | | | * gui/component/addressbook-component.c (impl_createControls): Make the the scrolled window have an "in" shadow. * gui/component/addressbook-config.c (addressbook_dialog_create_sources_table): Likewise. * gui/widgets/e-addressbook-view.c (create_minicard_view): Likewise. (create_treeview_view): Likewise. svn path=/trunk/; revision=22996
* (impl_createControls): SetEttore Perazzoli2003-10-232-0/+8
| | | | | | | the GtkScrolledWindow scrollbar policy to "automatic" for both the horizontal and the vertical scrollbar. svn path=/trunk/; revision=22990
* Add an "evolution:button_label" property on the component for use in theEttore Perazzoli2003-10-232-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * gui/GNOME_Evolution_Calendar.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * GNOME_Evolution_Mail.server.in.in: Add an "evolution:button_label" attribute to the Component for use in the shell. * e-shell-window.c (struct _ComponentView): New member button_id. (struct _EShellWindowPrivate): New member sidebar. (component_new_new): Get a button_id arg. (component_button_clicked_callback): Removed. (sidebar_button_selected_callback): New. (create_component_button): Removed. (setup_widget): Set up the sidebar using ESidebar and hook up its "button_selected" signal. Also get the component name from a property on the server info. (e_shell_window_new): Use BASE_VERSION for the version in the app name instead of hardcoding "1.5". * e-sidebar.c: New. * e-sidebar.h: New. svn path=/trunk/; revision=22988
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-22180-19544/+19832
| | | | svn path=/trunk/; revision=22965
* remove the "addressbook.db.summary" correctly. #48538Gilbert Fang2003-09-192-3/+11
| | | | | | | | | 2003-09-19 Gilbert Fang <gilbert.fang@sun.com> * addressbook/gui/component/addressbook-component.c (xfer_folder): remove the "addressbook.db.summary" correctly. #48538 svn path=/trunk/; revision=22624
* Remove libebook-static.laDan Winship2003-09-113-14/+13
| | | | | | | | | | | * backend/ebook/Makefile.am (privlib_LTLIBRARIES): Remove libebook-static.la * conduit/Makefile.am (libeaddress_conduit_la_LIBADD): Use non-static versions of libraries: the static ones were only needed for libtool 1.3. svn path=/trunk/; revision=22515
* duplicate the extra address linesJP Rosevear2003-08-272-1/+6
| | | | | | | | | 2003-08-26 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (ecard_from_remote_record): duplicate the extra address lines svn path=/trunk/; revision=22370
* use memcpy to assign CORBA_char_sequence instead of strcpy. (#46706)Gilbert Fang2003-08-202-1/+7
| | | | | | | | | | 2003-08-20 Gilbert Fang <gilbert.fang@sun.com> * gui/widgets/e-addressbook-util.c (e_addressbook_send_card_list): use memcpy to assign CORBA_char_sequence instead of strcpy. (#46706) svn path=/trunk/; revision=22305
* unref the EComponentListener before unloading the CORBA object.Rodrigo Moya2003-08-162-6/+11
| | | | | | | | | 2003-08-12 Rodrigo Moya <rodrigo@ximian.com> * backend/ebook/e-book.c (e_book_dispose): unref the EComponentListener before unloading the CORBA object. svn path=/trunk/; revision=22248
* Chain.Hans Petter Jansson2003-08-1414-14/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-08-12 Hans Petter Jansson <hpj@ximian.com> * backend/ebook/e-destination.c (e_destination_dispose): Chain. * gui/component/e-address-widget.c (e_address_widget_destroy): Chain. Prevent double frees. Prevent double GSource removal. * gui/component/e-cardlist-model.c (e_cardlist_model_class_init): Store parent class. (e_cardlist_model_dispose): Chain. Prevent double frees and unrefs. * gui/contact-editor/e-contact-editor-address.c (e_contact_editor_address_dispose): Chain. * gui/contact-editor/e-contact-editor-fullname.c (e_contact_editor_fullname_dispose): Chain. * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_dispose): Chain. * gui/contact-list-editor/e-contact-list-model.c (contact_list_model_destroy): Chain. Prevent double frees and unrefs. * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_dispose): Chain. (addressbook_finalize): Chain. * gui/widgets/e-addressbook-table-adapter.c (addressbook_dispose): Chain. * gui/widgets/e-addressbook-treeview-adapter.c (addressbook_destroy): Chain. Prevent double free. * gui/widgets/gal-view-minicard.c (gal_view_minicard_dispose): Chain. Prevent double free and detach. * gui/widgts/gal-view-treeview.c (gal_view_treeview_dispose): Chain. Prevent double free and detach. * printins/e-contact-print-style-editor.c (e_contact_print_stule_editor_destroy): Chain. Prevent double unref. svn path=/trunk/; revision=22229
* deal with "uses_list". Fixes #30839. (e_contact_print_dialog_new): useChris Toshok2003-07-282-9/+44
| | | | | | | | | | | | | | 2003-07-23 Chris Toshok <toshok@ximian.com> * printing/e-contact-print.c (e_contact_print_response): deal with "uses_list". Fixes #30839. (e_contact_print_dialog_new): use GINT_TO_POINTER instead of casting to void*, and set "uses_list" to FALSE. (e_contact_print_card_dialog_new): same. (e_contact_print_card_list_dialog_new): same, but set "uses_list" to TRUE. svn path=/trunk/; revision=21987
* fix a typo.Chris Toshok2003-07-282-1/+5
| | | | | | | | 2003-07-23 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book.c (e_book_dispose): fix a typo. svn path=/trunk/; revision=21985
* Use 'Sans' instead of 'Helvetica' for the font name. Likewise.Akira TAGOH2003-07-253-6/+12
| | | | | | | | | | 2003-07-22 Akira TAGOH <tagoh@redhat.com> * printing/e-contact-print-envelope.c (ecpe_print): Use 'Sans' instead of 'Helvetica' for the font name. * printing/e-contact-print.c (e_contact_build_style): Likewise. svn path=/trunk/; revision=21962
* use EVO_MARSHAL_RULE Likewise Likewise Likewise Likewise LikewiseDan Winship2003-07-249-81/+28
| | | | | | | | | | | | | | | | | | * backend/ebook/Makefile.am: use EVO_MARSHAL_RULE * backend/pas/Makefile.am: Likewise * gui/component/select-names/Makefile.am: Likewise * gui/contact-editor/Makefile.am: Likewise * gui/contact-list-editor/Makefile.am: Likewise * gui/widgets/Makefile.am: Likewise * gui/contact-editor/e-contact-editor.c (e_contact_editor_class_init): s/ece_marshal/e_contact_editor_marshal/ * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_class_init): Likewise for ecle_marshal svn path=/trunk/; revision=21913
* Remove gtk_window_set_policy call since that function is deprecated and itDan Winship2003-07-233-1/+11
| | | | | | | | | | | | * gui/search/e-addressbook-search-dialog.c (e_addressbook_search_dialog_init): Remove gtk_window_set_policy call since that function is deprecated and it was just setting everything to the default values anyway. * gui/widgets/e-addressbook-util.c: #include gal/util/e-util.h for e_free_object_list. svn path=/trunk/; revision=21904
* Make the "vcard" arg const. ...: add lots and lots of other consts as aDan Winship2003-07-223-96/+102
| | | | | | | | * backend/ebook/e-card.c: (e_card_new, e_card_new_with_default_charset): Make the "vcard" arg const. ...: add lots and lots of other consts as a side effect svn path=/trunk/; revision=21888
* disconnect from model signals to prevent a race condition at shutdownDan Winship2003-07-186-6/+53
| | | | | | | | | | | | | | | | | | | | | | * gui/widgets/e-addressbook-view.c (e_addressbook_view_dispose): disconnect from model signals to prevent a race condition at shutdown where the view gets destroyed and then the model notices the backend dying before being destroyed itself. * gui/widgets/e-addressbook-reflow-adapter.c (addressbook_finalize): add, to free priv. (e_addressbook_reflow_adapter_class_init): set it up * gui/component/e-address-popup.c (e_address_popup_set_free_form): Don't leak strings * gui/component/addressbook-storage.c (load_source_data): don't leak xml data. * gui/component/addressbook-component.c (new_item_cb): don't leak the new card. svn path=/trunk/; revision=21858
* new function, override the event handler for focus_in_event, set the firstGilbert Fang2003-06-262-0/+32
| | | | | | | | | | | 2003-06-25 Gilbert Fang <gilbert.fang@sun.com> * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_real_focus_in_event): new function, override the event handler for focus_in_event, set the first item be focused if no focused item at all. Fixes bug 41826. svn path=/trunk/; revision=21547
* in the EUrlEntry case just reassign widget. it'll be handled by theChris Toshok2003-06-242-1/+8
| | | | | | | | | | 2003-06-18 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (fill_in_field): in the EUrlEntry case just reassign widget. it'll be handled by the GtkEditable code below. Fixes #43841. svn path=/trunk/; revision=21514
* Fix lots of leaks, update for correct use of g_object_get. Some cleanups.Larry Ewing2003-06-148-8/+64
| | | | | | | | | | | | | | | 2003-06-14 Larry Ewing <lewing@ximian.com> * gui/backend/ebook/e-card-simple.c: * gui/backend/ebook/e-card.c: * gui/backend/ebook/evolution-ldif-importer.c: * gui/backend/ebook/load-pine-addressbook.c: * gui/backend/ebook/test-card.c: * gui/backend/pas/pas-backend-card-sexp.c: * gui/backend/pas/pas-backend-ldap.c: Fix lots of leaks, update for correct use of g_object_get. Some cleanups. svn path=/trunk/; revision=21443
* Fix lots of leaks, update for correct use of g_object_get. Some miscLarry Ewing2003-06-1412-35/+106
| | | | | | | | | | | | | | | | | | | 2003-06-13 Larry Ewing <lewing@ximian.com> * gui/component/addressbook.c: * gui/component/e-cardlist-model.c: * gui/component/select-names/e-select-names-text-model.c: * gui/contact-editor/e-contact-editor.c: * gui/contact-editor/e-contact-save-as.c: * gui/contact-list-editor/e-contact-list-editor.c: * gui/widgets/e-addressbook-table-adapter.c: * gui/widgets/e-addressbook-util.c: * gui/widgets/e-addressbook-view.c: * gui/widgets/e-minicard-view.c: * gui/widgets/e-minicard.c: Fix lots of leaks, update for correct use of g_object_get. Some misc cleanups. svn path=/trunk/; revision=21442
* update for correct used of g_object_get.Larry Ewing2003-06-142-11/+25
| | | | | | | | | 2003-06-13 Larry Ewing <lewing@ximian.com> * printing/e-contact-print.c: update for correct used of g_object_get. svn path=/trunk/; revision=21441
* Put the ChangeLog.pre-1-4 in the Makefiles.Ettore Perazzoli2003-06-131-0/+3
| | | | svn path=/trunk/; revision=21427
* ** For #42691.Not Zed2003-06-114-7/+27
| | | | | | | | | | | | | | | | | | | 2003-06-05 Not Zed <NotZed@Ximian.com> ** For #42691. * gui/component/select-names/Makefile.am (%.server.in): implicit rule for .in file. (BUILT_SOURCES): added server_DATA. * gui/component/Makefile.am (%.server.in): use implicit rule for .in file. (BUILT_SOURCES): added, just server_DATA. (CLEANFILES): added * backend/ebook/Makefile.am (BUILT_SOURCES): add server_DATA. svn path=/trunk/; revision=21400
* Roll over ChangeLogs.Ettore Perazzoli2003-06-102-16759/+16758
| | | | svn path=/trunk/; revision=21387
* adapted to changes in EComponentListener API.Rodrigo Moya2003-06-042-1/+6
| | | | | | | | | 2003-06-04 Rodrigo Moya <rodrigo@ximian.com> * backend/ebook/ebook.c (e_book_do_response_open): adapted to changes in EComponentListener API. svn path=/trunk/; revision=21383
* i2003-05-19 Chris Toshok <toshok@ximian.com>Chris Toshok2003-05-202-1/+8
| | | | | | | | * backend/pas/pas-backend-ldap.c (func_beginswith): use the more convoluted (but more correct) query if evolutionPerson is supported. Fixes #42825. svn path=/trunk/; revision=21270
* handle the case where @book == NULL, which can happen if there was aChris Toshok2003-05-202-2/+11
| | | | | | | | | | 2003-05-19 Chris Toshok <toshok@ximian.com> * backend/ebook/e-destination.c (use_default_book_cb): handle the case where @book == NULL, which can happen if there was a problem opening the default book. Should fix #43005. svn path=/trunk/; revision=21269
* fix the initial run case. the config upgrade code creates all elements soChris Toshok2003-05-202-0/+12
| | | | | | | | | | | 2003-05-19 Chris Toshok <toshok@ximian.com> * gui/component/addressbook-component.c (ensure_completion_uris_exist): fix the initial run case. the config upgrade code creates all elements so we can't just check for NULL - we have to check if the string is empty. Fixes #43213. svn path=/trunk/; revision=21263
* if we've got focus, set the background of the rect to bg[NORMAL], and theChris Toshok2003-05-202-3/+11
| | | | | | | | | | | | 2003-05-19 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-label.c (set_colors): if we've got focus, set the background of the rect to bg[NORMAL], and the fill color of the text and label to text[NORMAL]. This will make the background a different color than the canvas, but won't make it use the selected background. fixes #42472 svn path=/trunk/; revision=21262
* add a g_object_ref(card), to match the one inChris Toshok2003-05-202-1/+7
| | | | | | | | | | 2003-05-19 Chris Toshok <toshok@ximian.com> * gui/merging/e-card-merging.c (e_card_merging_book_commit_card): add a g_object_ref(card), to match the one in e_card_merging_book_add_card. Fixes #43175. svn path=/trunk/; revision=21259
* Added HIG-appropriate HIG-appropriate spacing, padding, accelerators.Anna Marie Dirks2003-05-192-6/+13
| | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * gui/contact-editor/e-contact-quick-add.c: Added HIG-appropriate HIG-appropriate spacing, padding, accelerators. Fixes bug #41210 svn path=/trunk/; revision=21254
* HIG-ified the various dialogs (including the settings pages, the configAnna Marie Dirks2003-05-192-41/+47
| | | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * gui/component/ldap-config.glade: HIG-ified the various dialogs (including the settings pages, the config druid, and the edit dialog) in this glade file. This fixes bugs #41140, #41137, #41130 svn path=/trunk/; revision=21252
* Changed button order, and added HIG-appropriate spacing/padding. Fixes bugAnna Marie Dirks2003-05-192-6/+12
| | | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * gui/merging/e-card-merging-book-commit-duplicate-detected.glade: Changed button order, and added HIG-appropriate spacing/padding. Fixes bug #41232. svn path=/trunk/; revision=21248
* Changed button order, and added HIG-appropriate spacing/padding. Fixes bugAnna Marie Dirks2003-05-192-8/+16
| | | | | | | | | | 2003-05-19 Anna Marie Dirks <anna@ximian.com> * gui/merging/e-card-duplicate-detected.glade: Changed button order, and added HIG-appropriate spacing/padding. Fixes bug #41229 and #41231. svn path=/trunk/; revision=21246
* i2003-05-19 Sean Gao <sean.gao@sun.com>Chris Toshok2003-05-192-1/+14
| | | | | | | * gui/component/addressbook-component.c (xfer_folder): remove the summary if @remove_source is TRUE. Fixes 38084. svn path=/trunk/; revision=21240
* Added HIG-appropriate spacing, padding, capitalization and accelerators.Anna Marie Dirks2003-05-172-11/+17
| | | | | | | | | | 2003-05-16 Anna Marie Dirks <anna@ximian.com> * gui/contact-list-editor/contact-list-editor.glade: Added HIG-appropriate spacing, padding, capitalization and accelerators. Fixes bug #41254 svn path=/trunk/; revision=21227
* Added HIG-appropriate spacing, padding, capitalization and accelerators.Anna Marie Dirks2003-05-172-2/+6
| | | | | | | | | 2003-05-16 Anna Marie Dirks <anna@ximian.com> * gui/contact-editor/fulladdr.glade: Added HIG-appropriate spacing, padding, capitalization and accelerators. Fixes bug #41251 svn path=/trunk/; revision=21226
* Added HIG-appropriate spacing, padding, caps, title and accelerators.Anna Marie Dirks2003-05-172-8/+14
| | | | | | | | | | 2003-05-14 Anna Marie Dirks <anna@ximian.com> * gui/contact-editor/fullname.glade: Added HIG-appropriate spacing, padding, caps, title and accelerators. Fixes bug #41249, and also bug #41250.. svn path=/trunk/; revision=21225
* Added HIG-appropriate spacing, padding, capitalization and accelerators.Anna Marie Dirks2003-05-172-48/+55
| | | | | | | | | 2003-05-16 Anna Marie Dirks <anna@ximian.com> * gui/contact-editor/contact-editor.glade: Added HIG-appropriate spacing, padding, capitalization and accelerators. Fixes bug #41248. svn path=/trunk/; revision=21224
* Move the tools to a more appropriate directory, privlibexecdirRodney Dawes2003-05-172-1/+6
| | | | | | | | | 2003-05-16 Rodney Dawes <dobey@ximian.com> * addressbook/backend/ebook/Makefile.am: Move the tools to a more appropriate directory, privlibexecdir svn path=/trunk/; revision=21218
* Revert the patch I didn't mean to commit anywayRodney Dawes2003-05-172-6/+1
| | | | svn path=/trunk/; revision=21217
* Check for libgcc stuff to make solaris happyRodney Dawes2003-05-162-1/+6
| | | | | | | | | | 2003-05-15 Rodney Dawes <dobey@ximian.com> * configure.in: Check for libgcc stuff to make solaris happy * gui/component/Makefile.am: libgcc fix for Solaris __eprintf issue svn path=/trunk/; revision=21212
* this change fixes 43090 tooChris Toshok2003-05-161-1/+1
| | | | svn path=/trunk/; revision=21204
* backing out a tiny porting of jpr's fix - we need to set the book on theChris Toshok2003-05-162-0/+10
| | | | | | | | | | | 2003-05-15 Chris Toshok <toshok@ximian.com> * gui/component/addressbook.c (book_open_cb): backing out a tiny porting of jpr's fix - we need to set the book on the EAddressbookView, or else it won't do queries, and it won't show any cards. Fixes #43023, #43090. svn path=/trunk/; revision=21201
* new function, split out the duplicated teardown code from final_cb andChris Toshok2003-05-162-7/+21
| | | | | | | | | | | | | 2003-05-15 Chris Toshok <toshok@ximian.com> * gui/merging/e-card-merging.c (free_lookup): new function, split out the duplicated teardown code from final_cb and final_id_cb. also, unref the card. (final_id_cb): call free_lookup. (final_cb): same. (e_card_merging_book_add_card): ref the card. fixes bug #43016. svn path=/trunk/; revision=21200
* replace the text_buffer_delete/text_buffer_insert withChris Toshok2003-05-152-24/+51
| | | | | | | | | | | | | | | 2003-05-14 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (full_addr_clicked): replace the text_buffer_delete/text_buffer_insert with set_buffer_set_text. call widget_changed if they clicked OK, so we actually mark the dialog changed. (fill_in_field): make this handle GtkTextViews, because for some reason that escapes rational thought GtkTextView's don't implement GtkEditable. fixes #42606. (extract_field): same. svn path=/trunk/; revision=21184
* set the clip_height on reflow so the name of the field is as high as theChris Toshok2003-05-152-1/+12
| | | | | | | | | | | | 2003-05-12 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-label.c (e_minicard_label_reflow): set the clip_height on reflow so the name of the field is as high as the field's value. makes it possible to click anywhere to the left of a tall field (like an address) and have it select the field. Fixes #42625. svn path=/trunk/; revision=21183
* handle the case where we haven't filled in the address yet. fixes #42620.Chris Toshok2003-05-152-0/+9
| | | | | | | | | | 2003-05-14 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (address_mailing_changed): handle the case where we haven't filled in the address yet. fixes #42620. svn path=/trunk/; revision=21182
* clear the view (book_open_cb): track the book in the view, don't unref theJP Rosevear2003-05-156-64/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-14 JP Rosevear <jpr@ximian.com> * gui/component/addressbook.c (addressbook_view_unref): clear the view (book_open_cb): track the book in the view, don't unref the book (set_prop): set the book (retrieve_shell_view_interface_from_control): get the shell view every time (set_folder_bar_label): release and unref the shell view * gui/component/addressbook-storage.h: add proto * gui/component/addressbook-storage.c (addressbook_storage_cleanup): unref the storage * gui/component/addressbook-component.c (owner_unset_cb): clean up storage * backend/ebook/e-book.c (e_book_load_uri): track the listener signal (e_book_dispose): unref the listener and disconnect the signal svn path=/trunk/; revision=21179
* strlen -> g_utf8_strlen. (e_select_names_text_model_insert): same.Chris Toshok2003-05-143-31/+94
| | | | | | | | | | | | | | | | | | | | | | | 2003-05-13 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_set_separator): strlen -> g_utf8_strlen. (e_select_names_text_model_insert): same. (e_select_names_text_model_insert_length): big change, make this work with multibyte utf8. (e_select_names_text_model_delete): same. this could possibly use a tighter loop + a memmove, but this works. * gui/component/select-names/e-select-names-model.c (e_select_names_model_get_textification): make sure our truncation to MAX_LENGTH characters uses utf8 characters, not bytes. (e_select_names_model_name_pos): track e-text-model change. pos/length are now in utf8 character terms, so use g_utf8_strlen instead of strlen. (e_select_names_model_text_pos): same. svn path=/trunk/; revision=21165
* rename addressbook_destroy to this, and guard against multiple calls.Chris Toshok2003-05-142-6/+18
| | | | | | | | | | | | | 2003-05-13 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-table-adapter.c (addressbook_dispose): rename addressbook_destroy to this, and guard against multiple calls. (e_addressbook_table_adapter_class_init): GtkObject -> GObject, and destroy -> dispose. (e_addressbook_table_adapter_init): GtkObject -> GObject. svn path=/trunk/; revision=21157
* terminate g_build_filename with NULL.Sean Gao2003-05-122-1/+7
| | | | | | | | | | 2003-05-12 Sean Gao <sean.gao@sun.com> * gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_init): terminate g_build_filename with NULL. svn path=/trunk/; revision=21151
* [ fixes bug #42048 ] button => response. (e_addressbook_view_print):Chris Toshok2003-05-122-3/+10
| | | | | | | | | | | 2003-05-11 Chris Toshok <toshok@ximian.com> [ fixes bug #42048 ] * gui/widgets/e-addressbook-view.c (e_contact_print_button): button => response. (e_addressbook_view_print): connect to "response", not "clicked". svn path=/trunk/; revision=21145
* [ fixes bug #41245 ] fix spacing/border widths as per HIG.Chris Toshok2003-05-123-151/+164
| | | | | | | | | | | | | | 2003-05-11 Chris Toshok <toshok@ximian.com> [ fixes bug #41245 ] * gui/component/select-names/select-names.glade: fix spacing/border widths as per HIG. * gui/component/select-names/e-select-names.c (e_select_names_init): set the border width/spacing on widgets we create here. svn path=/trunk/; revision=21144
* Use glib macro to case from pointer to int.Jeremy Katz2003-05-094-2/+14
| | | | | | | | | | | | | | | 2003-05-09 Jeremy Katz <katzj@redhat.com> * printing/e-contact-print.c (e_contact_print_response): Use glib macro to case from pointer to int. * printing/e-contact-print-envelope.c: Add missing #include. * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_start_query): Use E_SELECT_NAMES_COMPLETION to avoid warning svn path=/trunk/; revision=21138
* i2003-05-06 Chris Toshok <toshok@ximian.com>Chris Toshok2003-05-072-14/+13
| | | | | | | | | | | | | [ really commit this, fixes bug #41910 ] * gui/contact-list-editor/e-contact-list-model.c (e_contact_list_model_remove_row): change from model_changed to row_deleted here. model_changed causes the table to free its ETableSelection, which is what we iterate over when deleting contacts. (e_contact_list_model_add_destination): no need to be calling model_changed here either. svn path=/trunk/; revision=21117
* [ fixes bug #41255 ] use stock buttons for Add/Remove.Chris Toshok2003-04-302-4/+10
| | | | | | | | | | 2003-04-29 Chris Toshok <toshok@ximian.com> [ fixes bug #41255 ] * gui/contact-list-editor/contact-list-editor.glade: use stock buttons for Add/Remove. svn path=/trunk/; revision=21030
* [ fixes bug #41144 ] use stock buttons for the Add/Delete buttons. SwitchChris Toshok2003-04-302-6/+67
| | | | | | | | | | | | 2003-04-29 Chris Toshok <toshok@ximian.com> [ fixes bug #41144 ] * gui/component/ldap-config.glade: use stock buttons for the Add/Delete buttons. Switch from "Delete" to "Remove", though, as "Remove" fits much better with the one for "Add". Also, add our stock-edit-24.png icon for "Edit". svn path=/trunk/; revision=21028
* [ fixes bug #41211 ] call e_button_new_with_stock_icon to create ourChris Toshok2003-04-302-1/+9
| | | | | | | | | | | 2003-04-29 Chris Toshok <toshok@ximian.com> [ fixes bug #41211 ] * gui/component/e-address-popup.c (e_address_popup_no_matches): call e_button_new_with_stock_icon to create our button and give it the right icon. svn path=/trunk/; revision=21023
* remove duplicate HOME_COUNTRY field add.Gilbert Fang2003-04-302-2/+5
| | | | | | | | | 2003-04-29 Gilbert Fang <gilbert.fang@sun.com> * tools/evolution-addressbook-export-list-cards.c (set_pre_defined_field): remove duplicate HOME_COUNTRY field add. svn path=/trunk/; revision=21015
* [ fixes bug #41910 ] change from model_changed to row_deleted here.Chris Toshok2003-04-301-0/+12
| | | | | | | | | | | | | | | 2003-04-28 Chris Toshok <toshok@ximian.com> [ fixes bug #41910 ] * gui/contact-list-editor/e-contact-list-model.c (e_contact_list_model_remove_row): change from model_changed to row_deleted here. model_changed causes the table to free its ETableSelection, which is what we iterate over when deleting contacts. (e_contact_list_model_add_destination): no need to be calling model_changed here either. svn path=/trunk/; revision=21010
* [ fixes bug #41843] use e_card_simple_get_ecard_field instead ofChris Toshok2003-04-282-1/+9
| | | | | | | | | | | | 2003-04-28 Chris Toshok <toshok@ximian.com> [ fixes bug #41843] * tools/evolution-addressbook-export-list-cards.c (e_card_simple_csv_get_name): use e_card_simple_get_ecard_field instead of e_card_simple_get_name, so the return value won't be localized. svn path=/trunk/; revision=20978
* [ fixes bug #41779 ] we don't need to call gtk_widget_destroy on the oldChris Toshok2003-04-282-1/+8
| | | | | | | | | | | 2003-04-28 Chris Toshok <toshok@ximian.com> [ fixes bug #41779 ] * gui/component/e-address-popup.c (mini_wizard_container_add): we don't need to call gtk_widget_destroy on the old child, since gtk_container_remove will unref it for us. svn path=/trunk/; revision=20977
* [ fixes bug #37351 ] the row the signal is called with is already theChris Toshok2003-04-242-1/+7
| | | | | | | | | | | 2003-04-23 Chris Toshok <toshok@ximian.com> [ fixes bug #37351 ] * gui/widgets/e-addressbook-view.c (table_drag_data_get): the row the signal is called with is already the model row, not the view row, so don't call e_table_view_to_model_row on it. svn path=/trunk/; revision=20944
* [ either mostly or entirely fixes #33708 ] new function, factor it out ofChris Toshok2003-04-242-20/+48
| | | | | | | | | | | | | | | | | | | | | | | 2003-04-23 Chris Toshok <toshok@ximian.com> [ either mostly or entirely fixes #33708 ] * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_done): new function, factor it out of _seq_complete_cb because we need to run the same code in a couple of places. (e_select_names_completion_got_book_view_cb): treat an error from a book as getting a "sequence_complete", and decrement the count of pending complete signals. (e_select_names_completion_got_book_view_cb): remove the increment of pending_completion_seq from here. (e_select_names_completion_seq_complete_cb): factor out the body of e_select_names_completion_done from here, and call it. (e_select_names_completion_start_query): increment pending_completion_seq here. remove the async variable, as we can now use pending_completion_seq for that purpose (it's > 0 iff async would have been TRUE). svn path=/trunk/; revision=20943
* [ fixes bug #40954 ] guard against NULL bf->priv->summary (happens if theChris Toshok2003-04-202-7/+18
| | | | | | | | | | | | | | | 2003-04-19 Chris Toshok <toshok@ximian.com> [ fixes bug #40954 ] * backend/pas/pas-backend-file.c (pas_backend_file_dispose): guard against NULL bf->priv->summary (happens if the initial load_uri failed). (pas_backend_file_load_uri): always set bf->priv->uri, since it's used in _get_uri, which is called when the backend goes away. This only happened before if you tried to load a folder that didn't exist. svn path=/trunk/; revision=20898
* [ fixes #40694 ] just grab focus if @activate == TRUE. we'll do allChris Toshok2003-04-202-9/+25
| | | | | | | | | | | | | | 2003-04-16 Chris Toshok <toshok@ximian.com> [ fixes #40694 ] * gui/component/select-names/e-select-names-bonobo.c (control_activate_cb): just grab focus if @activate == TRUE. we'll do all merging/unmerging in the focus handler. (widget_focus_cb): handle the merging here. (e_bonobo_control_automerge_ui): store off the widget (so we can grab focus on it) and connect to "activate". svn path=/trunk/; revision=20897
* Add missing -DPREFIXRodney Dawes2003-04-192-0/+5
| | | | | | | | 2003-04-18 Rodney Dawes <dobey@ximian.com> * gui/component/select-names/Makefile.am: Add missing -DPREFIX svn path=/trunk/; revision=20893
* [ fixes #21499 ]Rodney Dawes2003-04-198-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-18 Rodney Dawes <dobey@ximian.com> [ fixes #21499 ] * gui/component/Makefile.am: * gui/component/addressbook.c: * gui/component/select-names/e-select-names-bonobo.c: * gui/contact-editor/Makefile.am: * gui/contact-editor/e-contact-editor.c: * gui/contact-list-editor/Makefile.am: * gui/contact-list-editor/e-contact-list-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * gui/Makefile.am: * gui/calendar-commands.c: * gui/tasks-control.c: * gui/dialogs/Makefile.am: * gui/dialogs/comp-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * Makefile.am: * e-msg-composer.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * folder-browser-ui.c: * mail-signature-editor.c: * message-browser.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * e-summary-factory.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () [#21499] svn path=/trunk/; revision=20888
* [ fixes #41252 ] change title from "Check Address" to "Full Address".Chris Toshok2003-04-162-1/+7
| | | | | | | | | | 2003-04-15 Chris Toshok <toshok@ximian.com> [ fixes #41252 ] * gui/contact-editor/fulladdr.glade: change title from "Check Address" to "Full Address". svn path=/trunk/; revision=20848
* [ fixes #40727 ] if the query text is either shorter than the cachedChris Toshok2003-04-092-5/+18
| | | | | | | | | | | | | 2003-04-09 Chris Toshok <toshok@ximian.com> [ fixes #40727 ] * gui/component/select-names/e-select-names-completion.c (e_select_names_completion_start_query): if the query text is either shorter than the cached query_text or they don't match, don't just set can_reuse_cached_cards to FALSE. we also need to invalidate the cache. svn path=/trunk/; revision=20780
* kill an old e_utf8_gtk usageMike Kestner2003-04-091-1/+0
| | | | | | | | | | 2003-04-08 Mike Kestner <mkestner@ximian.com> * e-search-bar.c (set_option): kill an old e_utf8_gtk usage and remove some straggling e-font.h includes. svn path=/trunk/; revision=20769
* (d): Remove all debuggingEttore Perazzoli2003-04-092-1/+6
| | | | | | messages. svn path=/trunk/; revision=20764
* Remove color specifications from the druid so it will use theme colors.Dan Winship2003-04-083-30/+17
| | | | | | | | | | | * gui/component/ldap-config.glade: Remove color specifications from the druid so it will use theme colors. * gui/component/addressbook-config.c (addressbook_add_server_druid): Use g_signal_connect_after for "prepare" signal (to work around b.g.o 81869) svn path=/trunk/; revision=20756
* [ fixes #7103 ] init style_set. and add the signal.Chris Toshok2003-04-086-97/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> [ fixes #7103 ] * gui/widgets/e-minicard-label.c (e_minicard_label_class_init): init style_set. and add the signal. (e_minicard_label_realize): include e_minicard_label_construct's code here, and call set_colors after we create the sub-items. (e_minicard_label_unrealize): indent, and remove dead code. (e_minicard_label_event): indent, and call set_colors instead of setting the colors manually. (set_colors): new function, set our colors based on the current style. (e_minicard_label_style_set): new function, just call set_colors. (e_minicard_label_new): e_minicard_label_construct doesn't exist anymore. * gui/widgets/e-minicard-label.h (struct _EMinicardLabelClass): add style_set signal. * gui/widgets/e-minicard.c (set_selected): little tweaks in the coloring. (e_minicard_unrealize): reindent, and remove some unused code. * gui/widgets/e-minicard-view-widget.h (struct _EMinicardViewWidget): add background. * gui/widgets/e-minicard-view-widget.c (e_minicard_view_widget_class_init): init widget_class->style_class. (e_minicard_view_widget_style_set): new function, just set the background's fill_color_gdk to base[GTK_STATE_NORMAL]. (e_minicard_view_widget_realize): store off the background canvas item so we can set the color later. svn path=/trunk/; revision=20742
* [ fixes bug #40901 ] HIG-ify the ldap server edit dialog's button layout.Chris Toshok2003-04-082-13/+19
| | | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> [ fixes bug #40901 ] * gui/component/ldap-config.glade: HIG-ify the ldap server edit dialog's button layout. svn path=/trunk/; revision=20737
* [ fixes bug #39763 ] verb callback for EditCopy (cut_cb): verb callbackChris Toshok2003-04-082-0/+180
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> [ fixes bug #39763 ] * gui/component/select-names/e-select-names-bonobo.c (copy_cb): verb callback for EditCopy (cut_cb): verb callback for EditCut. (paste_cb): verb callback for EditPaste. (select_all_cb): verb callback for SelectAll. (free_closure): new function (merge_menu_items): same (unmerge_menu_items): same (control_set_frame_cb): same (control_activate_cb): same (widget_focus_cb): same (e_bonobo_control_automerge_ui): new function, sets up focus signals on the widget passed in to merge/unmerge the passed in ui/verbs. (impl_SelectNames_get_entry_for_section): call e_bonobo_control_automerge_ui for this entry. svn path=/trunk/; revision=20735
* change the ok/cancel button layout to be higified.Chris Toshok2003-04-082-6/+18
| | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> * gui/component/e-address-popup.c (mini_wizard_new): change the ok/cancel button layout to be higified. svn path=/trunk/; revision=20720
* [ last portion of #40046 fix ] ifdef this out to quiet the compiler.Chris Toshok2003-04-082-141/+50
| | | | | | | | | | | | | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> [ last portion of #40046 fix ] * gui/component/select-names/e-select-names-popup.c (remove_recipient_cb): ifdef this out to quiet the compiler. (remove_all_recipients_cb): same. (toggle_html_mail_cb): same. (populate_popup_card): change the #if 0 to #if TOO_MANY_MENU_ITEMS. (popup_menu_list): nuke, as it's handled by populate_popup_card. (populate_popup_nocard): rename popup_menu_nocard to this, and implement it as in populate_popup_card. (e_select_names_populate_popup): we don't need the card, since we don't check if it's a list here anymore. also, remove the #if 0 surrounding the nocard case. svn path=/trunk/; revision=20718
* Fixes #40252.Not Zed2003-04-082-45/+52
| | | | | | | | | | | | | 2003-04-07 Not Zed <NotZed@Ximian.com> Fixes #40252. * conduit/address-conduit.c: Change the LOG macro to a single arg macro which copies its arg. Fix all callers. Change WARN and INFO to simply g_warning/g_message. Init G_LOG_DOMAIN before including anything. svn path=/trunk/; revision=20715
* add tools.Chris Toshok2003-04-082-1/+5
| | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> * Makefile.am (SUBDIRS): add tools. svn path=/trunk/; revision=20711
* [ fixes bug #23036 ] : new and improved export utility.Gilbert Fang2003-04-087-0/+1168
| | | | | | | | | | | | 2003-04-07 Gilbert Fang <gilbert.fang@sun.com> [ fixes bug #23036 ] * tools/evolution-addressbook-export.c, tools/evolution-addressbook-export-list-cards.c, tools/evolution-addressbook-export-list-folders.c: : new and improved export utility. svn path=/trunk/; revision=20709
* Clean up server names.Dan Winship2003-04-085-29/+41
| | | | | | | | | | | | | | | | * gui/component/GNOME_Evolution_Addressbook.server.in.in: Clean up server names. * gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in: Likewise * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: Likewise. Also mark the evolution:menu_name for i18n. * backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: Likewise svn path=/trunk/; revision=20704
* set "handle_popup" on the field to be TRUE if it's got focus, FALSE ifChris Toshok2003-04-042-0/+17
| | | | | | | | | | 2003-04-03 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-label.c (e_minicard_label_event): set "handle_popup" on the field to be TRUE if it's got focus, FALSE if not. svn path=/trunk/; revision=20665
* set the im_context on the field's EText. (e_minicard_label_event): removeChris Toshok2003-04-042-46/+7
| | | | | | | | | | 2003-04-03 Chris Toshok <toshok@ximian.com> * gui/widgets/e-minicard-label.c (e_minicard_label_construct): set the im_context on the field's EText. (e_minicard_label_event): remove a huge swath of #if 0'd code. svn path=/trunk/; revision=20663
* [ fixes bug #40715 ] add this callback, to unref the book/free the closureChris Toshok2003-04-044-20/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-03 Chris Toshok <toshok@ximian.com> [ fixes bug #40715 ] * gui/merging/e-card-merging.c (final_id_cb): add this callback, to unref the book/free the closure after calling the user's callback. (final_cb): same. (doit): use final{_id}_cb (cancelit): same. (response): don't free the lookup struct here. (match_query_callback): same. (e_card_merging_book_add_card): ref the book. (e_card_merging_book_commit_card): same. * gui/component/e-address-popup.c (card_picker_init): make sure to set the "text" attribute on the cell renderer so the text actually shows up. also, g_object_connect -> g_signal_connect *sigh*. Lastly, get rid of the scrolled window and just make the window size to show the text. * gui/widgets/e-minicard.c (e_minicard_style_set): only call set_selected if we're realized (we create all the canvas objects that set_selected manipulates in our realize method.) svn path=/trunk/; revision=20662
* add EVOLUTION_IMAGESDIRChris Toshok2003-04-032-0/+8
| | | | | | | | | 2003-04-03 Chris Toshok <toshok@ximian.com> * gui/component/select-names/Makefile.am (INCLUDES): add EVOLUTION_IMAGESDIR svn path=/trunk/; revision=20658
* change all this around so that we populate the existing popup. This meansChris Toshok2003-04-034-179/+138
| | | | | | | | | | | | | | | | | | | | 2003-04-02 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-popup.c: change all this around so that we populate the existing popup. This means we get the select names popup stuff on top of the normal EEntry popup foo. * gui/component/select-names/e-select-names-popup.h (e_select_names_populate_popup): rename e_select_names_popup to this. * gui/component/select-names/e-select-names-manager.c (populate_popup_cb): rename popup_cb here, and e_select_names_popup -> e_select_names_populate_popup. (e_select_names_manager_entry_new): popup -> populate_popup. svn path=/trunk/; revision=20654
* add NONE:OBJECTChris Toshok2003-04-034-0/+35
| | | | | | | | | | | | | | | | 2003-04-02 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-marshal.list: add NONE:OBJECT * gui/widgets/e-minicard.c (e_minicard_class_init): add style_set signal. (e_minicard_style_set): just call set_selected with the currently selected flag, so we recolor properly. * gui/widgets/e-minicard.h (struct _EMinicardClass): add style_set signal. svn path=/trunk/; revision=20651
* added "folder_type" parameter to EvolutionImporterLoadFileFn.Rodrigo Moya2003-04-033-0/+8
| | | | | | | | | | 2003-04-01 Rodrigo Moya <rodrigo@ximian.com> * backend/ebook/evolution-ldif-importer.c (load_file_fn): * backend/ebook/evolution-vcard-importer.c (load_file_fn): added "folder_type" parameter to EvolutionImporterLoadFileFn. svn path=/trunk/; revision=20644
* new function, just return the local uri. (set_default_book_uri_local): useChris Toshok2003-04-012-7/+34
| | | | | | | | | | | | 2003-03-31 Chris Toshok <toshok@ximian.com> * backend/ebook/e-book-util.c (get_local_book_uri): new function, just return the local uri. (set_default_book_uri_local): use get_local_book_uri. (e_book_default_book_open): only try and reload the default book if it's not already the local book. svn path=/trunk/; revision=20610
* it emits a list nowJP Rosevear2003-03-312-17/+26
| | | | | | | | 2003-03-31 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (card_removed): it emits a list now svn path=/trunk/; revision=20598
* Remove folder-selector button initialization. (e_select_names_new):Dan Winship2003-03-316-61/+84
| | | | | | | | | | | | | | | | | | | | * gui/component/select-names/e-select-names.c (e_select_names_init): Remove folder-selector button initialization. (e_select_names_new): Initialize folder-selector button here, using the passed-in EvolutionShellClient rather than depending on a global variable. * gui/component/select-names/e-select-names-manager.c (e_select_names_manager_activate_dialog): take an EvolutionShellClient and pass it to e_select_names_new(). * gui/component/select-names/e-select-names-bonobo.c (impl_SelectNames_activate_dialog): get a pointer to the shell from bonobo-activation, create a shell_client, and pass it to e_select_names_manager_activate_dialog. svn path=/trunk/; revision=20597
* constify return valueDan Winship2003-03-312-3/+3
| | | | | | | * backend/ebook/e-book-util.c (e_book_get_default_book_uri): constify return value svn path=/trunk/; revision=20596
* add vcard testsChris Toshok2003-03-3116-0/+218
| | | | svn path=/trunk/; revision=20590
* braindead, and *extremely* forgiving vcard parser. not for publicChris Toshok2003-03-313-0/+1038
| | | | | | | | | 2003-03-30 Chris Toshok <toshok@ximian.com> * backend/ebook/e-vcard.[ch]: braindead, and *extremely* forgiving vcard parser. not for public consumption yet. svn path=/trunk/; revision=20589
* add vcard docsChris Toshok2003-03-314-0/+6593
| | | | svn path=/trunk/; revision=20587
* [ fixes bug #39381 (again) ] add "GtkWidget *button" first arg, so weChris Toshok2003-03-312-1/+7
| | | | | | | | | | 2003-03-30 Chris Toshok <toshok@ximian.com> [ fixes bug #39381 (again) ] * gui/component/e-address-popup.c (edit_contact_info_cb): add "GtkWidget *button" first arg, so we don't crash. svn path=/trunk/; revision=20585
* [ fixes bug #40403 ] revert the fix for 28945, as was done on the 1.2Chris Toshok2003-03-292-10/+9
| | | | | | | | | | | | 2003-03-28 Chris Toshok <toshok@ximian.com> [ fixes bug #40403 ] * backend/ebook/e-card.c (e_card_get_vobject): revert the fix for 28945, as was done on the 1.2 branch. this is because the "fix" actually breaks internal use of contact lists. We need to make the exporting of contacts DTRT, instead of fixing it here. svn path=/trunk/; revision=20568
* [ fix the contact editor so that the only time the address is parsed isChris Toshok2003-03-293-36/+46
| | | | | | | | | | | | | | | | | | 2003-03-28 Chris Toshok <toshok@ximian.com> [ fix the contact editor so that the only time the address is parsed is when the user types in the address GtkTextView. ] * gui/contact-editor/e-contact-editor.c (address_mailing_changed): make this use delivery addresses instead of labels. (full_addr_clicked): same. (find_address_mailing): same. * backend/ebook/e-card-simple.c (e_card_simple_set_delivery_address): make this operate similar to e_card_simple_set_address: it sets both the delivery address and the label for the address. svn path=/trunk/; revision=20567
* [ fixes bug #19178 ] use e_book_load_address_book_by_uri on the passed inChris Toshok2003-03-273-42/+19
| | | | | | | | | | | | | | | 2003-03-26 Chris Toshok <toshok@ximian.com> [ fixes bug #19178 ] * backend/ebook/evolution-ldif-importer.c (ebook_open): use e_book_load_address_book_by_uri on the passed in uri. (load_file_fn): pass the uri. * backend/ebook/evolution-vcard-importer.c (ebook_open): use e_book_load_address_book_by_uri on the passed in uri. (load_file_fn): pass the uri. svn path=/trunk/; revision=20543
* [ fixes bug #34651 ] strcmp -> g_utf8_collate. (update_query): encode theChris Toshok2003-03-272-6/+20
| | | | | | | | | | | 2003-03-26 Chris Toshok <toshok@ximian.com> [ fixes bug #34651 ] * gui/component/select-names/e-select-names.c (select_entry_changed): strcmp -> g_utf8_collate. (update_query): encode the string we pass for the query. svn path=/trunk/; revision=20541
* [ fixes bug #34085 ] only successfully complete the drag if they dropped aChris Toshok2003-03-272-11/+25
| | | | | | | | | | | | 2003-03-26 Chris Toshok <toshok@ximian.com> [ fixes bug #34085 ] * gui/contact-list-editor/e-contact-list-editor.c (table_drag_data_received_cb): only successfully complete the drag if they dropped a valid vcard (or vcard list). Call gtk_drag_finish. svn path=/trunk/; revision=20539
* $evolution_uidir -> $evolutionuidirChris Toshok2003-03-272-1/+6
| | | | | | | | | 2003-03-26 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/Makefile.am (INCLUDES): $evolution_uidir -> $evolutionuidir svn path=/trunk/; revision=20538
* [ fixes bug #39170 ] remove 'return'. (pas_backend_remove_cards): same.Philip Zhao2003-03-272-12/+29
| | | | | | | | | | | | | | | | | | | | | 2003-03-26 Philip Zhao <philip.zhao@sun.com> [ fixes bug #39170 ] * backend/pas/pas-backend.c (pas_backend_create_card): remove 'return'. (pas_backend_remove_cards): same. (pas_backend_modify_card): same. (pas_backend_check_connection): same. (pas_backend_get_vcard): same. (pas_backend_get_cursor): same. (pas_backend_get_book_view): same. (pas_backend_get_completion_view): same. (pas_backend_get_changes): same. (pas_backend_authenticate_user): same. (pas_backend_get_supported_fields): same. (pas_backend_get_supported_auth_methods): same. svn path=/trunk/; revision=20532
* append the second line to the address if necessaryJP Rosevear2003-03-272-3/+25
| | | | | | | | | | | 2003-03-26 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (local_record_from_ecard): append the second line to the address if necessary (ecard_from_remote_record): split the address line in two if necessary svn path=/trunk/; revision=20526
* set the dialog to "Visible: No" so it doesn't flash when we bring it up.Chris Toshok2003-03-242-254/+294
| | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> * gui/contact-list-editor/contact-list-editor.glade: set the dialog to "Visible: No" so it doesn't flash when we bring it up. svn path=/trunk/; revision=20475
* [ fixes bug #40026 ] add EContactEditor arg, and block/unblock signalsChris Toshok2003-03-242-9/+26
| | | | | | | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> [ fixes bug #40026 ] * gui/contact-editor/e-contact-editor.c (set_field): add EContactEditor arg, and block/unblock signals around the gtk_entry_set_text, since that generates a "changed" signal which causes problems. (set_phone_field): take and pass along an EContactEditor arg. (set_fields): pass editor to set_field. svn path=/trunk/; revision=20474
* nuke.Chris Toshok2003-03-245-49/+94
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> * gui/contact-editor/arrow.png: nuke. * gui/contact-editor/Makefile.am (EXTRA_DIST): remove images_DATA (images_DATA): nuke, don't need it anymore. * gui/contact-editor/e-contact-editor.c (connect_arrow_button_signal): rename _replace_button to this. we no longer create an image, as it's a GtkArrow in the .glade file now. (connect_arrow_button_signals): rename _replace_buttons to this. no longer pass the arrow.png's to _replace_button. (e_contact_editor_init): _replace_buttons -> connect_arrow_button_signals. (_arrow_pressed): remove some dead code, and some args that aren't used. (_phone_arrow_pressed): track change to _arrow_pressed. (_email_arrow_pressed): same. (_address_arrow_pressed): same. svn path=/trunk/; revision=20473
* [ fixes bug #31786 ] fix some gtk warnings. (set_advanced_button_state):Chris Toshok2003-03-243-3248/+35
| | | | | | | | | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> [ fixes bug #31786 ] * gui/component/addressbook-config.c (addressbook_source_dialog_set_source): fix some gtk warnings. (set_advanced_button_state): the advanced dialog isn't present in the glade file anymore, so ifdef everything dealing with it. (addressbook_edit_server_dialog): same. * gui/component/ldap-config.glade: remove all the unused Advanced UI stuff to lessen the amount of strings needing translation. svn path=/trunk/; revision=20472
* [ fixes bug #32113 ] add include_email arg to e_destination_get_textrep.Chris Toshok2003-03-239-20/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> [ fixes bug #32113 ] * backend/ebook/e-destination.h: add include_email arg to e_destination_get_textrep. * backend/ebook/e-destination.c (e_destination_get_textrep): add include_email arg. if it's TRUE, and if there's an email address to add * gui/contact-list-editor/e-contact-list-model.c (contact_list_value_at): use e_destination_get_textrep so we don't display QP text, and pass TRUE for include_email. * gui/widgets/e-minicard.c (add_field): same. (remodel): same. * gui/widgets/e-addressbook-treeview-adapter.c (adapter_get_value): same. * gui/widgets/e-addressbook-table-adapter.c (addressbook_value_at): same. * gui/component/select-names/e-select-names-text-model.c (e_select_names_text_model_insert_length): pass FALSE for include_email. * gui/component/select-names/e-select-names-model.c (e_select_names_model_get_textification): pass FALSE for include_email. (e_select_names_model_get_string): same. (e_select_names_model_replace): same. (e_select_names_model_name_pos): same. (e_select_names_model_text_pos): same. svn path=/trunk/; revision=20467
* Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692]Ettore Perazzoli2003-03-203-2/+8
| | | | | | | | * backend/ebook/GNOME_Evolution_Addressbook_VCard_Importer.server.in.in: Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692] * backend/ebook/GNOME_Evolution_Addressbook_LDIF_Importer.server.in.in: Likewise. svn path=/trunk/; revision=20366
* up the column count by one for the underline.Chris Toshok2003-03-192-1/+12
| | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-table-model.c (e_select_names_table_model_col_count): up the column count by one for the underline. (e_select_names_table_model_value_at): add handling for underline. svn path=/trunk/; revision=20355
* fix use of deprecated gtk_menu_append. (card_picker_selection_changed):Chris Toshok2003-03-192-54/+48
| | | | | | | | | | | | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> * gui/component/e-address-popup.c (email_menu_add_option): fix use of deprecated gtk_menu_append. (card_picker_selection_changed): change this to be used with the "changed" signal on GtkTreeSelection. (free_str): yeah, gross. i know. (card_picker_init): this needed some fixing, so the strings don't go away after we insert them into the model. also, connect to the "changed" GtkTreeSelection signal instead of using the nonexistant gtk_tree_selection_set_func. (e_address_popup_construct): gtk_style_unref -> g_object_unref. (popup_size_allocate_cb): nuke. (e_address_popup_ambiguous_email_add): use gtk_window_set_position and let the window manager place the window instead of doing it ourself. svn path=/trunk/; revision=20352
* [ Fixes addressbook bug #39730 ] add response ids to the search baseChris Toshok2003-03-193-55/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> [ Fixes addressbook bug #39730 ] * gui/component/ldap-config.glade: add response ids to the search base dialog. * gui/component/addressbook-config.c (addressbook_source_dialog_destroy): use g_object_unref, not gtk_widget_destroy, on the GladeXML. (addressbook_add_server_druid): call gtk_window_set_type_hint GDK_WINDOW_TYPE_HINT_DIALOG so this window looks like a dialog. (editor_modify_cb): no more apply button. (edit_dialog_apply_clicked): nuked. (edit_dialog_close_clicked): rename to _cancal_clicked. (edit_dialog_ok_clicked): call gtk_widget_destroy here instead of calling _cancel_clicked. (addressbook_edit_server_dialog): no more apply button, and close_button -> cancel_button. Also, set the hint to GDK_WINDOW_TYPE_HINT_DIALOG. (ldap_dialog_new): fix compiler warning. (addressbook_dialog_create_sources_table): same. svn path=/trunk/; revision=20351
* use alternating-row-colors="false"Chris Toshok2003-03-194-61/+44
| | | | | | | | | | | | | | | | | | | | | | | | 2003-03-18 Chris Toshok <toshok@ximian.com> * gui/component/select-names/e-select-names-section.etspec: use alternating-row-colors="false" * gui/component/select-names/e-select-names.h: nuke prototypes for e_select_names_get_source/section. * gui/component/select-names/e-select-names.c (set_book): remove the signal disconnect from here. (addressbook_model_set_uri): same. (e_select_names_init): connect to the search_result signal on the addressbook model. (e_select_names_child_free): disconnect the changed_id signal. (e_select_names_add_section): set the underline column so the recipient tables look like they did when they were EEntry. (e_select_names_add_section): store off the changed_id. (e_select_names_get_section): nuke. (e_select_names_get_source): nuke. svn path=/trunk/; revision=20345
* kill warning by sinking objectsJP Rosevear2003-03-192-0/+9
| | | | | | | | | 2003-03-18 JP Rosevear <jpr@ximian.com> * conduit/address-conduit.c (addrconduit_load_configuration): kill warning by sinking objects svn path=/trunk/; revision=20338
* disconnect/keep track of search result signal id. (e_select_names_init):Not Zed2003-03-183-5/+38
| | | | | | | | | | | | | | 2003-03-18 Not Zed <NotZed@Ximian.com> * gui/component/select-names/e-select-names.c (set_book, addressbook_model_set_uri): disconnect/keep track of search result signal id. (e_select_names_init): Keep track of various signals, particularly status signal. (e_select_names_dispose): disconnect from any signals that are still active. Fixes crash for #38202. svn path=/trunk/; revision=20334
* use set_entry_changed_signal_email for the email entry so the email getsChris Toshok2003-03-142-1/+18
| | | | | | | | | | | | 2003-03-13 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c (set_entry_changed_signals): use set_entry_changed_signal_email for the email entry so the email gets saved out. (set_entry_changed_signal_email): new function, analogous to set_entry_changed_signal_phone, but for email. svn path=/trunk/; revision=20282
* [ fixes bug #20210 ] change "Edit Contact Info" to "View Contact Info", asChris Toshok2003-03-132-2/+11
| | | | | | | | | | | | | 2003-03-12 Chris Toshok <toshok@ximian.com> [ fixes bug #20210 ] * gui/component/select-names/e-select-names-popup.c (popup_menu_card): change "Edit Contact Info" to "View Contact Info", as you can't always edit the contact (if the book is read only). (popup_menu_list): same, but for a contact list. svn path=/trunk/; revision=20270
* [ fixes bug #39507 ] new function, sync the models after we do a search.Chris Toshok2003-03-122-0/+49
| | | | | | | | | | | 2003-03-11 Chris Toshok <toshok@ximian.com> [ fixes bug #39507 ] * gui/component/select-names/e-select-names.c (search_result): new function, sync the models after we do a search. (addressbook_model_set_uri): connect to search_result. svn path=/trunk/; revision=20260