Commit Graph

243 Commits

Author SHA1 Message Date
e0edfe0bca Added rule to generate GNOME_Evolution_Summary.server.in from
* 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
2002-11-15 22:05:13 +00:00
c2effba7cf Converted to Glade 2.
svn path=/trunk/; revision=18755
2002-11-14 18:07:31 +00:00
74b947cdfc Replaced all gtk_signal_connect() calls with g_signal_connect() ones.
* e-summary-calendar.c: Replaced all gtk_signal_connect() calls
with g_signal_connect() ones.
* e-summary-mail.c: Likewise.
* e-summary-offline-handler.c: Likewise.
* e-summary-preferences.c: Likewise.
* e-summary-shown.c: Likewise.
* e-summary-tasks.c: Likewise.
* e-summary.c: Likewise.

svn path=/trunk/; revision=18754
2002-11-14 17:59:52 +00:00
8f7b3fabe5 gtk_widget_destroy() instead of gtk_object_destroy().
* e-summary-factory.c (control_destroy_cb): gtk_widget_destroy()
instead of gtk_object_destroy().
(e_summary_factory_new_control): Likewise.

* e-summary-calendar.c: Use g_object_ref()/g_object_unref()
instead of gtk_object_ref()/gtk_object_unref().
* e-summary-preferences.c: Likewise.
* e-summary-shown.c: Likewise.
* e-summary-table.c: Likewise.
* e-summary-tasks.c: Likewise.
* e-summary.c: Likewise.

* e-summary-preferences.c (e_summary_preferences_make_mail_table):
g_object_set_data() instead of gtk_object_set_data().
(make_property_dialog): g_object_get_data() instead of
gtk_object_get_data().
(get_folders_from_view): Likewise.

* component-factory.c (create_view): Use
evolution_shell_client_corba_objref() instead of
bonobo_object_corba_objref() on the EvolutionShellClient object.
Also, use g_object_get_data() instead of gtk_object_get_data().
(owner_set_cb): Likewise.
(create_component): Use g_object_set_data() instead of
gtk_object_set_data().

svn path=/trunk/; revision=18710
2002-11-11 21:19:24 +00:00
ff0a388714 Convert to use libxml2.
svn path=/trunk/; revision=18709
2002-11-11 20:30:10 +00:00
afc95fbc44 Convert from GtkObject to GObject.
svn path=/trunk/; revision=18707
2002-11-11 19:52:58 +00:00
fdd114527a Renamed from GNOME_Evolution_Summary.oaf.in.in.
* GNOME_Evolution_Summary.server.in.in: Renamed from
GNOME_Evolution_Summary.oaf.in.in.

* Makefile.am: GNOME_Evolution_Summary.server instead of .oaf.

svn path=/trunk/; revision=18652
2002-11-07 23:15:07 +00:00
f36f2d1fcf #include <string.h>.
* 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
2002-11-06 00:42:52 +00:00
3fee618acf Removed debugging message.
* 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
2002-10-25 22:05:14 +00:00
91fae69957 Replace Gnotices with Footnotes.
* 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
2002-10-23 17:37:55 +00:00
29a63b4a13 (e_summary_weather_reconfigure): NULL the
->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
2002-10-21 15:21:10 +00:00
15a08c668a (e_summary_mail_generate_html): Generate HTML
for the folder even if the unread count is zero.

svn path=/trunk/; revision=18240
2002-09-26 20:27:28 +00:00
ec11be672d Add member physical_uri to ESummaryMailFolder.
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
2002-09-26 20:22:45 +00:00
97cc462bb3 (folder_list_from_vector): Do some
sanity checking so we don't crash miserably as in #28481.

svn path=/trunk/; revision=18238
2002-09-26 19:22:33 +00:00
b3dddffe69 Take out CNN and DebianPlanet, which do
not seem to work for me.

svn path=/trunk/; revision=18237
2002-09-26 18:46:51 +00:00
c4c3730179 Pass ev, not &ev to CORBA_Object_duplicate since ev is already a pointer.
* 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-23 22:14:13 +00:00
5f9b117b8a (e_summary_weather_get_html): Don't add any
header if there are no weather stations.  [#15101]
(make_anchor): Removed unused function.

svn path=/trunk/; revision=18185
2002-09-23 21:51:59 +00:00
97d6f614ac Add Israel. [Patch by Sam Popper <shmuelp@bigfoot.com>.]
svn path=/trunk/; revision=18094
2002-09-17 19:50:49 +00:00
a0b85efae0 Update for Mailer.idl rename
* Makefile.am (IDLS, MAIL_GENERATED): Update for Mailer.idl rename

	* e-summary.c, e-summary-mail.c: Likewise

svn path=/trunk/; revision=18061
2002-09-13 15:06:11 +00:00
c91cedb043 Changed the description of the summary page of the settings dialog to be
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
2002-09-05 19:45:44 +00:00
ddaa0af2ce Pass NULL as @unpopulate_folder_context_menu_fn to
* 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-09-04 16:05:35 +00:00
2fd52ffbfd Oops. Take two.
* GNOME_Evolution_Summary.oaf.in.in: Oops. Take two.

	* GNOME_Evolution_Summary.oaf.in: Remove this. It's autogenerated.

svn path=/trunk/; revision=17925
2002-08-29 17:57:39 +00:00
c9eb32559a Add an evolution:shell_component_launch_order and rename
* GNOME_Evolution_Summary.oaf.in: Add an
	evolution:shell_component_launch_order and rename
	evolution:shell_component_icon.

svn path=/trunk/; revision=17908
2002-08-28 21:21:40 +00:00
a5a141574a Use e-util/e-proxy.c's e_proxy_init().
2002-08-28  Jeffrey Stedfast  <fejj@ximian.com>

	* main.c (main): Use e-util/e-proxy.c's e_proxy_init().

svn path=/trunk/; revision=17895
2002-08-28 19:01:38 +00:00
f871ef2a85 Count overdue tasks as tasks due today
svn path=/trunk/; revision=17829
2002-08-21 15:52:28 +00:00
1c5f4cda4f Use the default uris instead of always changing to local
svn path=/trunk/; revision=17775
2002-08-14 13:57:06 +00:00
89aa08c07b Sort tasks in the correct order
svn path=/trunk/; revision=17774
2002-08-14 13:13:33 +00:00
f14d2e67bb Use the task components colours
svn path=/trunk/; revision=17773
2002-08-14 13:07:36 +00:00
377a4e07ab Remove duff URIs and comment out the set_release call until I know what it does and why it's crashing
svn path=/trunk/; revision=17759
2002-08-12 16:42:41 +00:00
a2726b7dc3 Only get folder info if this is a folder we're displaying.
* e-summary-mail.c (update_folder_cb): Only get folder info if
	this is a folder we're displaying.

svn path=/trunk/; revision=17746
2002-08-08 19:40:51 +00:00
3d94bb9560 Added an alignment to make button position be the same as the other
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-08-07 18:01:20 +00:00
5b8b97806b Don't use the folder's path as the physical URI; use CORBA Magic (TM) to
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
2002-07-29 14:39:59 +00:00
568f960447 Colour the tasks depending on their due date/time
svn path=/trunk/; revision=17628
2002-07-29 11:49:27 +00:00
1c9b6e1fe7 Fix bug #18963
svn path=/trunk/; revision=17627
2002-07-29 11:01:30 +00:00
e8e6da1676 Actually pass the evolution URI, not the path, in Folder.evolutionUri
* 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
2002-07-11 21:14:52 +00:00
8d4ff95e73 (set_selected_folders): Set the
customIconName part to the empty string.  [#27616]
Also, set_release on the sequence to TRUE.

svn path=/trunk/; revision=17423
2002-07-11 20:53:33 +00:00
c2c672c537 Add this, to call e_summary_mail_get_info from an idle handler.
* 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
2002-06-28 17:06:38 +00:00
fb89bd8441 Fix crash on "broken" rdfs
svn path=/trunk/; revision=17293
2002-06-26 17:15:54 +00:00
8d54d8cfbd Fix a typo in the Locations file
svn path=/trunk/; revision=17292
2002-06-26 16:44:55 +00:00
6bb5b8850a Sort the states in the right order
svn path=/trunk/; revision=17291
2002-06-26 16:07:40 +00:00
9a210db24f Fix bugs, make the folder list be a storage set view and add a delete url button
svn path=/trunk/; revision=17290
2002-06-26 15:42:01 +00:00
88f3e2714d Avoid reentrancy during e_tree_selection_model_foreach. Fixes Ximian bug
2002-06-05  Christopher James Lahey  <clahey@ximian.com>

	* e-summary-shown.c (maybe_move_to_shown, add_clicked,
	remove_from_shown, remove_clicked): Avoid reentrancy during
	e_tree_selection_model_foreach.  Fixes Ximian bug #24987.

svn path=/trunk/; revision=17128
2002-06-06 02:30:45 +00:00
0529ab498f correct typo
2002-05-23  JP Rosevear  <jpr@ximian.com>

	* GNOME_Evolution_Summary.oaf.in.in: correct typo

svn path=/trunk/; revision=16985
2002-05-23 14:50:45 +00:00
3b787a2d62 Make the new button work again, add some spacing.
svn path=/trunk/; revision=16943
2002-05-20 16:40:09 +00:00
05269c30e7 Don't show the headers in the folder table.
* 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-20 15:56:45 +00:00
3d386b57d1 Check with e_shell_prepare_for_quit() before quitting.
* e-shell-view-menu.c (command_quit): Check with
e_shell_prepare_for_quit() before quitting.

* e-shell.c (e_shell_prepare_for_quit): New.

* evolution-test-component.c (request_quit_fn): New function
asking for confirmation to quit.

* evolution-shell-component.c (evolution_shell_component_new): New
arg @request_quit_fn.
(impl_requestQuit): New, implementation for
EvolutionShellComponent::requestQuit.
(evolution_shell_component_result_to_string): Handle
EVOLUTION_SHELL_COMPONENT_CANCEL.
(evolution_shell_component_client_request_quit): New.

* Evolution-ShellComponent.idl (requestQuit): New.

* component-factory.c (create_component): Pass NULL as
@request_quit_fn.

* component-factory.c (create_component): Pass NULL as
@request_quit_fn.

* gui/component-factory.c (create_object): Pass NULL as
@request_quit_fn.

* gui/component/addressbook-component.c (create_component): Pass
NULL as @request_quit_fn.

svn path=/trunk/; revision=16925
2002-05-15 21:41:51 +00:00
314be45b2d Use the uri stored in the ESummaryMailFolder object here.
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
2002-05-14 19:15:11 +00:00
33d12454c2 Pretty pixmap buttons
svn path=/trunk/; revision=16725
2002-05-08 16:09:17 +00:00
69be118732 Make the mail folders work okay.
svn path=/trunk/; revision=16724
2002-05-08 14:41:19 +00:00
06f657a957 Allow IMAP folders and VFolders and make the mail summaries show and make the etables almost work perfectly
svn path=/trunk/; revision=16556
2002-04-22 16:18:33 +00:00