Commit Graph

16343 Commits

Author SHA1 Message Date
ebd4a9fa7f try to load the uri again if it failed previously. (book_open_cb): set
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* gui/component/addressbook.c (control_activate_cb): try to load
	the uri again if it failed previously.
	(book_open_cb): set failed_to_load based on the response.
	(set_prop): initialize failed_to_load to FALSE before we kick off
	the first load.

	* backend/pas/pas-book-factory.c
	(pas_book_factory_process_request): if the load_uri fails, remove
	it from the hashtable and free it, so we'll try to load it again
	from scratch the next time it's requested instead of serving up a
	backend that doesn't function.

	* backend/pas/pas-backend.c (pas_backend_get_uri): we need to be
	able to get the uri from backends that aren't loaded (so we can
	remove them from the hashtable.)

svn path=/trunk/; revision=19392
2003-01-10 04:02:25 +00:00
462934169a enable the account before attempting to saving it.
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* mail-config-druid.c (wizard_finish_cb): enable the account
	before attempting to saving it.

	* mail-accounts.c (account_delete_clicked): need to show the
	buttons added to the dialog.

svn path=/trunk/; revision=19391
2003-01-10 03:55:55 +00:00
5b2e91a1c3 dont unref the dialogue. (dialog_destroy_cb): null out the
2003-01-10  Not Zed  <NotZed@Ximian.com>

        * mail-send-recv.c (dialogue_response): dont unref the dialogue.
        (dialog_destroy_cb): null out the send_recv_dialogue after destroy.
        (build_dialogue): show the stop button

svn path=/trunk/; revision=19390
2003-01-10 03:18:16 +00:00
2a3599cb52 glist->gslist for display_folders list (mail_change_notify): "
2003-01-10  Not Zed  <NotZed@Ximian.com>

        * e-summary-mail.c (new_folder_cb): glist->gslist for
        display_folders list
        (mail_change_notify): "
        (e_summary_mail_reconfigure): ", and also traverse the list
        forwards, since we can't go backwards since its now an slist.

        * e-summary-preferences.c (e_summary_preferences_restore): append
        new folder entries to the folders list.
        (config_control_apply_cb): display_folders is a list of folders,
        not a list of strings, treat accordingly.

svn path=/trunk/; revision=19389
2003-01-10 03:15:01 +00:00
7a00f56def doh, fix build error.
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* backend/pas/pas-backend-ldap.c (query_ldap_root_dse): doh, fix
	build error.

svn path=/trunk/; revision=19388
2003-01-10 02:02:57 +00:00
d589c6974e #include gtklabel.h, fixes an unresolved symbol.
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-popup.c: #include
	gtklabel.h, fixes an unresolved symbol.

svn path=/trunk/; revision=19387
2003-01-10 01:57:50 +00:00
2a174936f4 build up the list of supported auth_methods.
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* backend/pas/pas-backend-ldap.c (query_ldap_root_dse): build up
	the list of supported auth_methods.
	(pas_backend_ldap_process_get_supported_auth_methods): respond
	with the list of auth methods we've built up.
	(pas_backend_ldap_dispose): unref the auth_method list.
	(pas_backend_ldap_class_init): hook up
	pas_backend_ldap_process_get_supported_auth_methods.

	* backend/pas/pas-backend.c
	(pas_backend_get_supported_auth_methods): new function.
	(process_client_requests): add clause for GetSupportedAuthMethods.

	* backend/pas/pas-backend.h: add prototype for
	pas_backend_get_supported_auth_methods, and add it to the class
	vtable.

	* backend/pas/pas-book.h: add GetSupportedAuthMethods enum member
	and PASGetSupportedAuthMethodsRequest. and add prototype for
	pas_book_respond_get_supported_auth_methods.

	* backend/pas/pas-book.c
	(pas_book_queue_get_supported_auth_methods): new function.
	(impl_GNOME_Evolution_Addressbook_Book_getSupportedAuthMethods):
	new function.
	(pas_book_respond_get_supported_auth_methods): new function.
	(pas_book_free_request): add clause for GetSupportedAuthMethods.
	(pas_book_class_init): hook up getSupportedAuthMethods.

	* backend/ebook/e-book-listener.c
	(e_book_listener_queue_get_supported_fields_response): fields ->
	list.
	(e_book_listener_queue_get_supported_auth_methods_response): new
	function.
	(impl_BookListener_response_get_supported_auth_methods): new
	function.
	(e_book_listener_class_init): hook up
	epv->notifySupportedAuthMethods.

	* backend/ebook/e-book-listener.h: add
	GetSupportedAuthMethodsResponse enum member, and change the field
	name from "fields" to list (and use it for both GetSupportedFields
	and GetSupportedAuthMethods)

	* backend/ebook/e-book.c (e_book_get_supported_auth_methods): new
	function.
	(e_book_do_response_get_supported_auth_methods): new function.

	* backend/ebook/e-book.h: add prototype for
	e_book_get_supported_auth_methods.

	* backend/idl/addressbook.idl: add getSupportedAuthMethods IDL
	call.

svn path=/trunk/; revision=19386
2003-01-10 01:55:27 +00:00
50a352b367 deal with backends that might not have loaded successfully (they'll have a
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* backend/pas/pas-book-factory.c (backend_last_client_gone_cb):
	deal with backends that might not have loaded successfully
	(they'll have a NULL uri).

svn path=/trunk/; revision=19385
2003-01-10 01:38:32 +00:00
fd67bd851b call e_select_names_bonobo_construct on the newly created object.
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/e-select-names-bonobo.c
	(e_select_names_bonobo_new): call e_select_names_bonobo_construct
	on the newly created object.

svn path=/trunk/; revision=19384
2003-01-10 01:06:44 +00:00
eb4f1afd89 don't pass NULL to bonobo_widget_set_property.
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_to): don't pass
	NULL to bonobo_widget_set_property.
	(e_msg_composer_hdrs_set_cc): same.
	(e_msg_composer_hdrs_set_bcc): same.

svn path=/trunk/; revision=19383
2003-01-10 01:05:48 +00:00
11cc8e069f use pango_layout_get_pixel_size here instead of pango_layout_get_width,
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* e-shell-settings-dialog.c (set_dialog_size): use
	pango_layout_get_pixel_size here instead of
	pango_layout_get_width, which returns 0 (unless it's been set by
	the user before, I believe).

svn path=/trunk/; revision=19382
2003-01-10 00:50:21 +00:00
921933660b Properly reset activity_interface to NULL.
* evolution-shell-client.c (impl_dispose): Properly reset
activity_interface to NULL.
(evolution_shell_client_construct): Ref the shell object here.

* e-shell.c (view_weak_notify): Ref the shell since it's being
passed to notify_no_views_left_idle_cb as the data.
(notify_no_views_left_idle_cb): Only unref the shell here.

svn path=/trunk/; revision=19381
2003-01-09 23:59:39 +00:00
c002a2ab81 addressbook-config.etspec is gone.
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* gui/component/Makefile.am: addressbook-config.etspec is gone.

	* gui/component/addressbook-config.c: make the sources table be a
	gtktreeview instead of an etable.

	* gui/component/ldap-config.glade: remove all references to
	gnome-hint.png

svn path=/trunk/; revision=19380
2003-01-09 23:50:34 +00:00
9147ed28f4 change gtk_widget_show to gtk_widget_show_all so all the various custom
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* e-summary-preferences.c (e_summary_preferences_create_control):
	change gtk_widget_show to gtk_widget_show_all so all the various
	custom widgets are displayed.

svn path=/trunk/; revision=19379
2003-01-09 22:19:49 +00:00
e772616c90 fix parameter types here (this signal isn't generated from an ETable.)
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/gal-view-minicard.c (column_width_changed): fix
	parameter types here (this signal isn't generated from an ETable.)

	* gui/widgets/gal-view-factory-minicard.c: include e-util.h

	* gui/widgets/e-minicard.h: include gnome-canvas.h here.

	* gui/widgets/e-addressbook-table-adapter.c: #include
	e-destination.h here.

	* gui/widgets/e-minicard.c: same.

svn path=/trunk/; revision=19378
2003-01-09 22:09:54 +00:00
a08adf37ef Updated question test
2003-01-09  Anna Marie Dirks  <anna@ximian.com>

	* OOA/oooa_question.png: Updated question test

svn path=/trunk/; revision=19377
2003-01-09 22:09:35 +00:00
f23d334375 remove the select names stuff (the Related Contacts button/entry.)
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* gui/contact-editor/e-contact-editor.[ch]: remove the select
	names stuff (the Related Contacts button/entry.)

	* gui/contact-editor/contact-editor.glade: same.

svn path=/trunk/; revision=19376
2003-01-09 22:05:31 +00:00
cdb416e980 Screenshot of outlook's OOOA Config dialog.
2003-01-09  Anna Marie Dirks  <anna@ximian.com>

	* OOA/outlook_screenshot.png: Screenshot of outlook's OOOA Config dialog.

	* OOA/outlook_question.png: Screenshot of outlook's OOOA question dialog

	* OOA/spec.txt: Spec file for Out of Office Assistant

	* OOA/oooa_screenshot.png: Screenshot of mockup of OOOA Config dialog.

	* OOA/oooa_question.png: Screenshot of mockup of question dialog

	* OOA/ooa.glade: Glade file for the Out of Office Assistant

	*OOA : New directory

svn path=/trunk/; revision=19375
2003-01-09 22:05:30 +00:00
1b1229441a Screenshot of outlook's OOOA Config dialog.
2003-01-09  Anna Marie Dirks  <anna@ximian.com>

	* OOA/outlook_screenshot.png: Screenshot of outlook's OOOA Config dialog.

	* OOA/outlook_question.png: Screenshot of outlook's OOOA question dialog

	* OOA/spec.txt: Spec file for Out of Office Assistant

	* OOA/oooa_screenshot.png: Screenshot of mockup of OOOA Config dialog.

	* OOA/oooa_question.png: Screenshot of mockup of question dialog

	* OOA/ooa.glade: Glade file for the Out of Office Assistant

	*OOA : New directory

svn path=/trunk/; revision=19374
2003-01-09 22:00:05 +00:00
1c3f1f0d68 change this to use GtkImage instead of GnomeCanvas.
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* e-gui-utils.c (e_create_image_widget): change this to use
	GtkImage instead of GnomeCanvas.

svn path=/trunk/; revision=19373
2003-01-09 21:58:39 +00:00
3eb3183d85 Glade file for the Out of Office Assistant.
svn path=/trunk/; revision=19372
2003-01-09 21:54:31 +00:00
4072594cb5 pass bag to bonobo_pbclient_set_boolean.
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* folder-info.c (evolution_folder_info_notify_ready): pass bag to
	bonobo_pbclient_set_boolean.

svn path=/trunk/; revision=19371
2003-01-09 21:14:07 +00:00
547ba4f388 (owner_set_cb): Don't call
mail_config_register_factory() or
evolution_mail_config_wizard_init().

svn path=/trunk/; revision=19370
2003-01-09 19:21:21 +00:00
52bf62c822 comment out the factory oaf_server, and change the location of the
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in:
	comment out the factory oaf_server, and change the location of the
	SelectNames controls to be
	OAFIID:GNOME_Evolution_Addressbook_Factory so the normal
	addressbook.so will create them.

	* gui/component/select-names/Makefile.am
	(libeselectnames_la_SOURCES): remove the
	e-select-names-factory.[ch] stuff for the time being.

	* gui/component/component-factory.c (factory): we're now (for the
	time being) the factory for the select names control.

svn path=/trunk/; revision=19369
2003-01-09 19:17:01 +00:00
fef77b9924 need to ref/sink "new" so that the g_object_unref doesn't spew a warning.
2003-01-09  Chris Toshok  <toshok@ximian.com>

	* e-msg-composer-hdrs.c (e_msg_composer_hdrs_new): need to
	ref/sink "new" so that the g_object_unref doesn't spew a warning.

svn path=/trunk/; revision=19368
2003-01-09 19:12:30 +00:00
129f54c0d2 #include "mail-format.h"
svn path=/trunk/; revision=19367
2003-01-09 18:53:13 +00:00
60d236430a Allow recur_id to be NULL to clear the recurrence id. (Based on a story by
* cal-util/cal-component.c (cal_component_set_recurid): Allow
	recur_id to be NULL to clear the recurrence id. (Based on a story
	by JP on evolution-1-2-recurid-branch)

	* gui/print.c: Remove unused gnome-print-copies.h #include

	* pcs/query.c (query_new): Use g_object_weak_ref rather than
	connecting to "destroy" (which doesn't actually exist on a
	CalBackend)
	(backend_destroyed_cb): Update prototype.

svn path=/trunk/; revision=19365
2003-01-09 18:17:52 +00:00
6e9cb1e2bf Added druidpagestart1 to the pages list. (construct): Change the limits on
2003-01-09  Not Zed  <NotZed@Ximian.com>

        * mail-config-druid.c: Added druidpagestart1 to the pages list.
        (construct): Change the limits on the page initialisation, and
        widget_show_all on the page rather than the content.

        * GNOME_Evolution_Mail.server.in.in: Make Mail a shlib component.

        * folder-info.c (evolution_folder_info_factory_init): Removed.
        (evolution_folder_info_factory_fn): renamed to evolution_folder_info_new().

        *  mail-config-druid.c  (evolution_mail_config_wizard_factory_fn):
        Renamed to evolution_mail_config_wizard_new().
        (evolution_mail_config_wizard_init): Removed.

        * mail-config-factory.c (mail_config_register_factory): Remove.
        (config_control_factory_cb): make this public.

        * Makefile.am: setup evolution-mail as a shared library.

        * component-factory.c (make_factory): implement the bonobo-plugin
        factory for shlib operation.  Also, preliminary work to setup mailer-specific
        (factory): Implement the factory which starts various components.

        * mail-config.c (xml_get_prop): g_free->xmlFree
        (account_to_xml): copy xml memory to glib memory when adding the 0
        on the end of the string.
        (accounts_save): Use slightly different logic with appending to
        the tail of the list, we can't use the &node trick with gslists.
        (accounts_changed): Same here.

svn path=/trunk/; revision=19362
2003-01-09 12:17:19 +00:00
45d0c39700 back out accidental commit
svn path=/trunk/; revision=19307
2003-01-09 06:55:40 +00:00
9cdee141ad g_free->xmlFree (account_to_xml): copy xml memory to glib memory when
2003-01-09  Not Zed  <NotZed@Ximian.com>

        * mail-config.c (xml_get_prop): g_free->xmlFree
        (account_to_xml): copy xml memory to glib memory when adding the 0
        on the end of the string.
        (accounts_save): Use slightly different logic with appending to
        the tail of the list, we can't use the &node trick with gslists.
        (accounts_changed): Same here.

svn path=/trunk/; revision=19306
2003-01-09 06:43:31 +00:00
f255677bd1 back out accidental commit
svn path=/trunk/; revision=19305
2003-01-09 06:36:57 +00:00
1e68876622 oops, don't include e-treeview-selection-model.h unless we're building the
2003-01-08  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-addressbook-view.c: oops, don't include
	e-treeview-selection-model.h unless we're building the treeview.

svn path=/trunk/; revision=19304
2003-01-09 03:55:45 +00:00
6b8b8d8e37 dont unref the pango context, get_context() doesn't create a ref.
2003-01-08  Not Zed  <NotZed@Ximian.com>

        * e-shell-settings-dialog.c (set_dialog_size): dont unref the
        pango context, get_context() doesn't create a ref.

svn path=/trunk/; revision=19303
2003-01-09 03:08:06 +00:00
4698808a25 Fix to build.
2003-01-08  Jeffrey Stedfast  <fejj@ximian.com>

	* backend/pas/pas-backend-ldap.c
	(pas_backend_ldap_process_authenticate_user): Fix to build.

svn path=/trunk/; revision=19302
2003-01-09 02:54:52 +00:00
f49ec121f0 add in the schema entry for minimum_query_length.
2003-01-08  Chris Toshok  <toshok@ximian.com>

	* gui/component/apps_evolution_addressbook.schemas: add in the
	schema entry for minimum_query_length.

svn path=/trunk/; revision=19301
2003-01-09 02:47:10 +00:00
81d8ab193f add E_ADDRESSBOOK_VIEW_TREEVIEW to the enum, ifdef'ed out.
2003-01-08  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/e-addressbook-view.h: add
	E_ADDRESSBOOK_VIEW_TREEVIEW to the enum, ifdef'ed out.

	* gui/widgets/e-addressbook-view.c
	(e_addressbook_view_class_init): add ifdefed treeview code.
	(init_collection): same.
	(display_view): same.
	(get_selection_model): same.
	(treeview_row_activated): same.
	(create_treeview_view): same.
	(change_view_type): same.xo
	(e_addressbook_view_print): same.
	(e_addressbook_view_print_preview): same.

	* gui/widgets/Makefile.am: add in the treeview sources (commented
	out).

svn path=/trunk/; revision=19300
2003-01-09 02:40:46 +00:00
5d92db0149 add parent arg.
2003-01-08  Chris Toshok  <toshok@ximian.com>

	* gui/widgets/gal-view-minicard.c (gal_view_minicard_edit): add
	parent arg.

	* gui/widgets/e-addressbook-treeview-adapter.[ch]: new files, for
	a GtkTreeView view of contacts.

	* gui/widgets/gal-view-treeview.[ch]: same

	* gui/widgets/gal-view-favroty-treeview.[ch]: same

svn path=/trunk/; revision=19299
2003-01-09 02:31:46 +00:00
592c5b2ff2 (e_pixmap_file): Update to use
$(datadir)/evolution/images/ instead of
$(datadir)/images/evolution to fetch the icons.

svn path=/trunk/; revision=19298
2003-01-08 23:39:16 +00:00
c3f5e5f241 make it build
svn path=/trunk/; revision=19297
2003-01-08 23:19:49 +00:00
c53d080d04 Icons are now in $(datadir)/evolution/images instead of
* gui/alarm-notify/Makefile.am: Icons are now in
$(datadir)/evolution/images instead of
$(datadir)/images/evolution.
* gui/Makefile.am: Likewise.
* gui/dialogs/Makefile.am: Likewise.

svn path=/trunk/; revision=19296
2003-01-08 22:37:36 +00:00
f4f3c71805 $(datadir)/evolution/images instead of $(datadir)/images/evolution.
* gui/component/Makefile.am: $(datadir)/evolution/images instead
of $(datadir)/images/evolution.
* gui/contact-editor/Makefile.am: Likewise.
* gui/contact-list-editor/Makefile.am (iconsdir): Likewise.
* gui/widgets/Makefile.am: Likewise.

svn path=/trunk/; revision=19295
2003-01-08 22:37:24 +00:00
86033606aa Images are now in $(datadir)/evolution/images
instead of $(datadir)/images/evolution.

svn path=/trunk/; revision=19294
2003-01-08 22:36:12 +00:00
89862745a8 Images are now in $(datadir)/evolution/images instead of
Images are now in
$(datadir)/evolution/images instead of
$(datadir)/images/evolution.

svn path=/trunk/; revision=19293
2003-01-08 22:35:47 +00:00
578e668365 Images are now in $(datadir)/evolution/images instead of
* Makefile.am: Images are now in $(datadir)/evolution/images
instead of $(datadir)/images/evolution.

* e-folder-list.c (e_folder_list_class_init): Remove
"EFolderList::" prefix from the properties.

svn path=/trunk/; revision=19292
2003-01-08 22:34:59 +00:00
32e9ba1991 Icons are now in $(datadir)/evolution/images
instead of $(datadir)/images/evolution.

svn path=/trunk/; revision=19291
2003-01-08 22:34:03 +00:00
3570e88711 (imagesdir): Install images into
$(datadir)/evolution/images instead of
$(datadir)/images/evolution.
(buttonsdir): Likewise, these go into
$(datadir)/evolution/images/buttons now.
(conduits_DATA): Likewise, $(datadir)/evolution/images/conduits.

svn path=/trunk/; revision=19290
2003-01-08 22:33:19 +00:00
a9ff63ab04 Call folder_browser_set_message_preview().
2003-01-08  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser-ui.c (folder_browser_ui_add_global): Call
	folder_browser_set_message_preview().

svn path=/trunk/; revision=19289
2003-01-08 20:41:08 +00:00
5c49bda7d1 Removed. (mail_config_set_show_preview): Removed.
2003-01-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_get_show_preview): Removed.
	(mail_config_set_show_preview): Removed.

	* folder-browser.c (folder_browser_toggle_preview): Simply set the
	gconf show_preview setting and let the code in folder-browser-ui.c
	detect it and update the UI.

	* folder-browser-ui.c (folder_browser_ui_add_global): Listen for
	changed events on the show_preview setting.

svn path=/trunk/; revision=19288
2003-01-08 20:34:53 +00:00
ac80365c86 Move PASBook request handling into PASBackend itself since all
existing backends do it exactly the same way. (Part of 32866).

	* backend/pas/pas-backend.h (PASBackendClass): add new methods for
	the various pas book requests.

	* backend/pas/pas-backend.c: Add a clients list to
	PASBackendPrivate.
	(pas_backend_create_card, etc): Add these to invoke the new
	methods.
	(process_client_requests, book_destroy_cb): Moved here and
	slightly rewritten from pas-backend-file.
	(last_client_gone): Now static.
	(add_client, remove_client): Default implementations, based on
	pas-backend-file, that add the client to/remove it from the
	backend's clients list and connect to its requests_queued signal.
	(pas_backend_init, pas_backend_dispose): Deal with the clients
	list.

	* backend/pas/pas-backend-file.c (struct _PASBackendFilePrivate):
	Remove GList *clients.
	(pas_backend_file_process_client_requests,
	pas_backend_file_book_destroy_db, pas_backend_file_add_client,
	pas_backend_file_remove_client): Gone.
	(pas_backend_file_class_init): Remove add_client/remove_client
	method initializations, add initializations for processing the
	various book requests.

	* backend/pas/pas-backend-ldap.c (struct _PASBackendLDAPPrivate):
	Remove GList *clients.
	(pas_backend_ldap_process_create_card, etc): Make these take the
	specific PAS*Request types rather than a generic PASRequest.
	(pas_backend_ldap_process_client_requests,
	pas_backend_ldap_book_destroy_db, pas_backend_ldap_add_client,
	pas_backend_ldap_remove_client): Gone.
	(pas_backend_ldap_class_init): Remove add_client/remove_client
	method initializations, add initializations for processing the
	various book requests.

svn path=/trunk/; revision=19287
2003-01-08 20:34:51 +00:00
d22be5639f Use gconf to get the default account index.
2003-01-08  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-hdrs.c (create_from_optionmenu): Use gconf to get
	the default account index.
	(e_msg_composer_hdrs_set_from_account): Same.

svn path=/trunk/; revision=19286
2003-01-08 18:45:38 +00:00