* 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
renderer to GTK_CELL_RENDERER_MODE_ACTIVATABLE so clicking on the
text doesn't change the status of the checkbox. [Many thanks to
Jonathan Blandford for telling me how to do this!]
svn path=/trunk/; revision=23588
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 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/copy-source-dialog.c (copy_source_dialog): added
a label to the dialog to make it look less ugly.
svn path=/trunk/; revision=23578
2003-12-02 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/copy-source-dialog.c (copy_source_dialog): added
a label to the dialog to make it look less ugly.
svn path=/trunk/; revision=23577
2003-12-02 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/copy-source-dialog.c: converted to use an
ESourceOptionMenu instead of the ESourceSelector.
(primary_selection_changed_cb): removed.
(copy_source_dialog): create the ESourceOptionMenu here.
(source_selected_cb): callback for the "source_selected"
signal on the ESourceOptionMenu widget.
svn path=/trunk/; revision=23576
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>
* flag-for-folloup*: Changed the base flag colour to reddish, and
created a -done set, the original blue-ish colour.
svn path=/trunk/; revision=23569
2003-12-02 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell-toggle.c:
(gal_a11y_e_cell_toggle_dispose): use table item to get the model.
(gal_a11y_e_cell_toggle_new): use table item to get the model.
* gal/a11y/e-table/gal-a11y-e-cell-tree.c:
(ectr_model_row_changed_cb): new function to deal with tree cell
expansion and collapse
(ectr_subcell_weak_ref): destroy the cell_tree a11y instance along
with it's subcell's a11y instance.
(gal_a11y_e_cell_tree_new): init the atk state of the tree cell,
and connect to the model_row_change signal of table model, so that
when the tree cell expands or collapses, the corresponding AtkState
could be set.
* gal/a11y/e-table/gal-a11y-e-cell-tree.h: add one member to save
the connected signal id.
svn path=/trunk/; revision=23567
2003-12-01 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/gal-a11y-e-table-item.c:
(gal_a11y_e_table_item_new): don't assert row=0 as fault, it cause bug
51199.
svn path=/trunk/; revision=23566
* gui/e-calendar-table.h (struct _ECalendarTable): Replace member
"activity" with an "activity_id".
* gui/e-cal-view.c (struct _ECalendarViewPrivate): Replace member
"activity" with "activity_id".
(e_calendar_view_destroy): Don't unref activity here anymore.
(e_calendar_view_set_status_message): Report progress using the
EActivityHandler off the CalendarComponent.
* gui/calendar-component.c
(struct _CalendarComponentPrivate): New member activity_handler.
(calendar_component_init): Init.
(calendar_component_peek_activity_handler): New.
(impl_dispose): Unref.
(impl_createControls): Return an ETaskBar for the statusbar
control.
svn path=/trunk/; revision=23565
2003-12-01 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell-toggle.c:
(gal_a11y_e_cell_toggle_dispose):
* gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_dispose),
(eti_header_structure_changed): handle the structure changed signal of
table model. Thus we can handle table column add/remove/delete.
(eti_real_initialize): connect to structure-changed signal.
(gal_a11y_e_table_item_new): initialize the new added field - columns,
which in turn record columns before change.
svn path=/trunk/; revision=23563
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
* gui/component/addressbook.c (struct AddressbookView): Replace
activity_client with activity_id.
(set_status_message): Use the EActivityHandler from the
AddressbookComponent.
* gui/component/addressbook-component.c (struct
_AddressbookComponentPrivate): New member activity_handler.
(addressbook_component_init): Init.
(impl_dispose): Unref.
(addressbook_component_peek_activity_handler): New.
(impl_createControls): Return an ETaskBar as the statusbar control
and attach it to the activity handler.
svn path=/trunk/; revision=23560
* 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 Larry Ewing <lewing@ximian.com>
* gui/component/Makefile.am (INCLUDES): remove
GTK_DISABLED_DEPRECATED so that we can build with gtk-2.3.
svn path=/trunk/; revision=23553
2003-12-02 Not Zed <NotZed@Ximian.com>
** See bug #51478.
* camel-gpg-context.c (gpg_ctx_free): handle the context being
NULL, and exit silently.
svn path=/trunk/; revision=23550
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 Rodney Dawes <dobey@ximian.com>
* data/Makefile.am: Install evolution.desktop as
evolution-$(BASE_VERSION).desktop
* data/evolution.desktop.in: Remove generated file
* data/evolution.desktop.in.in: Add (Unstable) to name
Fix comment to be more correct and have correct capitalization
svn path=/trunk/; revision=23546
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