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-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-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
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 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
* gui/component/addressbook-config.c: Do not depend on
e-folder-list.
* gui/component/select-names/e-select-names.c: Remove dependency
on evolution-folder-selector-button.
(e_addressbook_create_folder_selector): Just return a FIXME label
for now.
(folder_selected): #if 0 out.
(e_select_names_init): Do not connect.
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_activate_dialog): Don't get a shell_client
arg anymore.
(load_completion_books): Stub out.
* gui/component/select-names/e-select-names.c
(e_select_names_new): Don't get an EvolutionShellClient anymore.
Don't create the folder selector button for now.
* gui/component/select-names/e-select-names.h: Remove dependency
on evolution-shell-client.
* gui/component/select-names/e-select-names-bonobo.c: Remove
dependency on evolution-shell-client.
(impl_SelectNames_activate_dialog): Stub out.
* gui/widgets/eab-gui-util.c: Remove dependency on
evolution-shell-client.
(eab_transfer_contacts): Stub out.
* importers/icalendar-importer.c: Do not #include shell stuff.
* gui/main.c: Do not #include <evolution-shell-client.h>.
* gui/e-itip-control.c: Do not #include
<e-folder-selector-button.h> nor <evolution-shell-client.h>.
(start_default_server): Return FALSE.
(default_server_started_cb): Do not connect the "selected" signal
on the button since it's now NULL.
(button_selected_cb): #if 0 out.
* gui/e-cal-list-view.h: Do not #include
"evolution-activity-client.h".
* gui/tasks-component.c (impl_createControls): Give an empty label
for the status bar.
* gui/e-day-view.h: Remove all deps on evolution-activity-client.
* e-msg-composer-hdrs.c: Do not #include
<evolution-folder-selector-button.h>.
(e_msg_composer_hdrs_set_post_to): #if 0 out for now.
(e_msg_composer_hdrs_get_post_to): Likewise.
* mail-vfolder.c: Do not #include "evolution-shell-component.h".
* Makefile.am (libevolution_mail_la_SOURCES): Don't compile
mail-importer.[ch] for now.
* mail-component-factory.c: Do not #include
<evolution-shell-client.h>.
* mail-config.c: Likewise.
* mail-vfolder.h: Do not #include <evolution-storage.h> or
<evolution-shell-component.h>.
* mail.h: Do not #include <evolution-storage.h>.
* mail-ops.h: Do not #include <evolution-storage.h>.
(mail_scan_subfolders): Remove prototype.
(mail_update_subfolders): Likewise.
svn path=/trunk/; revision=23595
2003-12-03 JP Rosevear <jpr@ximian.com>
* em-folder-tree.c (em_folder_tree_destroy): save the state
immediately if there is a timeout set
(em_folder_tree_save_state): be true GSourceFunc and just return
FALSE to remove the source
svn path=/trunk/; revision=23594
2003-12-03 JP Rosevear <jpr@ximian.com>
* em-folder-tree.c (em_folder_tree_destroy): save the state
immediately if there is a timeout set
(em_folder_tree_save_state): be true GSourceFunc and just return
FALSE to remove the source
svn path=/trunk/; revision=23593
2003-12-03 Not Zed <NotZed@Ximian.com>
* mail-autofilter.c (rule_match_thread): changed to setup the rule
part properly, it could never have worked. Bug #51601.
* em-popup.c (emp_uri_popup_address_add): implement.
* em-folder-view.c (emfv_popup_add_sender): implement.
(emfv_add_sender_addressbook): hook up to above func.
* em-utils.c (em_utils_add_address): implementation to add an
email address to the addressbook.
(emu_add_address_cb): callback required for funny api. Bug
#51321.
svn path=/trunk/; revision=23592
2003-12-02 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree-model.c (drop_uid_list): Moved here.
(drop_folder): Moved here.
(import_message_rfc822): Moved here.
(drop_message_rfc822): Moved here.
(drop_text_uri_list): Moved here.
(model_drag_data_received): Moved the logic from em-folder-tree.c
into here.
(model_row_drop_possible): Same.
(model_row_draggable): Same.
(drag_text_uri_list): Moved here.
(model_drag_data_get): Moved logic here.
(model_drag_data_delete): Moved logic here.
* em-folder-tree.c (drag_data_get_cb): Pass the full_name to
camel_store_get_folder() rather than the path.
(drag_data_received_cb): Same.
(drop_uid_list): Removed.
(drop_folder): Removed.
(import_message_rfc822): Removed.
(drop_message_rfc822): Removed.
(drop_text_uri_list): Removed.
(drag_data_received_cb): Removed.
(row_drop_possible_cb): Removed.
(row_draggable_cb): Removed.
(drag_text_uri_list): Removed.
(drag_data_get_cb): Removed.
(drag_data_delete_cb): Removed.
(em_folder_tree_enable_drag_and_drop): Don't connect to any of the
drag & drop signals, they don't exist anymore.
* mail-component.c (impl_createControls): Enable drag-and-drop.
* em-folder-tree.c (em_folder_tree_new_with_model): Connect to the
loading row signal.
(loading_row_cb): Expand the path if needed.
(em_folder_tree_destroy): Disconnect from the loading-row signal.
(em_folder_tree_enable_drag_and_drop): New function to enable
drag-and-drop.
(em_folder_tree_new): Remove drag-and-drop setup code.
* em-folder-tree-model.c (em_folder_tree_model_class_init): Define
the loading-row signal.
(em_folder_tree_model_set_folder_info): emit the loading-row signal.
svn path=/trunk/; revision=23590
2003-12-02 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (em_folder_tree_new_with_model): Connect to the
loading row signal.
(loading_row_cb): Expand the path if needed.
(em_folder_tree_destroy): Disconnect from the loading-row signal.
* em-folder-tree-model.c (em_folder_tree_model_class_init): Define
the loading-row signal.
(em_folder_tree_model_set_folder_info): emit the loading-row signal.
svn path=/trunk/; revision=23589
2003-12-02 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (em_folder_tree_new): Fixed to pass the
evolution dir into em_folder_tree_model_new().
(model_save_state): Removed.
(em_folder_tree_save_state): Moved all the saving logic into
em_folder_tree_model_save_expanded().
* em-folder-tree-model.c (em_folder_tree_model_new): Load the
expanded state off disk.
(em_folder_tree_model_save_expanded): New function to save
expanded state.
(em_folder_tree_model_get_expanded): new function to get if a node
should be expanded.
(em_folder_tree_model_set_expanded): new function to set the
expanded state of a node.
* mail-component.c (mail_component_init): Pass the evo dir to
em_folder_tree_model_new() which now requires it.
svn path=/trunk/; revision=23585
2003-12-02 Not Zed <NotZed@Ximian.com>
* mail-config-druid.c (mail_config_druid_new): moved the
gtk_widget_show_all to before we add the pages, otherwise it can
override per-page logic. Bug #50790.
svn path=/trunk/; revision=23573
2003-12-02 Not Zed <NotZed@Ximian.com>
* message-list.c (message_list_create_extras): setup another image
(followup completed) to flag status list.
(states_pixmaps[]): added flag_for_followup_done.
(ml_tree_value_at): return 0,1 or 2 for completed icon. also use
the real ints, these shouldn't have been true/false. Bug #43514.
svn path=/trunk/; revision=23570
2003-12-02 Not Zed <NotZed@Ximian.com>
* evolution-mail.schemas: Added empty_trash prompt key.
* em-utils.c (em_utils_prompt_user): changed to take the gconf
'prompt again' key directly. Fixed callers.
(em_utils_expunge_folder): prompt the user with an expunge
specific message.
(em_utils_empty_trash): have an empty-trash specific message for
prompting confirm.
(emu_confirm_expunge): removed, no longer needed. Bug #38613.
(em_utils_expunge_folder): remove most line feeds, let the label
wrap them.
(em_utils_empty_trash): ditto.
* em-subscribe-editor.c (sub_folder_subscribed): update the ui
selection state after we're done. maybe we should listen on the
model but this is easier. Bug #50861.
* em-message-browser.c (emmb_activate): hook up our own verb list.
(emmb_message_verbs[], emmb_close): implement the close verb.
Bug #51558.
* em-format-html-display.c (efhd_attachment_popup): duh, actually
add the menu list we create. Bug #49902.
* em-format.c (d): turn off debug, committed by accident.
svn path=/trunk/; revision=23562
* mail-component.c (struct _MailComponentPrivate): New member
activity_handler.
(mail_component_init): Initialize.
(impl_dispose): Unref.
(mail_component_peek_activity_handler): New.
(impl_createControls): Create an ETaskBar, attach it to the
ActivityHandler, and return it to the caller as the statusbar
control.
* e-activity-handler.c (e_activity_handler_operation_finished):
Argh, renamed from e_activity_client_operation_finished().
(e_activity_handler_operation_started): Don't unref the pixbuf.
* e-shell-window.c (setup_widgets): Hide the menu hint label.
* e-activity-handler.c (init): Init to next_activity_id to 1 so
callers can rely on it being nonzero.
svn path=/trunk/; revision=23556
* gui/component/addressbook-component.c (impl_createControls):
Pass a label for the status bar control for now.
* gui/calendar-component.c (impl_createControls): Pass a label for
the status bar control for now.
* gui/tasks-component.c (impl_createControls): Pass a label for
the status bar control for now.
* mail-component.c (impl_createControls): Pass a label for the
status bar control for now.
* e-shell.c (struct _EShellPrivate): Remove member
activity_handler.
(setup_activity_interface): Remove.
(e_shell_init): Don't call.
(create_window): Don't attach the task bar to the activity
handler.
* e-shell-window.c (struct _ComponentView): New member
statusbar_widget.
(struct _EShellWindowPrivate): Remove member task_bar.
(init_view): Get the status bar control from createControls and
put it in the ComponentView struct.
(setup_task_bar): New.
(setup_statusbar_notebook): New.
(switch_view): Switch the statusbar notebook too.
(impl_dispose): Add missing GTK_OBJECT() cast.
(e_shell_window_peek_task_bar): Remove.
* Evolution-Component.idl (Component::createControls): New out arg
"statusbar_control"; this way components can provide their own
status bar.
* e-activity-handler.c, e-activity-handler.h: Turn into a plain
GObject; translate all the CORBA methods into plain C methods.
* Makefile.am: Move e-activity-handler to libeshell instead of it
being in the shell.
svn path=/trunk/; revision=23555
2003-12-01 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_signature_run_script): Use fcntl() to
set FD_CLOEXEC on each fd rather than close()ing it. Apparently
Linux's older pthread implementations use sockets and so this
fouls threading up. GO LINUX! GO!
svn path=/trunk/; revision=23548
2003-12-01 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (em_folder_tree_get_folder_info__got): Updated
to call em_folder_tree_model_set_folder_info().
(folder_subscribed_cb): Removed.
(folder_unsubscribed_cb): Removed.
(folder_created_cb): Removed.
(folder_deleted_cb): Removed.
(folder_renamed_cb): Removed.
* em-folder-tree-model.c (em_folder_tree_store_set_folder_info):
New function to replace tree_store_set_folder_info() which had
been in em-folder-tree.c
(em_folder_tree_model_remove_uri): Made private.
(em_folder_tree_model_remove_store_info): Made private.
(em_folder_tree_model_remove_folders): New function to replace
remove_folders() from em-folder-tree.c
(em_folder_tree_model_new): No longer takes any args.
* em-folder-tree.c (em_folder_tree_new): Updated.
* mail-component.c (add_store): Add the store to the model rather
than the treeview.
(impl_createControls): create a new treeview based on the
already-instantiated model.
(mail_component_init): Create a new tree model.
(mail_component_remove_store): Remove the store from the model
directly.
(mail_component_get_tree_model): Updated.
* em-folder-tree.c (folder_unsubscribed_cb): Call
em_folder_tree_model_remove_folders() rather than the deprecated
internal remove_folders() function.
(folder_renamed_cb): Same.
(em_folder_tree_remove_store): Removed.
(em_folder_tree_add_store): Removed.
(remove_folders): Removed.
svn path=/trunk/; revision=23545
2003-12-01 Rodney Dawes <dobey@ximian.com>
* Use BASE_VERSION for repo_ids and OAFIIDs
* Update killev to kill the correct versions of gnome-spell and the
GtkHTML Editor
svn path=/trunk/; revision=23543
2003-12-01 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (em_folder_tree_get_folder_info__got): Make
sure our parent folder hasn't been unsubscribed or else we get a
segfault here if it has.
03-11-28 Dave Camp <dave@ximian.com>
* em-folder-tree.c (render_pixbuf): Set the pixbuf renderer
invisible for stores.
2003-11-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_get_account_by_uid): New function.
* em-folder-tree.c (tree_store_set_folder_info): Expand the tree
node if the saved state tells us it was expanded the previous
session.
(em_folder_tree_load_state): Load the saved state.
(em_folder_tree_add_store): Conditionally expand the store node.
(em_folder_tree_new_with_model): Expand all the nodes that should
be expanded.
svn path=/trunk/; revision=23530
2003-12-01 Not Zed <NotZed@Ximian.com>
* em-folder-browser.c (emfb_edit_cut, emfb_edit_copy)
(emfb_edit_paste): override the em-folder-view impl, and handle
the search bar properly. For #48746.
* mail-security.glade: added some padding to the security details
frames.
svn path=/trunk/; revision=23514
2003-12-01 Not Zed <NotZed@Ximian.com>
* mail-security.glade: added some padding to the security details
frames.
* em-format-html-display.c (efhd_xpkcs7mime_validity_clicked):
some cosmetic layout changes.
svn path=/trunk/; revision=23513
* mail-offline-handler.c: Remove all the syncFolder stuff since
it's not in the Component interface anymore.
* mail-mt.c: Remove declaration for global_shell_client. #if 0
all the code that uses that.
* mail-component-factory.c: Remove declaration for
global_shell_client.
* mail-vfolder.c: Remove declaration for global_shell_client.
svn path=/trunk/; revision=23506
2003-11-24 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (em_folder_tree_save_state): New function to
save tree expanded state.
(em_folder_tree_queue_save_state): New function to queue saving of
the expanded state.
(em_folder_tree_construct): Connect to the row-collapsed signal.
(tree_row_collapsed): Queue a save-state.
(tree_row_expanded): Queue a save state.
(em_folder_tree_get_folder_info__got): Queue a save-state.
svn path=/trunk/; revision=23485
2003-11-25 Not Zed <NotZed@Ximian.com>
* em-folder-view.c (em_folder_view_print): set session on print
formatter for signatures to work.
* em-message-browser.c (emmb_destroy): kill warning.
* em-format-html.c (efh_output_secure): same as
efhd_output_secure, output the security bar, but for
printing/plain html.
(efh_application_xpkcs7mime): use output_secure.
(em_format_html_multipart_signed_sign): removed, output_secure
does what this did.
* em-format-html-display.c (smime_sign_table,
smime_encrypt_table): Added a short description for the mail
display.
(efhd_xpkcs7mime_button): only good/bad signature at this point,
if only encrypted, then display 'bad' icon.
(efhd_output_secure): output the security bar/button and handle
multi-level enveloping properly.
(efhd_application_xpkcs7mime): just call output_secure to do
the security bar.
(efhd_multipart_signed): same.
(efhd_signature_button): removed, no longer used.
(efhd_signature_check): removed, no longer used.
svn path=/trunk/; revision=23483
2003-11-24 Radek Doulik <rodo@ximian.com>
* em-format-html.c (efh_text_plain): use new colors
(efh_text_html): ditto
* em-format-html-display.c (efhd_gtkhtml_realise): set new colors
according to style
* em-format-html.c (efh_init): init new colors
* em-format-html.h: added frame and content colors
svn path=/trunk/; revision=23477
2003-11-24 Radek Doulik <rodo@ximian.com>
* em-format.c (emf_multipart_mixed): do not use horizonal rule,
attachment content is now inside simple frame
* em-format-html.c (efh_text_plain): add 6 points around text
plain content and frame it
(efh_text_html): frame text/html
(efh_format_do): fix body tag, set bgcolor
(em_format_html_format_headers): do not put headers into own
table, content body is framed now instead
(efh_format_message): update for headers/body changes
* em-format-html-display.c (efhd_format_attachment): put
additional vertical space around attachment button
svn path=/trunk/; revision=23474