Commit Graph

42 Commits

Author SHA1 Message Date
e60b2a82ff Use G_GNUC_FUNCTION instead of __FUNCTION__. Likewise. Likewise.
* e-summary-calendar.c (e_summary_calendar_protocol): Use
G_GNUC_FUNCTION instead of __FUNCTION__.
* e-summary-rdf.c (e_summary_rdf_update): Likewise.
* e-summary-tasks.c (e_summary_tasks_protocol): Likewise.
(e_summary_tasks_protocol): Likewise.
* e-summary-weather.c (e_summary_weather_update): Likewise.

svn path=/trunk/; revision=20199
2003-03-06 17:23:05 +00:00
ba846b6b54 Use GConf.
* e-summary.c (e_summary_init): Use GConf.

* e-summary-tasks.c: Replaced member config_listener in
ESummaryTasks with a gconf_client.
(setup_gconf_client): Renamed from setup_config_listener().  Set
up the GConf client and invoke gconf_client_add_dir() on the
interesting namespaces.
(gconf_client_value_changed_cb): Renamed from
config_listener_value_changed_cb and changed prototype to match
that of the "value_changed" signal in GConfClient.
(setup_task_folder): Updated to use GConf.

* e-summary-calendar.c: Replaced member config_listener with a
gconf_listener.
(setup_calendar): Use GConf.
(setup_gconf_client): Renamed from setup_config_listener.  Set up
a GConf client and invoke gconf_client_add_dir() on the
interesting namespaces.
(gconf_client_value_changed_cb): Renamed from
config_listener_key_changed_cb() and changed prototype to match
that of the "value_changed" signal in GConfClient.
(locale_uses_24h_time_format): Removed.
(e_summary_calendar_free): g_object_unref() the gconf_client.

* Makefile.am: Add rules to install the schemas.

* apps_evolution_summary.schemas: New.

* e-summary-preferences.c: Did a global GList -> GSList switch.
(e_summary_preferences_restore): Use GConfClient instead of
EConfigListener.
(vector_from_folder_list): Removed since GConf makes this useless.
(folder_list_from_vector): Likewise.
(str_list_from_vector): Likewise.
(vector_from_str_list): Likewise.
(make_initial_weather_list): Likewise.
(make_initial_rdf_list): Likewise.
(make_initial_mail_list): Likewise.
(e_summary_preferences_save): Use GConf.
(e_summary_preferences_init): No need to set up defaults here.

* e-summary.h: Changed members display_folders, rdf_urls, stations
in ESummaryPrefs to be GSLists instead of GLists; updated all the
functions that use them accordingly.

svn path=/trunk/; revision=18863
2002-11-20 21:57:43 +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
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
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
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
91b1b55714 Make the preferences seperate from the views
svn path=/trunk/; revision=16338
2002-04-04 12:10:37 +00:00
24b63477d1 fix case when priority is undefined and pri_a or pri_b is returned as
2002-02-14  Radek Doulik  <rodo@ximian.com>

	* e-summary-tasks.c (sort_uids): fix case when priority is
	undefined and pri_a or pri_b is returned as NULL, also fixes
	memory leak

svn path=/trunk/; revision=15727
2002-02-14 20:18:05 +00:00
82cb9e15be Use soup to transfer HTTP files and other bugs fixed
svn path=/trunk/; revision=15344
2002-01-16 17:56:22 +00:00
137e86ce01 use cal_client_open_default_tasks
2001-12-19  JP Rosevear  <jpr@ximian.com>

	* e-summary-tasks.c (e_summary_tasks_init): use
	cal_client_open_default_tasks

	* e-summary-calendar.c (e_summary_calendar_init): use
	cal_client_open_default_calendar

svn path=/trunk/; revision=15181
2001-12-19 15:35:58 +00:00
54a2c04bc1 retrieve the default URI for calendars from the configuration instead of
2001-10-29  Rodrigo Moya <rodrigo@ximian.com>

	* e-summary-calendar.c (e_summary_calendar_init): retrieve the
	default URI for calendars from the configuration instead of
	hard-coding it

	* e-summary-tasks.c (e_summary_tasks_init): likewise for tasks

svn path=/trunk/; revision=14352
2001-10-29 18:57:55 +00:00
08fb7329cb Fixing the license text.
svn path=/trunk/; revision=14212
2001-10-27 16:59:46 +00:00
02dcd0aadf Update the licensing information to require version 2 of the GPL
(instead of version 2 or any later version).

svn path=/trunk/; revision=14190
2001-10-27 00:25:49 +00:00
580b80f5b3 It is possible for start_foo.value to be NULL after a cal to
2001-10-25  Jon Trowbridge  <trow@ximian.com>

	* e-summary-tasks.c (sort_uids): It is possible for
	start_foo.value to be NULL after a cal to
	cal_component_get_dtstart, so we need to check for this before
	dereferencing it. (Bug #13259)

svn path=/trunk/; revision=14097
2001-10-25 19:45:07 +00:00
8c83f5222f set the default timezone on the server.
2001-10-22  Damon Chaplin  <damon@ximian.com>

	* e-summary-tasks.c (generate_html): set the default timezone on the
	server.

	* e-summary-calendar.c (e_cal_comp_util_compare_event_timezones):
	update to check for DATE values.
	(uids_to_array): pass the default timezone
	to cal_recur_generate_instances.
	(generate_html): set the default timezone on the server.

svn path=/trunk/; revision=13921
2001-10-23 00:29:53 +00:00
83529b8532 used time_add_day/week/month _with_zone() functions rather than the old
2001-10-01  Damon Chaplin  <damon@ximian.com>

	* e-summary-calendar.c (generate_html): used time_add_day/week/month
	_with_zone() functions rather than the old versions.

	* e-summary.c (alarm_fn): use time_day_end_with_zone ().

	* e-summary-tasks.c (generate_html): removed day_begin and day_end
	since they aren't used, and the calls to time_day_begin/end().

svn path=/trunk/; revision=13365
2001-10-03 04:29:55 +00:00
d503c5e756 Make the show todays tasks work.
svn path=/trunk/; revision=13197
2001-09-27 20:51:20 +00:00
56b24983e2 Add copyright notices
svn path=/trunk/; revision=13157
2001-09-26 19:37:32 +00:00
c76e6322cf Warnings Create an image cache USe task.png
Warnings
Create an image cache
USe task.png

svn path=/trunk/; revision=13128
2001-09-25 22:11:29 +00:00
28b4ae90d7 be sure to unref the component.
2001-09-19  Larry Ewing  <lewing@ximian.com>

	* e-summary-tasks.c (generate_html): be sure to unref the
	component.

svn path=/trunk/; revision=12987
2001-09-19 20:42:49 +00:00
11c1a83ffc Open editors for tasks and appointments
svn path=/trunk/; revision=12986
2001-09-19 20:29:29 +00:00
00d81264c7 Do appends instead of prepends in places.
Don't print a (null).

svn path=/trunk/; revision=12941
2001-09-18 18:41:21 +00:00
495be272a5 Remove broken news feeds, don't show completed tasks
svn path=/trunk/; revision=12419
2001-08-23 18:43:38 +00:00
6d4625b305 changed the icons. For calendar events we use the 'new appointment' icon
2001-08-21  Damon Chaplin  <damon@ximian.com>

	* e-summary-calendar.c (generate_html):
	* e-summary-tasks.c (generate_html): changed the icons. For calendar
	events we use the 'new appointment' icon from the menu. For tasks we
	use the task icon from the ETable - I wasn't sure about using the
	'New Task' icon as it has a tick in it which may make people think it
	is complete.

svn path=/trunk/; revision=12351
2001-08-21 19:45:53 +00:00
af43e15005 free the CalComponentDateTime and icaltimetype values after finishing with
2001-08-06  Damon Chaplin  <damon@ximian.com>

	* e-summary-tasks.c (sort_uids):
	(get_todays_uids):
	(generate_html):
	* e-summary-calendar.c (sort_uids): free the CalComponentDateTime
	and icaltimetype values after finishing with them.

svn path=/trunk/; revision=11720
2001-08-07 01:57:09 +00:00
9a96cbd58e Install and use the new My Evolution icons from Jakub (they look really
awesome Jakub, nice work).

svn path=/trunk/; revision=11596
2001-08-02 19:44:23 +00:00
4645eac850 Revert last changes, URIs are now back to original in shell.
2001-07-20  Jason Leach  <jleach@ximian.com>

	* e-summary-tasks.c: Revert last changes, URIs are now back to
	original in shell.

svn path=/trunk/; revision=11275
2001-07-20 21:19:51 +00:00
65a899cbd6 Update the evolution:/local/ URI's to evolution:/Local Folders/ to go
2001-07-19  Jason Leach  <jleach@ximian.com>

	* e-summary-tasks.c: Update the evolution:/local/ URI's to
	evolution:/Local Folders/ to go along with todays shell changes.

	* e-summary-mail.c: Ditto.

	* e-summary-calendar.c: Ditto.

svn path=/trunk/; revision=11252
2001-07-20 03:39:10 +00:00
f939dcc6c8 More stuff
svn path=/trunk/; revision=11214
2001-07-18 21:50:40 +00:00
a715797c02 Make the Tasks option work
svn path=/trunk/; revision=11212
2001-07-18 21:39:20 +00:00
7e35d996af Icon name fix
svn path=/trunk/; revision=11104
2001-07-13 22:14:08 +00:00
76d4c1fa56 Free the data stop all the transfers when the summary is destroyed.
svn path=/trunk/; revision=11010
2001-07-11 19:08:53 +00:00
d1716cf6d6 Fix another HTML bug
svn path=/trunk/; revision=10926
2001-07-09 18:57:14 +00:00
84dd6b5536 Make the tasks change to the tasks folder when clicked on
svn path=/trunk/; revision=10917
2001-07-09 16:49:30 +00:00
29700d38ae New tasks stuff
svn path=/trunk/; revision=10715
2001-07-03 02:45:58 +00:00