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
2003-01-08 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_set_default_account): Save the
setting via gconf.
(mail_config_add_account): Immediately save the list of accounts.
(mail_config_remove_account): Same.
(mail_config_signature_run_script): g_free the charset value and
use the composer's charset rather than the display charset.
(mail_config_get_default_account_num): Removed.
svn path=/trunk/; revision=19285
2003-01-08 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_set_default_account): Save the
setting via gconf.
(mail_config_add_account): Immediately save the list of accounts.
(mail_config_remove_account): Same.
(mail_config_signature_run_script): g_free the charset value and
use the composer's charset rather than the display charset.
svn path=/trunk/; revision=19284
2003-01-07 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (save_cursor_pos): Use gconf to get the paned
size.
(folder_browser_set_message_preview): Same.
(folder_browser_toggle_hide_deleted): Use gconf to set the
hide-deleted state.
(folder_browser_set_message_display_style): Same but for the
message_display_style.
(fb_resize_cb): Save the paned_size via gconf.
(paned_size_changed): Callback for when the paned_size gets
changed. Change the folder-browser's paned size to the new
setting.
(folder_browser_gui_init): Listen to changes to the paned_size and
also get the initial size from gconf.
* message-list.c (message_list_set_folder): Use gconf.
(regen_list_regen): Use gconf.
* message-browser.c (transfer_msg_done): Use gconf to get the
hide_deleted setting.
* mail-account-gui.c (sig_add_new_signature): Use gconf.
* folder-browser-ui.c (folder_browser_ui_add_list): Use gconf.
* folder-browser.c (save_cursor_pos): Use gconf.
(folder_browser_set_message_preview): Same.
(folder_browser_toggle_hide_deleted): Here too.
(folder_browser_set_message_display_style): And here.
(folder_browser_gui_init): Here too.
(done_message_selected): And here.
* mail-config.c (mail_config_get_thread_subject): Removed.
(mail_config_set_thread_subject): Removed.
(mail_config_get_empty_trash_on_exit): Removed.
(mail_config_set_empty_trash_on_exit): Removed.
(mail_config_get_last_filesel_dir): Removed.
(mail_config_set_last_filesel_dir): Removed.
(mail_config_get_hide_deleted): Removed.
(mail_config_set_hide_deleted): Removed.
(mail_config_get_paned_size): Removed.
(mail_config_set_paned_size): Removed.
(mail_config_get_send_html): Removed.
(mail_config_set_send_html): Removed.
(mail_config_get_confirm_unwanted_html): Removed.
(mail_config_set_confirm_unwanted_html): Removed.
(mail_config_get_citation_highlight): Removed.
(mail_config_set_citation_highlight): Removed.
(mail_config_get_citation_color): Removed.
(mail_config_set_citation_color): Removed.
(mail_config_get_do_seen_timeout): Removed.
(mail_config_set_do_seen_timeout): Removed.
(mail_config_get_mark_as_seen_timeout): Removed.
(mail_config_set_mark_as_seen_timeout): Removed.
(mail_config_get_prompt_empty_subject): Removed.
(mail_config_set_prompt_empty_subject): Removed.
(mail_config_get_prompt_only_bcc): Removed.
(mail_config_set_prompt_only_bcc): Removed.
(mail_config_get_confirm_expunge): Removed.
(mail_config_set_confirm_expunge): Removed.
(mail_config_get_confirm_goto_next_folder): Removed.
(mail_config_set_confirm_goto_next_folder): Removed.
(mail_config_get_goto_next_folder): Removed.
(mail_config_set_goto_next_folder): Removed.
(mail_config_get_http_mode): Removed.
(mail_config_set_http_mode): Removed.
(mail_config_get_default_forward_style): Removed.
(mail_config_set_default_forward_style): Removed.
(mail_config_get_default_reply_style): Removed.
(mail_config_set_default_reply_style): Removed.
(mail_config_get_message_display_style): Removed.
(mail_config_set_message_display_style): Removed.
(mail_config_get_default_charset): Removed.
(mail_config_set_default_charset): Removed.
(mail_config_get_x_mailer_display_style): Removed.
(mail_config_set_x_mailer_display_style): Removed.
* subscribe-dialog.c (populate_store_list): Use the list of
accounts. We can't get the list of sources anymore.
(populate_store_foreach): Updated.
* mail-callbacks.c (guess_me_from_accounts): Use account->enabled.
(mail_generate_reply): Same.
(empty_trash): Here too.
* mail-accounts.c (account_delete_clicked): Use account->enabled
rather than source->enabled.
(account_able_clicked): Same.
(account_cursor_change): Here too.
(mail_accounts_load): And here.
* component-factory.c (owner_unset_cb): Use gconf empty-on-exit
settings.
(mail_load_storages): Use account->enabled rather than
account->source->enabled. The struct changed.
* mail-composer-prefs.c (sig_add): Get the send_html pref from gconf.
* message-tag-followup.c (target_date_new): Use gconf.
* mail-config.c (mail_config_get_week_start_day): Removed.
* mail-tools.c (mail_tool_quote_message): Use gconf here too, but
we don't need to parse the colour - just use it as a raw string.
(mail_tool_forward_message): Use gconf.
* mail-format.c (mail_format_data_wrapper_write_to_stream): Use gconf.
(write_headers): Use gconf.
(handle_text_plain): Same.
* mail-display.c (mail_text_write): Updated to use gconf and parse
GdkColour strings.
(on_url_requested): Updated to use gconf.
* mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Use gconf
rather than the old mail-config APIs which will be removed.
(ask_confirm_for_empty_subject): Same.
(ask_confirm_for_only_bcc): Here too.
(composer_get_message): And here.
(create_msg_composer): Same.
(transfer_msg_done): Again here.
(delete_msg): Here too.
(confirm_expunge): And finally here.
* mail-config.c (mail_config_write): Use gconf.
(mail_config_get_sources): Removed.
* mail-account-gui.c (mail_account_gui_save): No need to save
enabled-state anymore for a source.
* mail-config-druid.c (wizard_finish_cb): Instead of setting
account->source->enabled to TRUE, just set account->enabled to
TRUE. The structures changed a bit.
* mail-send-recv.c (mail_send_receive): Get the list of accounts
instead of sources, and pass them along to build_dialogue. I'm
trying to get rid of the mail_config_get_sources() api.
(mail_autoreceive_setup): Here too.
* mail-config.c (mail_config_get_filter_log): Removed.
(mail_config_set_filter_log): Removed.
(mail_config_get_filter_log_path): Removed.
(mail_config_set_filter_log_path): Removed.
(mail_config_get_new_mail_notify): Removed.
(mail_config_set_new_mail_notify): Removed.
(mail_config_get_new_mail_notify_sound_file): Removed.
(mail_config_set_new_mail_notify_sound_file): Removed.
* mail-session.c (main_get_filter_driver): Updated to use the
gconf settings.
svn path=/trunk/; revision=19271
2003-01-07 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (composer_get_default_charset): Convenience
function.
(get_file_content): Use the convenience function to get the
default charset setting.
(best_charset): Same.
(e_msg_composer_new): Use gconf to get the send_html setting.
(e_msg_composer_new_post): Same.
svn path=/trunk/; revision=19269
2003-01-07 Chris Toshok <toshok@ximian.com>
* backend/pas/evolutionperson.schema: fix the SYNTAX for the
telephone attributes, and make the fax attributes more closely
mirror those from core.schema. Fixes the schema for openldap-2.1.
svn path=/trunk/; revision=19268
* Makefile.am (SUBDIRS): add po
* configure.in: Move ALL_LINGUAS definition to before
AM_GLIB_GNU_GETTEXT, or else no linguas for you!
svn path=/trunk/; revision=19267
* camel-provider.h (CamelProvider): add a "translation_domain"
field. (NULL for all providers in the camel source tree itself).
* camel-session.c (register_provider): Translate provider strings
in the correct domain
svn path=/trunk/; revision=19265
* e-html-utils.c: Add this back: Connector needs it, and there's
no reason for addressbook and calendar to be using camel to get
this functionality.
* Makefile.am (libeutil_la_SOURCES): re-add e-html-utils
svn path=/trunk/; revision=19246
2003-01-06 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Updated Spanish translation by Fco. Javier Fernandez <serrador@arrakis.es>.
svn path=/trunk/; revision=19243
* configure.in (AC_INIT): Use "Evolution", not "evolution", since
that becomes the value of the PACKAGE variable
(privlibdir): parse $VERSION by hand since.
EVOLUTION_MAJOR_VERSION, etc aren't defined any more (and trying
to pass a variable to AC_INIT won't work). This and the above
change fix the problem that privlibdir was being defined as
"${libdir}/Evolution/." instead of "${libdir}/evolution/1.3"
(GAL_VERSION): AC_SUBST this since it's needed in the .pc files
(idldir): define this here rather than in each Makefile.am that
needs it.
(AC_OUTPUT): Add .pc files
* Makefile.am (pkgconfig_DATA): Add pc files.
(confexec_DATA): Remove this (fooConf.sh files)
(SUBDIRS): Move filter earlier in the build. (I think it was
calendar that depends on it now?)
(%Conf.sh): Remove this. The .pc files are output by configure.in
now.
* camel.pc.in, evolution-addressbook.pc.in,
evolution-calendar.pc.in, evolution-shell.pc.in: Replace the
*Conf.sh files with these. In addition to the basic variables,
include camel_providerdir (in camel.pc) and idldir, IDL_INCLUDES
and privlibdir (in the others).
svn path=/trunk/; revision=19241
2003-01-06 Not Zed <NotZed@Ximian.com>
* camel-store.c (store_sync): init local exception before doing
anything. fixes a crash.
svn path=/trunk/; revision=19238