aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-tasks.c
Commit message (Collapse)AuthorAgeFilesLines
* ** For bug #48175 set default value for colour if it's emptyCalvin Liu2003-09-081-1/+1
| | | | | | | | | 2003-09-08 Calvin Liu <calvin.liu@sun.com> ** For bug #48175 * e-summary-tasks.c: set default value for colour if it's empty svn path=/trunk/; revision=22480
* use correct type for arguments to cal_client_get_object.Rodrigo Moya2003-08-261-5/+28
| | | | | | | | | | 2003-08-26 Rodrigo Moya <rodrigo@ximian.com> * e-summary-tasks.c: * e-summary-calendar.c (uids_to_array): use correct type for arguments to cal_client_get_object. svn path=/trunk/; revision=22363
* [Fixed bug #47563]Jack Jia2003-08-181-2/+7
| | | | | | | | | | | | | | | 2003-08-18 Jack Jia <jack.jia@sun.com> [Fixed bug #47563] * e-summary-tasks.c (setup_task_folder) : set a default value for the tasks->due_today_colour and tasks->overdue_colour, if the key in gconf is NULL. and change the key name from TasksDueTodayi to due_today, from TasksOverdue to overdue, in order to coincide with the key in e-summary-tasks.c(setup_task_folder).In this way, it can avoid crash on solaris. svn path=/trunk/; revision=22258
* New member gconf_value_changed_handler_id in ESummaryTasks.Ettore Perazzoli2003-05-281-4/+7
| | | | | | | | | | | | | | * e-summary-tasks.c: New member gconf_value_changed_handler_id in ESummaryTasks. (setup_gconf_client): Set it to the ID of the signal connection. * e-summary-calendar.c: New member gconf_value_changed_handler_id in ESummaryCalendar. (setup_gconf_client): Set it to the ID of the signal connection. * e-summary-tasks.c (generate_html): Remove unused variable. svn path=/trunk/; revision=21336
* Likewise.Ettore Perazzoli2003-03-281-13/+7
| | | | | | | | | | | | | | * e-summary.c (e_summary_init): Likewise. * e-summary-weather.c (e_summary_weather_get_html): Likewise. (weather_make_html): Likewise. * e-summary-mail.c (e_summary_mail_generate_html): Fix so it handles the fact that the translated strings are already in UTF8. * e-summary-rdf.c (tree_walk): Likewise. (display_doc): Likewise. svn path=/trunk/; revision=20553
* Use G_GNUC_FUNCTION instead of __FUNCTION__. Likewise. Likewise.Ettore Perazzoli2003-03-071-4/+4
| | | | | | | | | | | * 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
* Use GConf.Ettore Perazzoli2002-11-211-22/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Replaced all gtk_signal_connect() calls with g_signal_connect() ones.Ettore Perazzoli2002-11-151-8/+4
| | | | | | | | | | | | | * 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
* gtk_widget_destroy() instead of gtk_object_destroy().Ettore Perazzoli2002-11-121-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* #include <string.h>.Ettore Perazzoli2002-11-061-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Removed debugging message.Ettore Perazzoli2002-10-261-6/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Replace Gnotices with Footnotes.Ettore Perazzoli2002-10-241-41/+73
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Count overdue tasks as tasks due todayIain Holmes2002-08-211-1/+1
| | | | svn path=/trunk/; revision=17829
* Use the default uris instead of always changing to localIain Holmes2002-08-141-3/+17
| | | | svn path=/trunk/; revision=17775
* Sort tasks in the correct orderIain Holmes2002-08-141-0/+8
| | | | svn path=/trunk/; revision=17774
* Use the task components coloursIain Holmes2002-08-141-3/+28
| | | | svn path=/trunk/; revision=17773
* Colour the tasks depending on their due date/timeIain Holmes2002-07-291-4/+52
| | | | svn path=/trunk/; revision=17628
* Fix bug #18963Iain Holmes2002-07-291-0/+4
| | | | svn path=/trunk/; revision=17627
* Make the preferences seperate from the viewsIain Holmes2002-04-041-2/+2
| | | | svn path=/trunk/; revision=16338
* fix case when priority is undefined and pri_a or pri_b is returned asRadek Doulik2002-02-151-5/+15
| | | | | | | | | | 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
* Use soup to transfer HTTP files and other bugs fixedIain Holmes2002-01-171-14/+8
| | | | svn path=/trunk/; revision=15344
* use cal_client_open_default_tasksJP Rosevear2001-12-191-23/+1
| | | | | | | | | | | | 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
* retrieve the default URI for calendars from the configuration instead ofRodrigo Moya2001-10-301-1/+22
| | | | | | | | | | | | 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
* Fixing the license text.Ettore Perazzoli2001-10-281-1/+0
| | | | svn path=/trunk/; revision=14212
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-271-2/+2
| | | | | | (instead of version 2 or any later version). svn path=/trunk/; revision=14190
* It is possible for start_foo.value to be NULL after a cal toJon Trowbridge2001-10-261-1/+6
| | | | | | | | | | | 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
* set the default timezone on the server.Damon Chaplin2001-10-231-0/+6
| | | | | | | | | | | | | | | 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
* used time_add_day/week/month _with_zone() functions rather than the oldDamon Chaplin2001-10-031-3/+1
| | | | | | | | | | | | | | 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
* Make the show todays tasks work.Iain Holmes2001-09-281-10/+16
| | | | svn path=/trunk/; revision=13197
* Add copyright noticesIain Holmes2001-09-271-4/+19
| | | | svn path=/trunk/; revision=13157
* Warnings Create an image cache USe task.pngIain Holmes2001-09-261-4/+5
| | | | | | | | Warnings Create an image cache USe task.png svn path=/trunk/; revision=13128
* be sure to unref the component.Larry Ewing2001-09-201-0/+2
| | | | | | | | | 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
* Open editors for tasks and appointmentsIain Holmes2001-09-201-4/+34
| | | | svn path=/trunk/; revision=12986
* Do appends instead of prepends in places.Iain Holmes2001-09-191-1/+1
| | | | | | Don't print a (null). svn path=/trunk/; revision=12941
* Remove broken news feeds, don't show completed tasksIain Holmes2001-08-241-0/+3
| | | | svn path=/trunk/; revision=12419
* changed the icons. For calendar events we use the 'new appointment' iconDamon Chaplin2001-08-221-2/+2
| | | | | | | | | | | | | 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
* free the CalComponentDateTime and icaltimetype values after finishing withDamon Chaplin2001-08-071-1/+9
| | | | | | | | | | | | 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
* Install and use the new My Evolution icons from Jakub (they look reallyJacob Leach2001-08-031-4/+4
| | | | | | awesome Jakub, nice work). svn path=/trunk/; revision=11596
* Revert last changes, URIs are now back to original in shell.Jason Leach2001-07-211-4/+4
| | | | | | | | | 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
* Update the evolution:/local/ URI's to evolution:/Local Folders/ to goJason Leach2001-07-201-4/+4
| | | | | | | | | | | | | 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
* More stuffIain Holmes2001-07-191-3/+0
| | | | svn path=/trunk/; revision=11214
* Make the Tasks option workIain Holmes2001-07-191-5/+57
| | | | svn path=/trunk/; revision=11212
* Icon name fixIain Holmes2001-07-141-1/+1
| | | | svn path=/trunk/; revision=11104
* Free the data stop all the transfers when the summary is destroyed.Iain Holmes2001-07-121-0/+16
| | | | svn path=/trunk/; revision=11010
* Fix another HTML bugIain Holmes2001-07-101-1/+1
| | | | svn path=/trunk/; revision=10926
* Make the tasks change to the tasks folder when clicked onIain Holmes2001-07-101-2/+2
| | | | svn path=/trunk/; revision=10917
* New tasks stuffIain Holmes2001-07-031-0/+289
svn path=/trunk/; revision=10715