* Makefile.am: Added rule to generate
GNOME_Evolution_Summary.server.in from
GNOME_Evolution_Summary.server.in.in, substituting @LIBEXECDIR@.
Also, install evolution-executive-summary in $libexecdir instead
of $bindir.
* GNOME_Evolution_Summary.server.in.in: Removed the @OAF_SHLIB_*@
stuff and added @LIBEXECDIR@/ to the executable's name instead.
svn path=/trunk/; revision=18791
* metar.c: #include <string.h>.
* main.c (main): Use gnome_program_init().
* e-summary-tasks.c (e_summary_tasks_protocol): Use
bonobo-activation.
* e-summary-table.c (set_value_at): Use g_signal_emit() instead of
gtk_signal_emit().
* e-summary-shown.c (e_summary_shown_class_init): GObjectified.
(construct_pixmap_button): Use gtk_image_new_from_stock() instead
of gnome_stock_pixmap_new().
* e-summary-preferences.c (e_summary_preferences_restore): Use
EConfigListener.
(add_dialog_clicked_cb): Add some missing consts.
(factory_fn): Pass NULL as the domain arg to glade_xml_new().
(factory_fn): Add id arg.
(e_summary_preferences_register_config_control_factory):
* e-summary-mail.c (e_summary_folder_init_folder_store): Use
bonobo-activation.
* e-summary-factory.c (control_activate): Pass NULL ev arg to
bonobo functions that now need it.
(control_deactivate): Likewise.
(control_activate_cb): Likewise.
(e_summary_factory_new_control): Use g_signal_connect() instead of
gtk_signal_connect().
* e-summary-calendar.c (e_summary_calendar_protocol): Use
bonobo_activation.
* e-summary.c: Update gnome-print #includes. Added some missing
#includes.
(e_summary_url_clicked): Pass NULL as the error arg to
gnome_url_show().
(do_summary_print): Use GnomePrintConfig instead of GnomePrinter
et al.
* e-cell-tri.h: Removed BEGIN_GNOME_DECLS/END_GNOME_DECLS.
* e-summary.c: Removed #include <libgnome/gnome-defs.h>. Ported
to e-config-listener.c.
* e-cell-tri.h: Removed #include <libgnome/gnome-defs.h>.
* component-factory.c: #include <gtk/gtkmain.h>.
(create_component): Use g_signal_connect. Match prototype with
the one required by bonobo_generic_factory().
* Makefile.am: Add @INTLTOOL_SERVER_RULE@.
($(MAIL_GENERATED)): Update with new ORBit rules.
svn path=/trunk/; revision=18574
* e-cell-tri.c (set_value): Removed debugging message.
* e-summary-factory.c (control_activate): Removed the call to
e_summary_thaw().
(control_deactivate): Removed the call to e_summary_freeze().
* e-summary-mail.c (folder_gen_html): Removed debugging message.
(insert_path_recur): Likewise.
(add_storage_to_table): Likewise.
(folder_info_pb_changed): Likewise.
(lazy_register_storages): Likewise.
* e-summary-weather.c: #include "e-summary-preferences.h".
(e_summary_weather_update): Removed debugging message.
* e-summary-offline-handler.c: #include <gtk/gtksignal.h>.
* main.c: #include <gconf/gconf.h> and <gal/widgets/e-cursors.h>.
* e-summary-preferences.c (free_rdf_info): Removed unused
function.
(find_name_for_url): Likewise.
(mail_etable_item_changed_cb): Likewise.
(maybe_add_to_shown): Likewise.
(get_folders_from_view): Removed debugging messages.
* e-summary-rdf.c (tree_walk): Removed debugging message.
(e_summary_rdf_update): Likewise.
* e-summary-shown.c (find_entry_from_location): Removed unused
function.
(maybe_move_to_shown): Removed debugging message.
* e-summary-tasks.c: New members cal_open_reload_timeout_id and
reload_count in ESummaryTasks.
(generate_html): Return if the load_state of the cal_client is not
CAL_CLIENT_LOAD_LOADED.
(cal_open_reload_timeout): New; timeout function for attempting to
reload the calendar if the first attempt failed.
(cal_opened_cb): If the load failed, register
cal_open_reload_timeout to try again after one second.
(setup_task_folder): If there is a pending timeout callback
[cal_open_reload_timeout_id nonzero], remove it.
(e_summary_tasks_init): Call setup_task_folder().
(e_summary_tasks_free): If there is a pending timeout callback
[cal_open_reload_timeout_id nonzero], remove it.
* e-summary-calendar.c: New members cal_open_reload_timeout_id and
reload_count in ESummaryCalendar.
(e_cal_comp_util_compare_event_timezones): Renamed to
compare_event_timezones() and made static.
(generate_html): Return if the load_state of the cal_client is not
CAL_CLIENT_LOAD_LOADED. Call e_summary_draw() before returning.
(cal_open_reload_timeout): New; timeout function for attempting to
reload the calendar if the first attempt failed.
(cal_opened_cb): Return if the load_state of the cal_client is not
CAL_CLIENT_LOAD_LOADED.
(e_summary_calendar_reconfigure): Call setup_calendar() so that,
if the default folder has changed, it gets reloaded.
(setup_calendar): If there is a pending timeout callback
[cal_open_reload_timeout_id nonzero], remove it.
(e_summary_calendar_free): Likewise.
* e-summary.c: New member queue_draw_idle_id in ESummaryPrivate.
Removed member redraw_pending.
(destroy): If queue_draw_idle_id is nonzero, remove the
corresponding glib mainloop source.
(draw_idle_cb): New function to regenerate the HTML in the idle
loop; moved all the code from e_summary_draw() in here.
(e_summary_draw): Set up draw_idle_cb as an idle callback.
(e_summary_init): Initialize queued_draw_idle_id.
(e_summary_reload_timeout): Call e_summary_calendar_reconfigure()
and e_summary_tasks_reconfigure(). Removed debugging message.
(e_summary_set_online): Removed debugging message.
(e_summary_freeze): Removed.
(e_summary_thaw): Removed.
svn path=/trunk/; revision=18443
* e-summary-preferences.c: Replace Gnotices with Footnotes.
* e-summary-tasks.c: New member config_listener in ESummaryTasks.
(e_summary_tasks_free): Unref the config_listener.
(config_listener_key_changed_cb): New, callback for the
config_listener.
(setup_task_folder): New helper function to set up access to the
task folder.
(setup_config_listener): New.
(e_summary_tasks_init): Use setup_config_listener() and
setup_task_folder().
* e-summary-calendar: New member config_listener in
ESummaryCalendar.
(setup_config_listener): New.
(config_listener_key_changed_cb): New callback for the
config_listener.
(setup_calendar): New.
(e_summary_calendar_init): Use setup_config_listener() and
setup_calendar().
svn path=/trunk/; revision=18417
->weathers member before freeing the list items. Otherwise
soup_message_cancel() might invoke the refresh function while we
are freeing things on the list, and crash. [#31639]
svn path=/trunk/; revision=18398
Removed member name. Renamed FolderStore.folders to
FolderStore.path_to_folder and added
FolderStore.physical_uri_to_folder.
(new_folder_cb): Set physical_uri member.
(update_folder_cb): Likewise.
(new_folder_cb): Pass physical_uri to
e_summary_mail_idle_get_info(). Also g_strdup() it since that's
what it expects.
(remove_folder_cb): Free physical_uri.
(mail_change_notify): Compare against folder->physical_uri, not
->path.
(e_summary_mail_reconfigure): Pass folder->physical_uri to
e_summary_mail_get_info, not ->path.
(e_summary_mail_uri_to_name): Removed.
(e_summary_folder_init_folder_store): Initialize path_to_folder
and physical_uri_to_folder.
(new_folder_cb): Add the folder to the physical_uri_to_folder hash
too.
(mail_change_notify): Use physical_uri_to_folder to figure out the
folder from the uri.
(e_summary_mail_reconfigure): Here as well.
svn path=/trunk/; revision=18239
* e-summary-offline-handler.c (impl_goOffline): Pass ev, not &ev
to CORBA_Object_duplicate since ev is already a pointer.
svn path=/trunk/; revision=18187
2002-09-05 Anna Dirks <anna@ximian.com>
* GNOME_Evolution_Summary.oaf.in.in : Changed the description of the
summary page of the settings dialog to be less wordy.
svn path=/trunk/; revision=17993
* gui/component/addressbook-component.c (create_component): Pass
NULL as @unpopulate_folder_context_menu_fn to
evolution_shell_component_new().
* gui/component-factory.c (create_object): Pass NULL as
@unpopulate_folder_context_menu_fn to
evolution_shell_component_new().
* mail-account-gui.c (mail_account_gui_save): Remove unused
variable.
* component-factory.c (unpopulate_folder_context_menu): New.
(create_component): Pass it to evolution_shell_component_new().
* component-factory.c (create_component): Pass NULL as
@unpopulate_folder_context_menu_fn to
evolution_shell_component_new().
* e-storage-set-view.c (popup_folder_menu): Remove the context
menu items using
evolution_shell_component_client_unpopulate_folder_context_menu()
instead of doing it ourself, since BonoboUI sucks.
* evolution-shell-component-client.c
(evolution_shell_component_client_unpopulate_folder_context_menu):
New.
* evolution-test-component.c (register_component): Pass NULL as
@unpopulate_folder_context_menu_fn to
evolution_shell_component_new().
* evolution-shell-component.c: New member
unpopulate_folder_context_menu_fn in
EvolutionShellComponentPrivate. New member uic in
EvolutionShellComponentPrivate.
(init): Init new members to NULL.
(destroy): bonobo_object_unref() priv->uic if not NULL.
(evolution_shell_component_new): New arg
@unpopulate_folder_context_menu_fn.
(evolution_shell_component_construct): Likewise.
(impl_populateFolderContextMenu): Set priv->uic to the newly
created UIComponent.
(impl_unpopulateFolderContextMenu): New, implementation for the
::unpopulateFolderContextMenu CORBA method.
(class_init): Install.
* Evolution-ShellComponent.idl (unpopulateFolderContextMenu): New
method.
(AlreadyPopulated): New exception.
(populateFolderContextMenu): Can raise it.
(NotPopulated): New exception.
svn path=/trunk/; revision=17963
2002-08-07 Anna Marie Dirks <anna@ximian.com>
* e-summary-shown.c (e_summary_shown_init): Added an alignment to make
button position be the same as the other buttons of this type in evo.
(add_clicked): make this buttons sensitive when there is no proper
selection
(remove_clicked): same thing with the button
* my-evolution.glade: Capitalized "Weather Settings" properly.
svn path=/trunk/; revision=17732
2002-07-26 Peter Williams <peterw@ximian.com>
* e-summary-mail.c (update_folder_cb): Don't use the folder's path
as the physical URI; use CORBA Magic (TM) to figure it out.
svn path=/trunk/; revision=17630
* e-summary-preferences.c (set_selected_folders): Actually pass
the evolution URI, not the path, in Folder.evolutionUri (since now
the shell StorageSetView implementation has been fixed to handle
this field properly).
* evolution-storage-set-view.c
(impl_StorageSetView__set_checkedFolders): Handle
Folder.evolutionUri as a URI, not as a path. Also use
e_free_string_list().
svn path=/trunk/; revision=17425
* e-summary-mail.c (e_summary_mail_idle_get_info): Add this, to
call e_summary_mail_get_info from an idle handler.
(new_folder_cb, update_folder_cb): Use idle_get_info rather than
making another corba call from inside the corba handler. (Fixes a
three-way deadlock between mail, summary, and exchange.)
svn path=/trunk/; revision=17322
* e-summary-table.c: Don't show the headers in the folder table.
* e-summary-shown.c (e_summary_shown_init): Set the spacing to 3.
svn path=/trunk/; revision=16942
2002-05-14 Christopher James Lahey <clahey@ximian.com>
* e-summary-mail.c (folder_gen_html): Use the uri stored in the
ESummaryMailFolder object here.
(e_summary_mail_generate_html): Only show email folders if they
have > 0 unread messages.
(new_folder_cb): Save the evolutionUri here.
svn path=/trunk/; revision=16787