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-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 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 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-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-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-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-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
* 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 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 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 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 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 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 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 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 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
* 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 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 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-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-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-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-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
* 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
* 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
$(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 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
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 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