2003-12-05 JP Rosevear <jpr@ximian.com>
* gui/component/select-names/select-names.glade: no more custom
widget for the selection of the search source
* gui/component/select-names/e-select-names.h: add member
* gui/component/select-names/e-select-names.etspec: update model
column
* gui/component/select-names/e-select-names.c (find_first_source):
find the first source in the list
(addressbook_model_set_source): we have the source to set directly
now
(source_selected): listen for the source item to change
(e_select_names_init): create a source option menu and hook it up
(e_select_names_dispose): destroy the source list
(e_select_names_new): do away with the config setup here
* gui/component/select-names/e-select-names-manager.h: update
members
* gui/component/select-names/e-select-names-manager.c
(update_completion_books): add books based on source uid
(config_completion_books_changed_cb): handle the completion list
changing
(config_min_query_length_changed_cb): handle minimum query length
changing
(e_select_names_manager_new): we don't do the settings stuff here
any more
(e_select_names_manager_init): do the initial set up here for the
book loaded and listen for changes
(e_select_names_manager_dispose): destroy the new stuff
* gui/component/select-names/e-select-names-config.[hc]: config
information
* gui/component/select-names/e-select-names-config-keys.h: the
config keys
* gui/component/select-names/e-select-names-bonobo.c
(impl_SelectNames_activate_dialog): do away with the shell client
stuff
* gui/component/select-names/Makefile.am: build new files
svn path=/trunk/; revision=23654
2003-12-05 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-model.c (book_view_loaded): call
remove_book_view/free_data here as well, to guard against multiple
book_view's being loaded.
svn path=/trunk/; revision=23652
2003-12-05 Jeffrey Stedfast <fejj@ximian.com>
* camel-gpg-context.c (gpg_ctx_op_start): Properly set the
O_NONBLOCK flag along with any previously set flags.
* camel-filter-search.c (run_command): Don't set O_NONBLOCK on the
pipe (1. we don't need to, and 2. we should have been setting
O_NONBLOCK|prev_flags but we weren't, and so the pipe got
O_RDONLY|O_NONBLOCK even tho we wanted to write to it).
* camel-filter-driver.c (pipe_to_system): Same.
svn path=/trunk/; revision=23651
2003-12-05 Radek Doulik <rodo@ximian.com>
* em-html-stream.c (emhs_sync_flush): use new gtk_html_flush
method instead of forcing processing of all gtk events
svn path=/trunk/; revision=23649
2003-12-05 Radek Doulik <rodo@ximian.com>
* configure.in: require gtkhtml 3.1.3 (new gtk_html_flush method
to be used in mailer)
svn path=/trunk/; revision=23648
2003-12-05 Antonio Xu <antonio.xu@Sun.com>
commit the patch of Sun Yong
Fix for #51337
* gui/dialogs/alarm-page.c
Change raw string "Action/Trigger" to _("Action/Trigger")
* gui/dialogs/recurrence-page.c
Change raw string "Date/Time" to _("Date/Time")
svn path=/trunk/; revision=23646
2003-12-05 Hans Petter Jansson <hpj@ximian.com>
* gui/widgets/e-addressbook-view.etspec: Clean up and sync with
current model columns.
svn path=/trunk/; revision=23644
2003-12-04 Chris Toshok <toshok@ximian.com>
* gui/certificate-viewer.c (certificate_viewer_show): set the
window title based on e_cert_get_window_title.
* lib/e-cert.c (e_cert_get_window_title): new function, for use
with the certificate viewer.
(create_asn1_struct): call e_cert_get_window_title.
svn path=/trunk/; revision=23643
2003-12-04 Harry Lu <harry.lu@sun.com>
Fix for bugzilla bug #51624 and #51627.
* e-calendar-item.c: (e_calendar_item_selection_add_days):
set the date to the first day of the month so that user can use
keyboard's arrow key to select a date.
(e_calendar_item_set_selection_if_emission): only set selection_changed
if emission is TRUE.
* e-calendar.c: (e_calendar_init): add back the "clicked" handler so
that user can use keyboard to click the button.
(e_calendar_start_auto_move): no need to move since it is already
handled by the clicked handler
(e_calendar_on_prev_clicked), (e_calendar_on_next_clicked): move the
month here.
* e-dateedit.c: (e_date_edit_show_date_popup): use gdk_window_focus
instead of gdk_keyboard_grab so that the focus won't lost if user click
the button with keyboard.
(hide_date_popup): no need to call gdk_keyboard_ungrab.
svn path=/trunk/; revision=23642
2003-12-04 Harry Lu <harry.lu@sun.com>
Fix for bugzilla bug #51627.
* gui/goto.c: (create_ecal): set calitem's move_selection_when_moving
to FALSE so that changing month and year won't send out
a "selection_changed" signal.
svn path=/trunk/; revision=23641
2003-12-04 Chris Toshok <toshok@ximian.com>
* lib/e-cert.h: add prototype for e_cert_get_asn1_struct.
* lib/e-cert.c (e_cert_dispose): unref the asn1 object.
(get_int_value): copy and massage from mozilla source.
(process_version): same.
(process_serial_number_der): same.
(get_default_oid_format): same.
(get_oid_text): same.
(process_raw_bytes): same.
(process_sec_algorithm_id): same.
(process_subject_public_key_info): same.
(process_ns_cert_type_extensions): same.
(process_key_usage_extensions): same.
(process_extension_data): same.
(process_single_extension): same.
(process_extensions): same.
(process_name): same.
(create_tbs_certificate_asn1_struct): same.
(create_asn1_struct): same.
(e_cert_get_asn1_struct): new function.
* lib/e-asn1-object.c (e_asn1_object_dispose): free the display
name, value, and children.
(e_asn1_object_init): assume it's a valid container unless we hear
otherwise.
(e_asn1_object_new_from_cert): nuke.
(e_asn1_object_set_valid_container): implement.
(e_asn1_object_append_child): same.
(e_asn1_object_set_display_name): same.
(e_asn1_object_set_display_value): same.
* lib/e-asn1-object.h: add prototypes for
e_asn1_object_set_valid_container, e_asn1_object_set_display_name,
e_asn1_object_set_display_value, and e_asn1_object_append_child.
* gui/certificate-viewer.c (populate_fields_tree): populate the
tree from the asn structure.
(hierarchy_selection_changed): blow away the old fields_tree
content and populate it again.
(fields_selection_changed): implement, set the text view's
contents to the asn1 object's display_value.
(fill_in_details): expand all nodes in the hierarchy tree.
svn path=/trunk/; revision=23640
* e-shell.c (e_shell_prepare_for_quit): Implement.
* Evolution-Component.idl (Component::requestQuit): Make sync
[i.e. just return a boolean instead of using a BonoboListener].
svn path=/trunk/; revision=23639
2003-12-04 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree-model.c (em_folder_tree_model_remove_folders):
Make sure folder_path is non-NULL ("Loading..." nodes will have a
NULL path). Fixes bug #51731.
svn path=/trunk/; revision=23638
2003-12-04 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #51618
* mail-ops.c (empty_trash_empty): Get the proper local folders
store uri (it's not file:/ anymore).
svn path=/trunk/; revision=23636
2003-12-04 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #51605.
* em-folder-selector.c (emfs_response): Handle creating a new
folder (pop up a create-folder-selector dialog).
* em-folder-tree.c (emft_popup_new_folder_response): Moved all the
logic into em_folder_tree_create_folder().
(em_folder_tree_create_folder): New function to create a folder.
svn path=/trunk/; revision=23635
2003-12-04 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-hdrs.c (create_headers): Unifdef out the post-to
code and fix it to use the new folder selection button.
(e_msg_composer_hdrs_set_post_to): Same.
(e_msg_composer_hdrs_get_post_to): Same.
svn path=/trunk/; revision=23634
2003-12-04 Radek Doulik <rodo@ximian.com>
* camel-folder.c (folder_changed): check recent messages for junk
mail
* camel-session.c (camel_session_check_junk): new wrapper method
for check_junk flag
(camel_session_set_check_junk): ditto
* camel-session.h (struct _CamelSession): added check_junk flag
(if to check incoming mail for junk messages)
svn path=/trunk/; revision=23629
2003-12-03 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.c (add_special_info): Free fi->path if we are gonna
replace it with the vinfo path.
svn path=/trunk/; revision=23625
2003-12-03 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (uri_to_evname): Updated to add use mail subdirs.
(mail_config_uri_renamed): Updated cachenames[]
(mail_config_folder_to_cachename): Fixed to use the correct path.
* em-folder-browser.c (emfb_create_view_menus): Updated the
galview path to point to the evo-1.5 location.
(emfb_set_folder): Update the galview view_instance.
(emfb_create_view_instance): Split out from emfb_create_view_menus()
(emfb_create_view_menus): Reduced code, call emfb_create_view_instance()
svn path=/trunk/; revision=23624
2003-12-03 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-selector.c (emfs_create_name_activate): Emit the OK
response, not the CREATE_NEW response. Also,
g_signal_emit_by_name() does not take a GQuark detail argument, so
don't pass one. Fixes bug #51661.
svn path=/trunk/; revision=23623
2003-12-03 Chris Toshok <toshok@ximian.com>
* lib/Makefile.am (libessmime_la_SOURCES): add e-asn1-object.[ch]
* gui/smime-ui.glade: rename the ca trust dialog, and give it a
proper id.
* gui/certificate-manager.c (yourcerts_selection_changed): just
use @selection.
(contactcerts_selection_changed): same.
(authoritycerts_selection_changed): same.
* gui/certificate-viewer.c (free_data): free the cert chain.
(fill_in_general): move all the general tab stuff here.
(hierarchy_selection_changed): new function. not finished.
(fields_selection_changed): new function, unimplemented.
(fill_in_details): new function, fill in the heirarchy and hook up
signals and stuff.
(certificate_viewer_show): call fill_in_general/fill_in_details.
* lib/e-cert.c (e_cert_get_chain): new function.
* lib/e-cert.h: add prototype for e_cert_get_chain.
svn path=/trunk/; revision=23622
2003-12-03 Chris Toshok <toshok@ximian.com>
* lib/e-cert-db.c (e_cert_db_class_init): grovel around at startup
time for mozilla's pkcs11 module so we can get the same default
set of root certs.
svn path=/trunk/; revision=23621
* e-shell.c (impl_Shell_createNewWindow): If component_id is the
empty string, pass NULL for it to e_shell_create_window() so we
get the default.
* main.c (idle_cb): Pass an empty string for component_id to
createNewWindow() if the default_component_id is NULL.
svn path=/trunk/; revision=23620
tedfast <fejj@ximian.com>
* em-folder-view.c (emfv_set_folder): Sync the folder before
replacing it with the new folder.
svn path=/trunk/; revision=23619
2003-12-03 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (em_folder_tree_set_selected): Need to prepend
a "/" to path if the path is the url fragment. Also fixed to
select the store node if path == "/".
svn path=/trunk/; revision=23611
2003-12-03 JP Rosevear <jpr@ximian.com>
* gui/tasks-component.c (impl_dispose): free up the notifications
and the ecal
(config_create_ecal_changed_cb): clear the create_ecal if the
primary selection changes
(setup_create_ecal): find a default ecal to do creation with
(impl_requestCreateItem): use above
svn path=/trunk/; revision=23607
2003-12-03 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.c (camel_store_get_folder_info): Only add
vTrash/vJunk info's if we've requested the toplevel folder tree,
otherwise we get vTrash/vJunk folders in odd places in the folder
tree.
(add_special_info): Use the provider->url_flags to determine if
the url uses the fragment or not for the path.
svn path=/trunk/; revision=23606
2003-12-03 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-selector.c (em_folder_selector_get_selected_uri):
Fixed a FIXME by using the CamelProvider url flags to determine if
the url used url->fragment or url->path as the folder path.
svn path=/trunk/; revision=23604
2003-12-03 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (em_folder_tree_save_state): Set the
save_state_id to 0 or we will never get a chance to run again.
svn path=/trunk/; revision=23602