Commit Graph

615 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
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
87ad5b0829 ignore .server.in
svn path=/trunk/; revision=18805
2002-11-17 01:11:18 +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
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
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
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
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
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
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
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
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
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
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
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
f2a3913ffe [ Fix #7094, #7064, #7095, #31944, #31945 ] Hook up new etspec file.
2002-10-10  Kjartan Maraas  <kmaraas@gnome.org>

	[ Fix #7094, #7064, #7095, #31944, #31945 ]
	* gui/component/Makefile.am: Hook up new etspec file.
	* gui/component/addressbook-config.c: Remove ETable spec.
	* gui/component/addressbook-config.etspec: New file.
	* gui/component/ldap-config.glade: Fix typo.
	* gui/component/select-names/e-select-names.c: Remove inline spec.
	* gui/component/select-names/e-select-names.etspec: New file.
	* gui/contact-list-editor/Makefile.am: Hook up etspec.
	* gui/contact-list-editor/e-contact-list-editor.c: Remove inline spec.
	* gui/contact-list-editor/e-contact-list-editor.etspec: New file.
	* gui/widgets/Makefile.am: Hook up new spec.
	* gui/widgets/e-addressbook-view.c: Remove inline spec.
	* gui/widgets/e-addressbook-view.etspec: New file.

svn path=/trunk/; revision=18361
2002-10-09 23:03:04 +00:00
deac52b20c free adapter->priv.
2002-09-23  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-addressbook-table-adapter.c (addressbook_destroy):
	free adapter->priv.

	* gui/widgets/e-addressbook-model.c (addressbook_destroy): free
	model->query.

	* gui/component/select-names/e-select-names-manager.c
	(load_completion_books): use e_book_expand_uri here, and free the
	expanded uri after calling addressbook_load_uri, plugging a leak.

	* gui/component/select-names/e-select-names.c (set_book): unref
	esn->model before we unref esn.  fixes an edge case memory
	corruption bug.
	(clear_widget): utility function to set a widget's ref to NULL
	when it's destroyed.
	(e_select_names_init): hook the status_message, categories option
	menu, and select_entry to clear_widget.
	(addressbook_model_set_uri): use e_book_expand_uri.

svn path=/trunk/; revision=18292
2002-10-02 06:14:29 +00:00
1dcca79ec4 Change folder type to "contacts/ldap". (addressbook_storage_add_source):
* gui/component/addressbook-storage.c (load_source_data): Change
	folder type to "contacts/ldap".
	(addressbook_storage_add_source): Likewise.
	(create_ldap_folder): Check for type being "contacts" not
	ldap contacts, since the ldap-specific type doesn't appear in the
	menu.

svn path=/trunk/; revision=18241
2002-09-26 20:43:40 +00:00
521b129893 Rename "ldap-contacts" to "contacts/ldap" and add "contacts/public".
* gui/component/addressbook-component.c (folder_types): Rename
	"ldap-contacts" to "contacts/ldap" and add "contacts/public".
	(IS_CONTACT_TYPE): update for new types.

	* gui/component/select-names/e-select-names.c
	(e_select_names_init): Use "contacts/*" for selector_types.

	* gui/widgets/e-addressbook-util.c (e_addressbook_transfer_cards):
	Likewise.

	* gui/component/GNOME_Evolution_Addressbook.oaf.in: add
	"evolution:config_item:type" = "contacts/ldap" to the LDAP sources
	control so it comes up by default when you open Preferences in an
	LDAP folder.

svn path=/trunk/; revision=18221
2002-09-25 21:40:49 +00:00
7aaf603811 free adapter->priv.
2002-09-23  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-addressbook-table-adapter.c (addressbook_destroy):
	free adapter->priv.

	* gui/widgets/e-addressbook-model.c (addressbook_destroy): free
	model->query.

	* gui/component/select-names/e-select-names-manager.c
	(load_completion_books): use e_book_expand_uri here, and free the
	expanded uri after calling addressbook_load_uri, plugging a leak.

	* gui/component/select-names/e-select-names.c (set_book): unref
	esn->model before we unref esn.  fixes an edge case memory
	corruption bug.
	(clear_widget): utility function to set a widget's ref to NULL
	when it's destroyed.
	(e_select_names_init): hook the status_message, categories option
	menu, and select_entry to clear_widget.
	(addressbook_model_set_uri): use e_book_expand_uri.

svn path=/trunk/; revision=18217
2002-09-25 18:50:34 +00:00
90c8115f2f oops, add cached_folder_list to struct _ESelectNamesManager.
2002-09-22  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-manager.h: oops, add
	cached_folder_list to struct _ESelectNamesManager.

svn path=/trunk/; revision=18161
2002-09-23 03:01:27 +00:00
b1f059527b [ Fixes #30481 ] initialize the select names dialog with the default
2002-09-22  Chris Toshok  <toshok@ximian.com>

	[ Fixes #30481 ]
	* gui/component/select-names/e-select-names.c
	(e_select_names_init): initialize the select names dialog with the
	default contacts folder.

svn path=/trunk/; revision=18160
2002-09-23 02:08:33 +00:00
40dc05f68b [ Fixes #28165, 29171 ] check to see if the value has really changed. the
2002-09-22  Chris Toshok  <toshok@ximian.com>

	[ Fixes #28165, 29171 ]
	* gui/component/select-names/e-select-names-manager.c
	(uris_listener): check to see if the value has really changed.
	the way the preferences dialog works is such that we'll get called
	when any of the Folder Options are changed (default folders,
	offline stuff, etc.)  we really only want to tear down and build
	back up the completion books if the autocomplete folder setting
	changed.
	(read_completion_books_from_db): cache the folder list, and call
	load_completion_books.
	(load_completion_books): new function, loads from the
	cached_folder_list.
	(e_select_names_manager_init): init cached_folder_list to NULL.
	(e_select_names_manager_destroy): g_free (cached_folder_list).

svn path=/trunk/; revision=18154
2002-09-22 21:38:18 +00:00
04e7442218 [ Fixes #30483 ] argh, contains => beginswith.
2002-09-20  Chris Toshok  <toshok@ximian.com>

	[ Fixes #30483 ]
	* gui/component/select-names/e-select-names-completion.c
	(name_style_query): argh, contains => beginswith.

svn path=/trunk/; revision=18150
2002-09-21 07:51:05 +00:00
c869d42524 don't add the user creatable item for ldap-contact folders atm, since it
2002-09-17  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook-component.c (add_creatable_item):
	don't add the user creatable item for ldap-contact folders atm,
	since it results in their being duplicate New Contact and New
	Contact List menu items.

svn path=/trunk/; revision=18098
2002-09-17 21:02:12 +00:00
fc69689719 Fix a typo.
2002-09-17  Kjartan Maraas  <kmaraas@gnome.org>

	* gui/component/ldap-config.glade: Fix a typo.

svn path=/trunk/; revision=18087
2002-09-17 16:35:04 +00:00
bc0adf69c7 institute an arbitrary minimum limit on the number of characters before we
2002-09-11  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-completion.c
	(e_select_names_completion_start_query): institute an arbitrary
	minimum limit on the number of characters before we actually try
	to autocomplete.  It's 3, btw.

svn path=/trunk/; revision=18053
2002-09-12 04:16:51 +00:00
64d454a16c [ fixes #30208 ] if the user clicked cancel in the password dialog, let
2002-09-11  Chris Toshok  <toshok@ximian.com>

	[ fixes #30208 ]
	* gui/component/addressbook.c (load_uri_auth_cb): if the user
	clicked cancel in the password dialog, let them off the hook and
	bind anonymously.  Otherwise (if they failed to auth), prompt them
	for the password again.
	(addressbook_authenticate): new function, split out 99% of the
	auth machinery here so it can be called multiple times.  Also,
	call the callback with E_BOOK_STATUS_CANCELLED if the user clicked
	the cancel button in the dialog.
	(load_uri_cb): call addressbook_authenticate if the book has auth
	enabled.
	(addressbook_load_uri): use g_new0.

svn path=/trunk/; revision=18049
2002-09-11 22:08:40 +00:00
e851f7945f Changed the description of the Directory Servers page of the settings
2002-09-05  Anna Dirks  <anna@ximian.com>
	* gui/component/GNOME_Evolution_Addressbook.oaf.in : Changed the
	description of the Directory Servers page of the settings dialog
	to be a little less wordy {This page can be used to configure blah-->
	Configure blah.}

svn path=/trunk/; revision=17990
2002-09-05 18:34:12 +00:00
f966fe0775 [ Fixes #29904 ] we need to activate either a contact list editor or
2002-09-04  Chris Toshok  <toshok@ximian.com>

	[ Fixes #29904 ]
	* gui/component/select-names/e-select-names-text-model.c
	(e_select_names_text_model_activate_obj): we need to activate
	either a contact list editor or contact editor depending on if
	it's a list (this screams for a utility function.)

svn path=/trunk/; revision=17980
2002-09-04 22:23:50 +00:00
d28a3e1100 Pass FALSE to evolution_storage_new: the Other Contacts storage doesn't
* gui/component/addressbook-storage.c
	(addressbook_get_other_contact_storage): Pass FALSE to
	evolution_storage_new: the Other Contacts storage doesn't support
	shared folders.

svn path=/trunk/; revision=17978
2002-09-04 20:40:56 +00:00
ddaa0af2ce Pass NULL as @unpopulate_folder_context_menu_fn to
* gui/component/addressbook-component.c (create_component): Pass
NULL as @unpopulate_folder_context_menu_fn to
evolution_shell_component_new().

* gui/component-factory.c (create_object): Pass NULL as
@unpopulate_folder_context_menu_fn to
evolution_shell_component_new().

* mail-account-gui.c (mail_account_gui_save): Remove unused
variable.

* component-factory.c (unpopulate_folder_context_menu): New.
(create_component): Pass it to evolution_shell_component_new().

* component-factory.c (create_component): Pass NULL as
@unpopulate_folder_context_menu_fn to
evolution_shell_component_new().

* e-storage-set-view.c (popup_folder_menu): Remove the context
menu items using
evolution_shell_component_client_unpopulate_folder_context_menu()
instead of doing it ourself, since BonoboUI sucks.

* evolution-shell-component-client.c
(evolution_shell_component_client_unpopulate_folder_context_menu):
New.

* evolution-test-component.c (register_component): Pass NULL as
@unpopulate_folder_context_menu_fn to
evolution_shell_component_new().

* evolution-shell-component.c: New member
unpopulate_folder_context_menu_fn in
EvolutionShellComponentPrivate.  New member uic in
EvolutionShellComponentPrivate.
(init): Init new members to NULL.
(destroy): bonobo_object_unref() priv->uic if not NULL.
(evolution_shell_component_new): New arg
@unpopulate_folder_context_menu_fn.
(evolution_shell_component_construct): Likewise.
(impl_populateFolderContextMenu): Set priv->uic to the newly
created UIComponent.
(impl_unpopulateFolderContextMenu): New, implementation for the
::unpopulateFolderContextMenu CORBA method.
(class_init): Install.

* Evolution-ShellComponent.idl (unpopulateFolderContextMenu): New
method.
(AlreadyPopulated): New exception.
(populateFolderContextMenu): Can raise it.
(NotPopulated): New exception.

svn path=/trunk/; revision=17963
2002-09-04 16:05:35 +00:00
59ef7e341b unref the "without", adapter, and model, then chain up the GnomeDialog
2002-09-03  Mike Kestner  <mkestner@ximian.com>

	* gui/component/select-names/e-select-names.c (e_select_names_destroy):
	unref the "without", adapter, and model, then chain up the GnomeDialog
	destroy function.

svn path=/trunk/; revision=17960
2002-09-04 01:49:21 +00:00
18cb911414 Use ldap-settings.png instead of evolution-contacts.png.
svn path=/trunk/; revision=17956
2002-09-03 20:45:18 +00:00
fb668c002d [ fixes #29699 ] call _set_source with a NULL source to fill in dialog
2002-09-03  Chris Toshok  <toshok@ximian.com>

	[ fixes #29699 ]
	* gui/component/addressbook-config.c
	(addressbook_add_server_druid): call _set_source with a NULL
	source to fill in dialog settings that are set from the option
	menus (like the SSL setting).

svn path=/trunk/; revision=17954
2002-09-03 20:40:26 +00:00
7140264bb8 (delete_contact_cb): Fix typo
[`view>view' instead of `view->view'].  Also, cast to
GTK_WINDOW instead of GTK_WIDGET as it should be.

svn path=/trunk/; revision=17951
2002-09-03 19:16:58 +00:00
531608c93b add QueryRefused, for when the backend refuses to perform a query. (part
* backend/idl/addressbook.idl (CallStatus): add QueryRefused, for
	when the backend refuses to perform a query. (part of #25782)

	* backend/ebook/e-book-view-listener.c
	(e_book_view_listener_convert_status): translate
	GNOME_Evolution_Addressbook_BookViewListener_QueryRefused.

	* gui/component/addressbook.c (search_result): Handle
	E_BOOK_VIEW_STATUS_QUERY_REFUSED.

svn path=/trunk/; revision=17934
2002-08-30 17:44:39 +00:00
7c282bc8c9 call evolution_shell_component_add_user_creatable_item twice here, once
2002-08-29  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook-component.c (add_creatable_item): call
	evolution_shell_component_add_user_creatable_item twice here, once
	for the "contacts" folder type, and once for "ldap-contacts".

svn path=/trunk/; revision=17929
2002-08-29 21:15:47 +00:00
7e0ae5059b stop the EBookViews before unreffing.
2002-08-28  Mike Kestner  <mkestner@ximian.com>

	* gui/component/select-names/e-select-names-completion.c : stop the
	EBookViews before unreffing.

svn path=/trunk/; revision=17910
2002-08-29 03:20:28 +00:00
af0e35d3d1 Add an evolution:shell_component_launch_order and rename
* gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an
	evolution:shell_component_launch_order and rename
	evolution:shell_component_icon.

svn path=/trunk/; revision=17906
2002-08-28 21:19:52 +00:00
d98575e489 [ oops, merged the .h and .glade file back to the HEAD from the 1-0
2002-08-28  Chris Toshok  <toshok@ximian.com>

	[ oops, merged the .h and .glade file back to the HEAD from the
	1-0 branch, but missed the .c file. ]
	* gui/component/select-names/e-select-names.c (status_message): set
	the status label's text.
	(e_select_names_init): get the status message widget from the
	glade ui.

svn path=/trunk/; revision=17889
2002-08-28 09:21:45 +00:00
088f9fb35d [ fixes #19286 ] confirm deletion of contacts when using the menubar or
2002-08-28  Chris Toshok  <toshok@ximian.com>

	[ fixes #19286 ]
	* gui/component/addressbook.c (delete_contact_cb): confirm
	deletion of contacts when using the menubar or toolbar.

svn path=/trunk/; revision=17888
2002-08-28 08:27:20 +00:00
696e47cd0f [ fixes #28897 ] set book_data to NULL after clearing/freeing the list.
2002-08-28  Chris Toshok  <toshok@ximian.com>

	[ fixes #28897 ]
	* gui/component/select-names/e-select-names-completion.c
	(e_select_names_completion_clear_book_data): set book_data to NULL
	after clearing/freeing the list.  fixes a crash.

svn path=/trunk/; revision=17887
2002-08-28 08:07:48 +00:00
2839143b0b [ fixes #20348 ] deprecate "categories" in favor of "category". evolution
2002-08-28  Chris Toshok  <toshok@ximian.com>

	[ fixes #20348 ]
	* backend/pas/evolutionperson.schema: deprecate "categories" in
	favor of "category".  evolution no longer uses "categories".

	* backend/pas/pas-backend-ldap.c (category_populate): new
	function, "category" is the new name, and it's multivalued so we
	need the complex-prop stuff..
	(category_ber): new function, same.
	(category_compare): new function, same.

	* gui/component/addressbook.c (addressbook_search_activated): the
	text is "Category is" so we should use "is" instead of "contains"
	for the query.

svn path=/trunk/; revision=17885
2002-08-28 07:44:18 +00:00