Commit Graph

1226 Commits

Author SHA1 Message Date
b86382d56d gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.
* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in,
* gui/component/select-names/Makefile.am: Same changes as below
for the SelectNames component.

svn path=/trunk/; revision=18845
2002-11-19 21:28:39 +00:00
a645910fc8 show the custom table.
2002-11-18  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names.c
	(e_select_names_init): show the custom table.

svn path=/trunk/; revision=18834
2002-11-19 01:52:05 +00:00
1cca1ad87b remove the cast to (int) - column_width is a double.
2002-11-18  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/gal-view-minicard.c (gal_view_minicard_attach):
	remove the cast to (int) - column_width is a double.

	* gui/widgets/e-minicard.c (e_minicard_class_init): the height
	property is only readable, not readwrite.

	* gui/widgets/e-minicard-view-widget.c
	(e_minicard_view_widget_class_init): make column_width a double
	property.
	(e_minicard_view_widget_set_property): don't cast to (int).
	column_width is double in the e-minicard-view.
	(e_minicard_view_widget_realize): same.
	(e_minicard_view_widget_get_property): use g_value_set_double for
	column_width.

svn path=/trunk/; revision=18831
2002-11-19 00:14:40 +00:00
be6e6ee964 oops, missed some "oaf"'s.
2002-11-17  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/Makefile.am (servers_DATA): oops,
	missed some "oaf"'s.

svn path=/trunk/; revision=18817
2002-11-18 08:29:07 +00:00
0c6abae860 sink the popup. (e_contact_editor_build_email_ui): same.
2002-11-16  Chris Toshok  <toshok@ximian.com>

	* gui/contact-editor/e-contact-editor.c
	(e_contact_editor_build_phone_ui): sink the popup.
	(e_contact_editor_build_email_ui): same.
	(e_contact_editor_build_address_ui): same.

	* gui/component/addressbook-config.c (ldap_dialog_new): show
	everything from dialog->page down, so custom widgets show up.

svn path=/trunk/; revision=18812
2002-11-17 07:50:39 +00:00
a47eb7a9a1 Added rule to generate GNOME_Evolution_Addressbook.server.in from
* gui/component/Makefile.am: Added rule to generate
GNOME_Evolution_Addressbook.server.in from
GNOME_Evolution_Addressbook.server.in.in, substituting
@LIBEXECDIR@.

* GNOME_Evolution_Addressbook.server.in.in: Renamed from
GNOME_Evolution_Addressbook.server.in.  Added @LIBEXECDIR@ before
the location of the executable.

* gui/component/select-names/select-names.glade: Ported to Glade
2.

* gui/component/select-names/recipient.glade: Ported to Glade 2.

svn path=/trunk/; revision=18794
2002-11-15 22:13:52 +00:00
283ba95b54 Use bonobo_main_quit
* gui/component/addressbook-component.c: Use bonobo_main_quit

svn path=/trunk/; revision=18788
2002-11-15 21:49:28 +00:00
4f5907874d clean this up a tad.
2002-11-14  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/gal-view-factory-minicard.c: clean this up a tad.

	* gui/widgets/e-addressbook-view.c (init_collection): re-enable
	this.
	(setup_menus): same.

	* gui/widgets/gal-view-minicard.[ch]: more GObject work.

svn path=/trunk/; revision=18776
2002-11-15 02:54:26 +00:00
7d53a155c8 push_in = FALSE, no clue why... :) (_arrow_pressed): call
2002-11-12  Chris Toshok  <toshok@ximian.com>

	* gui/contact-editor/e-contact-editor.c (_popup_position): push_in
	= FALSE, no clue why... :)
	(_arrow_pressed): call g_signal_stop_emission here, seems to fix
	things.

	* gui/component/select-names/e-select-names.c
	(e_select_names_init): fix warnings.

	* gui/component/select-names/e-select-names-manager.c
	(e_select_names_manager_activate_dialog): fix warning.

	* gui/component/addressbook.c (forget_passwords_cb): remove the
	PENDING_PORT ifdef.
	(load_uri_auth_cb): same.
	(addressbook_authenticate): same.

	* gui/component/addressbook-factory.c (main): same.

	* gui/component/addressbook-storage.c (load_source_data): be
	silent about text nodes if they contain nothing but whitespace.

svn path=/trunk/; revision=18728
2002-11-13 02:14:32 +00:00
83f816df15 guard against multiple invocations.
2002-11-11  Chris Toshok  <toshok@ximian.com>

	* backend/pas/pas-card-cursor.c (pas_card_cursor_dispose): guard
	against multiple invocations.

	* backend/pas/pas-backend-ldap.c (view_destroy): change signature
	to that of a weak ref notify function.
	(cursor_destroy): same.
	(pas_backend_ldap_book_destroy_cb): same.
	(get_cursor_handler): ::destroy -> weak_ref.
	(pas_backend_ldap_process_get_book_view): same.
	(pas_backend_ldap_add_client): same.

	* backend/pas/pas-backend-file.c (cursor_destroy): change
	signature to that of a weak ref notify function.
	(view_destroy): same.
	(pas_backend_file_book_destroy_cb): same.
	(pas_backend_file_process_get_cursor): ::destroy -> weak_ref.
	(pas_backend_file_process_get_book_view): same.
	(pas_backend_file_process_get_completion_view): same.
	(pas_backend_file_process_get_changes): same.
	(pas_backend_file_add_client): same.

	* backend/ebook/test-client.c (get_cursor_cb): unref the book and
	exit here.
	(get_card_cb): pass a query string to get_cursor.

	* backend/ebook/e-book-view.c (e_book_view_class_init): correct
	marshaller for "card_added".

svn path=/trunk/; revision=18720
2002-11-12 04:06:30 +00:00
d7aee7e7ed change signature to that of a weak ref notify function. (main): ::destroy
2002-11-11  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/test-reflow.c (destroy_callback): change signature
	to that of a weak ref notify function.
	(main): ::destroy -> weak_ref.

	* gui/widgets/test-minicard.c (destroy_callback): change signature
	to that of a weak ref notify function.
	(main): ::destroy -> weak_ref.

	* gui/widgets/test-minicard-view.c (destroy_callback): change
	signature to that of a weak ref notify function.
	(main): ::destroy -> weak_ref.

	* gui/widgets/test-minicard-label.c (destroy_callback): change
	signature to that of a weak ref notify function.
	(main): ::destroy -> weak_ref.

	* gui/widgets/e-minicard-widget.c (e_minicard_widget_init): ifdef
	out the call to gnome_canvas_set_scroll_region.  It doesn't seem
	necessary judging from the rest of the code, and it also crashes
	the addressbook if it's in.

	* gui/widgets/e-minicard-widget-test.c (destroy_callback): change
	signature to that of a weak ref notify function.
	(main): ::destroy -> weak_ref.

	* gui/widgets/e-minicard-control.c (free_struct): change signature
	to that of a weak ref notify function.
	(e_minicard_control_factory): ::destroy -> weak_ref.

	* gui/widgets/e-addressbook-view.c (e_addressbook_view_init):
	::destroy -> weak_ref.
	(e_addressbook_view_print): same.
	(free_closure): change signature to that of a weak ref notify
	function.
	(e_contact_print_destroy): same.
	(invisible_destroyed): same.

	* gui/widgets/e-addressbook-util.c
	(e_addressbook_prompt_save_dialog): convert from GnomeDialog to
	GtkDialog.
	(e_addressbook_show_multiple_cards): same.

	* gui/contact-list-editor/e-contact-list-editor.c
	(prompt_to_save_changes): change response ids to use
	GTK_RESPONSE_.

	* gui/component/select-names/e-select-names-manager.c
	(clear_widget): new function.
	(e_select_names_manager_activate_dialog): ::destroy -> weak_ref.

	* gui/component/select-names/e-select-names.c (clear_widget):
	change signature to that of a weak ref notify function.
	(e_select_names_init): ::destroy -> weak_ref.

	* gui/component/e-address-popup.c (mini_wizard_destroy_cb): change
	signature to that of a weak ref notify function.
	(mini_wizard_new): ::destroy -> weak_ref.

	* gui/component/addressbook-config.c
	(addressbook_source_dialog_destroy): change signature to that of a
	weak ref notify function.
	(ldap_config_control_destroy_callback): same.
	(addressbook_add_server_druid): ::destroy -> weak_ref.
	(addressbook_edit_server_dialog): same.
	(ldap_config_control_new): same.

	* gui/component/addressbook.c (destroy_callback): change signature
	to that of a a weak ref notify function.
	(addressbook_factory_new_control): ::destroy -> weak_ref.

	* gui/merging/e-card-merging.c (response): rename clicked to this,
	and destroy the dialog here.
	(match_query_callback): ::clicked -> ::response

	* gui/merging/e-card-merging-book-commit-duplicate-detected.glade:
	convert.

	* gui/merging/e-card-duplicate-detected.glade: same.

svn path=/trunk/; revision=18719
2002-11-12 04:01:10 +00:00
a1a10f1ebe change around a little, still ifdefed though.
2002-11-11  Chris Toshok  <toshok@ximian.com>

	* gui/contact-editor/e-contact-editor.c (_arrow_pressed): change
	around a little, still ifdefed though.

	* gui/contact-editor/e-contact-save-as.c (file_exists): same.
	(save_it): deal with the GtkDialog response ids.

	* gui/contact-editor/e-contact-editor.c
	(e_contact_editor_confirm_delete): just build the dialog here
	(using gtk_message_dialog*).

	* gui/contact-editor/Makefile.am (glade_DATA): remove
	file-exists.glade and e-contact-editor-confirm-delete.glade.

svn path=/trunk/; revision=18712
2002-11-11 23:06:00 +00:00
9aa24e5bd2 guard against multiple invocations.
2002-11-10  Chris Toshok  <toshok@ximian.com>

	* backend/pas/pas-backend-card-sexp.c
	(pas_backend_card_sexp_dispose): guard against multiple
	invocations.

	* backend/pas/pas-card-cursor.c (pas_card_cursor_dispose): same.

	* backend/pas/pas-book.c (pas_book_dispose): same.

	* backend/pas/pas-book-view.c (pas_book_view_dispose): same.

	* backend/pas/pas-book-factory.c (pas_book_factory_dispose): same.

	* backend/pas/pas-backend-summary.c (pas_backend_summary_dispose): same.

	* backend/pas/pas-backend-ldap.c (pas_backend_ldap_dispose): same.

	* backend/pas/pas-backend-file.c (pas_backend_file_dispose): same.

	* backend/ebook/e-book-listener.c (e_book_listener_dispose): guard
	against multiple invocations.

	* backend/ebook/e-card.c (e_card_dispose): same.

	* backend/ebook/e-card-simple.c (e_card_simple_dispose): same.

	* backend/ebook/e-card-cursor.c (e_card_cursor_dispose): same.

	* backend/ebook/e-book.c (e_book_dispose): same.

	* backend/ebook/e-book-view-listener.c (e_book_view_listener_dispose): same.

svn path=/trunk/; revision=18687
2002-11-10 09:49:37 +00:00
28bc0361b9 guard against multiple invocations. (remove_book_view): same.
2002-11-08  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-addressbook-model.c (free_data): guard against
	multiple invocations.
	(remove_book_view): same.
	(addressbook_dispose): same.

	* gui/widgets/e-addressbook-view.c (e_addressbook_view_dispose):
	same.

	* gui/widgets/e-minicard-view-widget.c
	(e_minicard_view_widget_dispose): same.

	* gui/widgets/e-minicard-view.c (e_minicard_view_dispose): same.

	* gui/widgets/e-minicard-widget.c (e_minicard_widget_dispose):
	same.

svn path=/trunk/; revision=18685
2002-11-09 04:10:06 +00:00
0e0185635f oops, missed these casts.
2002-11-08  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-addressbook-reflow-adapter.c
	(addressbook_get_property): oops, missed these casts.

	* gui/component/addressbook.c (get_master_list): remove the
	PENDING_PORT_WORK ifdef, just ported ECategoriesMasterList.
	(make_suboptions): same.

	* gui/contact-editor/e-contact-editor.c (categories_clicked):
	same.

svn path=/trunk/; revision=18684
2002-11-09 03:55:02 +00:00
93e3a5b7a2 port work.
2002-11-08  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/test-reflow.c: port work.

	* gui/widgets/test-minicard-view.c: port work.

	* gui/widgets/e-minicard.[ch]: port work.

	* gui/widgets/e-minicard-widget.c: port work.

	* gui/widgets/e-minicard-view.c: port work.

	* gui/widgets/e-minicard-view-widget.c
	(e_minicard_view_widget_size_allocate): gtk_->g_ change i missed.
	(e_minicard_view_widget_reflow): same.

	* gui/widgets/e-minicard-label.c: port work.

	* gui/widgets/e-minicard-control.c (get_prop): gtk_->g_ change i
	missed.

	* gui/widgets/e-addressbook-view.c (setup_menus): ifdef this
	PENDING_PORT_WORK for now.
	(has_email_address_1): gtk_->g_ change i missed.
	(print): remove the PENDING_PORT_WORK from here, as the print_*
	symbols now resolve.
	(delete): gtk_->g_ changes.
	(new_card): same.
	(new_list): same.
	(sources): same.
	(create_minicard_view): same.
	(table_double_click): same.
	(create_table_view): same.
	(e_contact_print_destroy): same.
	(e_contact_print_button): same.
	(e_addressbook_view_print): same, and remove the PENDING_PORT_WORK
	ifdef.
	(e_addressbook_view_print_preview): same.
	(do_remove): gtk_->g_ changes.
	(e_addressbook_view_save_state): same.
	(view_transfer_cards): same.

	* gui/widgets/e-addressbook-view.h (struct _EAddressbookView):
	GtkObject -> GObject.

	* gui/widgets/e-addressbook-util.c (e_addressbook_error_dialog):
	GnomeDialog -> GtkDialog.

	* gui/widgets/e-addressbook-table-adapter.c
	(addressbook_set_value_at): a gtk_->g_ change i missed.
	(e_addressbook_table_adapter_class_init): gtk_type_class ->
	g_type_class_peek_parent.

	* gui/widgets/e-addressbook-reflow-adapter.c
	(addressbook_get_property): use g_object_get_property for
	aggregated properties.
	(e_addressbook_reflow_adapter_class_init): gtk_type_class ->
	g_type_class_peek_parent.

	* gui/merging/e-card-merging.c (match_query_callback): some misc
	gtk_->g_ changes i missed.

svn path=/trunk/; revision=18682
2002-11-09 03:26:48 +00:00
0b1546202c parent class is GObjectClass.
2002-11-08  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-model.h: parent class
	is GObjectClass.

	* gui/component/select-names/e-simple-card-bonobo.c
	(impl_dispose): guard against multiple invocations, and chain
	dispose.

	* gui/component/select-names/e-select-names.c
	(e_select_names_dispose): guard against multiple invocations.

	* gui/component/select-names/e-select-names-text-model.c
	(e_select_names_text_model_dispose): guard against multiple
	invocations.
	(e_select_names_text_model_set_source): fix casts.

	* gui/component/select-names/e-select-names-table-model.c
	(e_select_names_table_model_add_source): remove the GTK_OBJECT
	cast, fixes a warning.
	(clear_info): guard against multiple invocations from ::dispose.

	* gui/component/select-names/e-select-names-manager.c
	(e_select_names_manager_dispose): same.

	* gui/component/select-names/e-select-names-completion.c
	(e_select_names_completion_dispose): same.

	* gui/component/select-names/e-select-names-bonobo.c
	(impl_dispose): guard against multiple invocations.

svn path=/trunk/; revision=18681
2002-11-09 03:11:33 +00:00
83983af437 convert to glade-2
2002-11-08  Chris Toshok  <toshok@ximian.com>

	* gui/contact-list-editor/contact-list-editor.glade: convert to glade-2

	* gui/contact-list-editor/e-contact-list-editor.c: port work.

	* gui/contact-list-editor/e-contact-list-model.[ch]: port work.

svn path=/trunk/; revision=18668
2002-11-08 11:49:43 +00:00
e9267e9f02 port work.
2002-11-08  Chris Toshok  <toshok@ximian.com>

	* gui/contact-editor/e-contact-editor-address.[ch]: port work.

	* gui/contact-editor/e-contact-editor-fullname.[ch]: port work.

	* gui/contact-editor/e-contact-editor.[ch]: port work.

	* gui/contact-editor/e-contact-quick-add.c: port work.

	* gui/contact-editor/e-contact-save-as.c: port work.

svn path=/trunk/; revision=18667
2002-11-08 11:24:00 +00:00
afd87cea9a prepend /apps/Evolution to config db paths.
2002-11-08  Chris Toshok  <toshok@ximian.com>

	* backend/ebook/e-book-util.c
	(set_default_book_uri_from_config_db): prepend /apps/Evolution to
	config db paths.

	* gui/component/select-names/e-select-names-manager.c (read_completion_books_from_db): same.
	(uris_listener): same.

svn path=/trunk/; revision=18664
2002-11-08 09:35:05 +00:00
6bba9fe3b2 more porting work.
2002-11-08  Chris Toshok  <toshok@ximian.com>

	* gui/contact-editor/e-contact-editor.c: more porting work.

	* e-contact-editor-fullname.[ch]: more porting work.

	* e-contact-editor.c: more porting work.

	* e-contact-quick-add.c: more porting work.

	* e-contact-save-as.c: more porting work.

	* test-editor.c: more porting work.

	* e-contact-editor-confirm-delete.glade, file-exists.glade,
	fulladdr.glade, fullname.glade: run these through
	libglade-convert.

svn path=/trunk/; revision=18663
2002-11-08 09:23:47 +00:00
ab44fe3e1d add lots of libs back in since they're building now.
2002-11-07  Chris Toshok  <toshok@ximian.com>

	* gui/component/Makefile.am (evolution_addressbook_LDADD): add
	lots of libs back in since they're building now.

	* gui/component/addressbook-config.c: more porting work.

	* gui/component/addressbook.c: more porting work.

	* gui/component/e-address-popup.[ch]: more porting work.

	* gui/component/e-address-widget.[ch]: more porting work.

	* gui/component/e-cardlist-model.[ch]: more porting work.

svn path=/trunk/; revision=18658
2002-11-08 06:24:55 +00:00
98a6157975 more porting work.
2002-11-07  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-bonobo.[ch]: more
	porting work.

	* gui/component/select-names/e-select-names-completion.[ch]: more
	porting work.

	* gui/component/select-names/e-select-names-manager.[ch]: more
	porting work.

	* gui/component/select-names/e-select-names-model.[ch]: more
	porting work.

	* gui/component/select-names/e-select-names-popup.c: more
	porting work.

	* gui/component/select-names/e-select-names-table-model.[ch]: more
	porting work.

	* gui/component/select-names/e-select-names-text-model.[ch]: more
	porting work.

	* gui/component/select-names/e-select-names.[ch]: more
	porting work.

svn path=/trunk/; revision=18657
2002-11-08 06:20:11 +00:00
84463baa0d tests are linking now, and link in libcamel.la.
2002-11-07  Chris Toshok  <toshok@ximian.com>

	* backend/ebook/Makefile.am: tests are linking now, and link in
	libcamel.la.

	* backend/ebook/e-destination.c (e_destination_get_name): un-ifdef
	since camel is compiling.
	(e_destination_get_email): same.
	(e_destination_get_address): same.
	(e_destination_get_textrep): same.

	* backend/ebook/e-card-compare.c (name_fragment_match): use e_utf8_casefold_*.
	(name_fragment_match_with_synonyms): same.
	(e_card_compare_name_to_string_full): same.
	(e_card_compare_name): same.

svn path=/trunk/; revision=18655
2002-11-08 02:27:41 +00:00
3d4f29c7c7 add prototypes for e_utf8_casefold_collate{_len}
2002-11-07  Chris Toshok  <toshok@ximian.com>

	* backend/ebook/e-book-util.h: add prototypes for e_utf8_casefold_collate{_len}

	* backend/ebook/e-book-util.c (e_utf8_casefold_collate_len): move
	utf8_casefold_collate_len here.
	(e_utf8_casefold_collate): move utf8_casefold_collate here.

svn path=/trunk/; revision=18654
2002-11-08 02:22:50 +00:00
b89320e2f3 port this to gnome2/gnomeprint2.
2002-11-06  Chris Toshok  <toshok@ximian.com>

	* printing/e-contact-print-envelope.c: port this to
	gnome2/gnomeprint2.

	* printing/e-contact-print-style-editor.c: same.

	* printing/e-contact-print.c: same.

	* printing/test-contact-print-style-editor.c: same.

	* printing/test-print.c: same.

	* printing/e-contact-print.glade: libglade-convert to libglade-2.

	* printing/Makefile.am (contact_print_test_LDADD)
	(contact_print_style_editor_test_LDADD): remove libcamel.la from
	these for the time being to get things linking.

svn path=/trunk/; revision=18628
2002-11-07 07:38:30 +00:00
daf38bc8b0 gobjectify this.
2002-11-06  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/gal-view-minicard.[ch]: gobjectify this.

	* gui/widgets/e-minicard.[ch]: gobjectify this.
	(e_minicard_class_init): change the
	min/max values of the width/height paramspecs so that they can
	actually be set to something other than 0.0.

	* gui/widgets/e-minicard-widget.[ch]: gobjectify this.

	* gui/widgets/e-minicard-view.[ch]: gobjectify this.
	(set_empty_message): don't need e_utf8_from_locale_string anymore.

	* gui/widgets/e-minicard-view-widget.[ch]: gobjectify this.

	* gui/widgets/e-minicard-label.[ch]: gobjectify this.

	* gui/widgets/e-addressbook-view.[ch]: gobjectify this.

	* gui/widgets/e-addressbook-table-adapter.[ch]: gobjectify this.

	* gui/widgets/e-addressbook-reflow-adapter.[ch]: gobjectify this.

	* gui/widgets/e-addressbook-model.[ch]: gobjectify this.

	* gui/widgets/e-minicard-control.c (e_minicard_control_factory):
	fix bonobo_persist_stream_new api change.

	* gui/contact-list-editor/e-contact-list-model.c
	(e_contact_list_model_add_destination): get rid of the
	gtk_object_sink here.

	* gui/component/ldap-config.glade: glade-2 version of this file.

	* gui/component/e-address-popup.c (e_address_popup_refresh_names):
	don't need e_utf8_to_gtk_string anymore.

	* gui/component/addressbook.c (make_suboptions): don't need
	e_utf8_to_locale_string anymore.

	* gui/component/addressbook-config.c
	(addressbook_dialog_get_source): get rid of the e_utf8 gtk_entry
	functions.
	(addressbook_source_dialog_set_source): same.
	(general_tab_check): same.
	(port_changed_func): same.
	(connecting_tab_check): same.
	(query_for_supported_bases): same.
	(display_name_check): same.
	(display_name_page_prepare): same.
	(edit_source_clicked): same.
	(addressbook_config_create_new_source): same.

svn path=/trunk/; revision=18626
2002-11-07 04:45:26 +00:00
f1bf0afda9 use g_type_class_peek_parent.
2002-11-06  Chris Toshok  <toshok@ximian.com>

	* backend/pas/pas-backend-card-sexp.c
	(pas_backend_card_sexp_class_init): use g_type_class_peek_parent.

	* backend/pas/pas-card-cursor.c (pas_card_cursor_class_init): same.

	* backend/pas/pas-book-view.c (pas_book_view_class_init): same.

	* backend/pas/pas-book-factory.c (pas_book_factory_class_init): same.

	* backend/pas/pas-backend-summary.c (pas_backend_summary_class_init): same.

	* backend/pas/pas-backend-ldap.c (pas_backend_ldap_class_init): same.

	* backend/pas/pas-backend-file.c (pas_backend_file_class_init): same.

	* backend/ebook/e-book-marshal.list: ENUM -> INT.

	* backend/ebook/e-book-view.c (e_book_view_dispose): guard against
	this being called multiple times.
	(e_book_view_class_init): ENUM -> INT in the sequence_complete
	signal.

	* backend/ebook/e-book.c (e_book_do_response_open): un-ifdef the
	component_died signal stuff.

svn path=/trunk/; revision=18623
2002-11-07 03:44:41 +00:00
97c28e431c call g_build_filename, not g_build_path.
2002-11-06  Chris Toshok  <toshok@ximian.com>

	* backend/ebook/e-book-util.c (e_book_expand_uri): call
	g_build_filename, not g_build_path.

svn path=/trunk/; revision=18600
2002-11-06 11:13:50 +00:00
25be57f401 fix the gnome-xml headers.
2002-11-06  Chris Toshok  <toshok@ximian.com>

	* backend/ebook/e-destination.[ch]: fix the gnome-xml headers.

svn path=/trunk/; revision=18599
2002-11-06 10:56:00 +00:00
01044271e5 fix the gnome-xml headers.
2002-11-06  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/gal-view-minicard.c: fix the gnome-xml headers.

	* gui/widgets/e-addressbook-view.c
	(e_addressbook_view_class_init): convert from gtk signals and args
	to GSignal and GObject properties.
	(e_addressbook_view_dispose): rename _destroy to this.
	(e_addressbook_view_set_property): rework _set_arg to this.
	(e_addressbook_view_get_property): rework _get_arg to this.
	(display_view): if we're here we need to choose a view, regardless
	of whether or not the GAL_IS_VIEW_* macros tell us which type it
	is.

	* gui/widgets/e-addressbook-table-adapter.c: fix the gnome-xml
	headers.

	* gui/widgets/e-addressbook-model.c
	(e_addressbook_model_class_init): use INT, not ENUM in the signal here.

	* gui/component/addressbook-config.c: another big gtk_* -> g_*
	renaming.

	* gui/component/addressbook.c: same.

	* gui/component/e-address-popup.c: same.

	* gui/component/e-address-widget.c: same.

	* gui/component/e-cardlist-model.c: fix the gnome-xml headers, and
	more gtk_* -> g_* renaming.

	* gui/component/addressbook-component.c (owner_set_cb): use
	evolution_shell_client_corba_objref as per ettore's change to
	EvolutionShellClient..
	(create_view): fix the call to bonobo_control_set_property.
	(create_component): gtk_signal_connect -> g_signal_connect.

	* gui/component/addressbook-storage.c: fix the gnome-xml
	headers.
	(addressbook_storage_setup): use
	evolution_shell_client_corba_objref as per ettore's change to
	EvolutionShellClient..
	(addressbook_get_other_contact_storage): gtk_signal_connect ->
	g_signal_connect.
	(load_source_data): root->childs -> root->childrens.

svn path=/trunk/; revision=18598
2002-11-06 10:48:35 +00:00
080eaec6cb only build the backend and gui dirs for now. printing and conduits are
2002-11-06  Chris Toshok  <toshok@ximian.com>

	* Makefile.am (SUBDIRS): only build the backend and gui dirs for
	now.  printing and conduits are no-man's land at present.

	* addressbook/gui/merging/e-card-merging.[ch]: Port to
	GObject/gnome2.

svn path=/trunk/; revision=18595
2002-11-06 08:41:35 +00:00
3f73fe7fd0 ignore the new .server file.
2002-11-05  Chris Toshok  <toshok@ximian.com>

	* gui/component/.cvsignore: ignore the new .server file.

	* gui/component/Makefile.am: typical port stuff.  switch the .oaf
	to .server, and leave out a lot of libs so we can actually get
	things linking.

	* gui/component/GNOME_Evolution_Addressbook.server.in: rename
	.oaf.in here.

	* gui/component/addressbook-component.c: Port to GObject/gnome2.

	* gui/component/addressbook-config.c: Port to GObject/gnome2.

	* gui/component/addressbook-factory.c: Port to GObject/gnome2.

	* gui/component/addressbook-storage.c: Port to GObject/gnome2.

	* gui/component/addressbook.[ch]: Port to GObject/gnome2.

	* gui/component/e-address-popup.[ch]: Port to GObject/gnome2.

	* gui/component/e-address-widget.[ch]: Port to GObject/gnome2.

	* gui/component/e-cardlist-model.h: Port to GObject/gnome2.

svn path=/trunk/; revision=18591
2002-11-06 08:26:18 +00:00
5ae49242fc ignore the marshal generated stuff.
2002-11-05  Chris Toshok  <toshok@ximian.com>

	* gui/contact-list-editor/.cvsignore: ignore the marshal generated
	stuff.

	* gui/contact-list-editor/Makefile.am: typical port stuff.  add
	marshaller generation foo, dist it...

	* gui/contact-list-editor/e-contact-list-editor.[ch]: Port to
	GObject/gnome2.

	* gui/contact-list-editor/e-contact-list-model.[ch]: Port to
	GObject/gnome2.

svn path=/trunk/; revision=18590
2002-11-06 08:22:36 +00:00
4d53826308 ignore the marshal generated stuff.
2002-11-05  Chris Toshok  <toshok@ximian.com>

	* gui/contact-editor/.cvsignore: ignore the marshal generated
	stuff.

	* gui/contact-editor/Makefile.am: typical port stuff.  add
	marshaller generation foo, dist it...

	* gui/contact-editor/e-contact-editor-address.[ch]: Port to GObject/gnome2.

	* gui/contact-editor/e-contact-editor-fullname.c: Port to GObject/gnome2.

	* gui/contact-editor/e-contact-editor.c: Port to GObject/gnome2.

	* gui/contact-editor/e-contact-quick-add.c: Port to GObject/gnome2.

	* gui/contact-editor/e-contact-save-as.[ch]: Port to GObject/gnome2.

	* gui/contact-editor/test-editor.c: Port to GObject/gnome2.

svn path=/trunk/; revision=18589
2002-11-06 08:20:46 +00:00
d73b3bb496 Port to GObject/gnome2.
2002-11-05  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-addressbook-model.[ch]: Port to GObject/gnome2.

	* gui/widgets/e-addressbook-reflow-adapter.c: Port to
	GObject/gnome2.

	* gui/widgets/e-addressbook-table-adapter.c: Port to
	GObject/gnome2.

	* gui/widgets/e-addressbook-util.c: Port to GObject/gnome2.

	* gui/widgets/e-addressbook-view.[ch]: Port to GObject/gnome2.

	* gui/widgets/e-minicard-control.c: Port to GObject/gnome2.

	* gui/widgets/e-minicard-label.[ch]: Port to GObject/gnome2.

	* gui/widgets/e-minicard-view-widget.[ch]: Port to GObject/gnome2.

	* gui/widgets/e-minicard-view.[ch]: Port to GObject/gnome2.

	* gui/widgets/e-minicard-widget-test.c: Port to GObject/gnome2.

	* gui/widgets/e-minicard-widget.c: Port to GObject/gnome2.

	* gui/widgets/e-minicard.[ch]: Port to GObject/gnome2.

	* gui/widgets/gal-view-factory-minicard.c: Port to GObject/gnome2.

	* gui/widgets/gal-view-minicard.c: Port to GObject/gnome2.

	* gui/widgets/test-minicard-label.c: Port to GObject/gnome2.

	* gui/widgets/test-minicard-view.c: Port to GObject/gnome2.

	* gui/widgets/test-minicard.c: Port to GObject/gnome2.

	* gui/widgets/test-reflow.c: Port to GObject/gnome2.

	* gui/widgets/Makefile.am: typical port stuff.  add marshaller
	generation foo, dist it...

	* gui/widgets/.cvsignore: ignore the marshaller stuff.

svn path=/trunk/; revision=18588
2002-11-06 08:17:14 +00:00
4e57b96f83 Port to GObject/gnome2.
2002-11-05  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-simple-card-bonobo.[ch]: Port to
	GObject/gnome2.

	* gui/component/select-names/e-select-names.[ch]: Port to
	GObject/gnome2.

	* gui/component/select-names/e-select-names-text-model.c: Port to
	GObject/gnome2.

	* gui/component/select-names/e-select-names-table-model.c: Port to
	GObject/gnome2.

	* gui/component/select-names/e-select-names-popup.[ch]: Port to
	GObject/gnome2.

	* gui/component/select-names/e-select-names-model.c: Port to
	GObject/gnome2.

	* gui/component/select-names/e-select-names-manager.[ch]: Port to
	GObject/gnome2.

	* gui/component/select-names/e-select-names-factory.c: Port to
	GObject/gnome2.

	* gui/component/select-names/e-select-names-completion.[ch]: Port
	to GObject/gnome2.

	* gui/component/select-names/e-select-names-bonobo.[ch]: Port to
	GObject/gnome2.

	* gui/component/select-names/Makefile.am: typical port stuff.  add
	marshaller generation foo, dist it, and switch the .oaf to .server

	* gui/component/select-names/.cvsignore: ignore the marshaller
	stuff.

svn path=/trunk/; revision=18587
2002-11-06 08:08:16 +00:00
1b1d829e5e ignore the generated marshaller files.
2002-11-05  Chris Toshok  <toshok@ximian.com>

	* backend/ebook/.cvsignore: ignore the generated marshaller files.

	* backend/ebook/e-destination.c (e_destination_dispose): rename
	e_destination_destroy.
	(e_destination_equal): ifdef this out for now, PENDING_PORT_WORK.
	(e_destination_get_name): same.
	(e_destination_get_email): same.
	(e_destination_get_address): same.
	(e_destination_get_textrep): same.

	* backend/ebook/Makefile.am: don't build the executables
	(importers and loaders) for now.  Also, s/oaf/server, and use
	INTLTOOL_SERVER_RULE.

	* backend/ebook/e-book-util.c (e_book_get_config_database):
	un-#ifdef this.
	(e_book_default_book_open): un-#ifdef ths code in here that relies
	on the e_config_listener.

svn path=/trunk/; revision=18586
2002-11-06 07:39:06 +00:00
6146f8e036 copy a memleak fix from pas-backend-ad.
* backend/pas/pas-backend-ldap.c (send_pending_adds): copy a
	memleak fix from pas-backend-ad.

svn path=/trunk/; revision=18552
2002-11-05 14:25:25 +00:00
3a40fbaf60 g_date_* => g_date_get_*, fixes G_DISABLE_DEPRECATED build.
2002-11-05  Chris Toshok  <toshok@ximian.com>

	* backend/ebook/e-card.c: g_date_* => g_date_get_*, fixes
	G_DISABLE_DEPRECATED build.

	* backend/ebook/e-book-listener.[ch]: remove the servant crap i'd
	c&p'ed and put in here.

	* backend/ebook/e-book-view-listener.[ch]: remove the servant crap
	i'd c&p'ed and put in here.

	* backend/pas/pas-book-factory.[ch]: subclass from BonoboObject,
	and remove the servant crap from here too.  whee.

	* backend/pas/pas-card-cursor.[ch]: remove the servant crap i'd
	c&p'ed and put in here.

	* backend/pas/pas-book.[ch]: remove the servant crap i'd c&p'ed
	and put in here.

	* backend/pas/pas-book-view.[ch]: remove the servant crap i'd
	c&p'ed and put in here.

svn path=/trunk/; revision=18548
2002-11-05 12:16:52 +00:00
8e9511af0e port to gnome 2.
2002-11-05  Chris Toshok  <toshok@ximian.com>

	* backend/pas/pas-backend-card-sexp.[ch]: port to gnome 2.

	* backend/pas/pas-backend-file.[ch]: same.

	* backend/pas/pas-backend-file.[ch]: same.

	* backend/pas/pas-backend-ldap.[ch]: same.

	* backend/pas/pas-backend-summary.[ch]: same.

	* backend/pas/pas-backend.[ch]: same.

	* backend/pas/pas-book-factory.[ch]: same.

	* backend/pas/pas-book-view.[ch]: same.

	* backend/pas/pas-book.[ch]: same.

	* backend/pas/pas-card-cursor.[ch]: same.

	* backend/pas/pas-marshal.list: list of marshallers.

	* backend/pas/Makefile.am (libpas_a_SOURCES): add pas-marshal.c
	also add the marshal building foo.

	* backend/pas/.cvsignore: ignore pas-marshal.[ch]

svn path=/trunk/; revision=18544
2002-11-05 11:09:59 +00:00
02e66b1085 don't call bonobo_activation_init directly.
2002-11-05  Chris Toshok  <toshok@ximian.com>

	* backend/ebook/test-client-list.c (main): don't call
	bonobo_activation_init directly.

	* backend/ebook/test-client.c (get_card_cb): don't unref the card
	here since we never reffed it.
	(main): no need to call bonobo_activation_init, as
	gnome_program_init did it for us.

	* backend/ebook/e-card-simple.c (e_card_simple_get_property):
	s/g_value_{set,get}_pointer/g_value_{set,get}_object

	* backend/ebook/e-book-util.c (set_default_book_uri_local): make
	sure to terminate args with NULL for g_build_filename.

	* backend/ebook/e-book-listener.c: nuke e_book_listener_get_type
	and use the BONOBO_TYPE_FUNC_FULL macro.

	* backend/ebook/e-book-listener.h: add the epv to
	EBookListenerClass so BONOBO_TYPE_FUNC_FULL works.

	* backend/ebook/e-book-view-listener.c: nuke
	e_book_view_listener_get_type and use the BONOBO_TYPE_FUNC_FULL
	macro.

	* backend/ebook/e-book-view-listener.h: add the epv to
	EBookViewListenerClass so BONOBO_TYPE_FUNC_FULL works.

svn path=/trunk/; revision=18543
2002-11-05 11:03:01 +00:00
f54b808bf2 just include glib.h instead of the gtk stuff.
2002-11-02  Chris Toshok  <toshok@ximian.com>

	* backend/ebook/e-book-types.h: just include glib.h instead of the
	gtk stuff.

	* backend/ebook/e-book-listener.[ch]: convert to
	GObject/bonobo-activation/etc/etc.
	* e-book-util.[ch]: same.
	* e-book-view-listener.[ch]: same.
	* e-book-view.[ch]: same.
	* e-book.[ch]: same.
	* e-card-compare.[ch]: same.
	* e-card-cursor.[ch]: same.
	* e-card-simple.[ch]: same.
	* e-card.[ch]: same.
	* e-destination.[ch]: same.
	* evolution-ldif-importer.c: same.
	* evolution-vcard-importer.c: same.
	* load-gnomecard-addressbook.c: same.
	* load-pine-addressbok.c: same.
	* test-card.c: same.
	* test-client-list.c: same.
	* test-client.c: same.

	* backend/ebook/Makefile.am: add e-book-marshal.c to SOURCES, add
	e-book-marshal.[ch] to CLEANFILES, and add e-book-marshal.list to
	EXTRA_DIST.  Also, remove the camel libs from the test LDADD's,
	and leave e-destination.[ch] out of the build.

	* backend/ebook/.cvsignore: ignore e-book-marshal.[ch]

	* backend/ebook/e-book-marshal.list: marshallers for e-book.

svn path=/trunk/; revision=18505
2002-11-03 06:14:01 +00:00
c8498cbd61 never set the charset on an item without also encoding it. Mime messages
2002-10-28  Larry Ewing  <lewing@ximian.com>

	* backend/ebook/e-card.c (addPropValueUTF8): never set the charset
	on an item without also encoding it.  Mime messages don't like
	parts with multiple charsets.

svn path=/trunk/; revision=18451
2002-10-28 09:13:24 +00:00
8e608706e0 Disconnect from the book's backend_died signal.
* gui/widgets/e-addressbook-model.c (addressbook_destroy):
        Disconnect from the book's backend_died signal.

svn path=/trunk/; revision=18446
2002-10-27 15:57:41 +00:00
110c6bb990 install evolutionperson.schema to $(datadir)/evolution.
2002-10-24  Chris Toshok  <toshok@ximian.com>

       * backend/pas/Makefile.am: install evolutionperson.schema to
       $(datadir)/evolution.

svn path=/trunk/; revision=18444
2002-10-26 10:00:52 +00:00
faaf0868fd [ fixes #29144 ] use e_table_memory_storage_change instead of
2002-10-24  Chris Toshok  <toshok@ximian.com>

	[ fixes #29144 ]
	* gui/component/addressbook-config.c (edit_dialog_store_change):
	use e_table_memory_storage_change instead of remove/insert, so the
	selection is maintained.

svn path=/trunk/; revision=18435
2002-10-25 06:30:47 +00:00
253ba0c94e Set /Addressbook/select_names_uri in the configdb to the selected folder.
* gui/component/select-names/e-select-names.c
	(folder_selected): Set /Addressbook/select_names_uri in the
	configdb to the selected folder.
	(e_select_names_init): Look for /Addressbook/select_names_uri
	before /DefaultFolders/contacts_uri for the initial folder. So the
	select names dialog now starts up using the same folder you used
	last time, which is useful when you have an LDAP company directory
	(which can't be your default contacts folder because it's
	read-only).

svn path=/trunk/; revision=18416
2002-10-23 15:16:30 +00:00
03f3b29a27 fix the sense of a strcmp
* gui/component/addressbook-component.c (IS_CONTACT_TYPE): fix the
	sense of a strcmp

svn path=/trunk/; revision=18408
2002-10-22 14:34:48 +00:00
1a9ff832f7 [ fix for #23764 ] handle multiple letters associated with a single
2002-10-20  Chris Toshok  <toshok@ximian.com>

	[ fix for #23764 ]
	* gui/widgets/e-addressbook-view.c (jump_to_letters): handle
	multiple letters associated with a single button.
	(button_toggled): closure->letter -> closure->letters.
	(free_closure): free closure->letters.
	(create_alphabet): init closure->letters.

svn path=/trunk/; revision=18407
2002-10-22 07:22:10 +00:00