aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-calendar.c
Commit message (Collapse)AuthorAgeFilesLines
* Use GConf.Ettore Perazzoli2002-11-211-28/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-4/+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-11/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-33/+61
| | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Use the default uris instead of always changing to localIain Holmes2002-08-141-4/+12
| | | | svn path=/trunk/; revision=17775
* Make the preferences seperate from the viewsIain Holmes2002-04-041-2/+2
| | | | svn path=/trunk/; revision=16338
* updated to new version from calendar/gui/comp-util.cDamon Chaplin2002-02-091-52/+77
| | | | | | | | | 2002-02-08 Damon Chaplin <damon@ximian.com> * e-summary-calendar.c (e_cal_comp_util_compare_event_timezones): updated to new version from calendar/gui/comp-util.c svn path=/trunk/; revision=15631
* use cal_client_open_default_tasksJP Rosevear2001-12-191-10/+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
* Merging patches from 1-0-branchIain Holmes2001-12-171-7/+5
| | | | svn path=/trunk/; revision=15109
* retrieve the default URI for calendars from the configuration instead ofRodrigo Moya2001-10-301-10/+18
| | | | | | | | | | | | 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
* set the default timezone on the server.Damon Chaplin2001-10-231-1/+16
| | | | | | | | | | | | | | | 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
* Made temporary buffer for strftime much bigger (it was too small forChyla Zbigniew2001-10-151-6/+6
| | | | | | | | * e-summary-calendar.c (generate_html): Made temporary buffer for strftime much bigger (it was too small for Polish month names), added missing colon and conversion to UTF-8. svn path=/trunk/; revision=13669
* used time_add_day/week/month _with_zone() functions rather than the oldDamon Chaplin2001-10-031-3/+3
| | | | | | | | | | | | | | 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
* Handle recurrances correctlyIain Holmes2001-10-031-11/+74
| | | | svn path=/trunk/; revision=13348
* Add copyright noticesIain Holmes2001-09-271-4/+19
| | | | svn path=/trunk/; revision=13157
* Warnings Create an image cache USe task.pngIain Holmes2001-09-261-1/+1
| | | | | | | | Warnings Create an image cache USe task.png svn path=/trunk/; revision=13128
* Set a timezone iconIain Holmes2001-09-221-1/+93
| | | | svn path=/trunk/; revision=13069
* Display a bell icon if there's an alarm setIain Holmes2001-09-201-2/+3
| | | | svn path=/trunk/; revision=12995
* Open editors for tasks and appointmentsIain Holmes2001-09-201-2/+34
| | | | svn path=/trunk/; revision=12986
* Fix the use of qsortIain Holmes2001-09-181-4/+8
| | | | svn path=/trunk/; revision=12906
* Timezone stuffIain Holmes2001-09-151-124/+83
| | | | svn path=/trunk/; revision=12835
* USe 24hr clock if appropriate, don't mess with the date and timeIain Holmes2001-09-061-9/+31
| | | | svn path=/trunk/; revision=12635
* changed the icons. For calendar events we use the 'new appointment' iconDamon Chaplin2001-08-221-1/+1
| | | | | | | | | | | | | 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/+11
| | | | | | | | | | | | 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-2/+2
| | | | | | awesome Jakub, nice work). svn path=/trunk/; revision=11596
* Fix the URL link for the calendarIain Holmes2001-07-311-1/+1
| | | | svn path=/trunk/; revision=11485
* Revert last changes, URIs are now back to original in shell.Jason Leach2001-07-211-2/+2
| | | | | | | | | 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-2/+2
| | | | | | | | | | | | | 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
* Free the data stop all the transfers when the summary is destroyed.Iain Holmes2001-07-121-0/+16
| | | | svn path=/trunk/; revision=11010
* Better time reportingIain Holmes2001-07-101-8/+12
| | | | svn path=/trunk/; revision=10925
* Forgot to do this little bitIain Holmes2001-07-101-1/+1
| | | | svn path=/trunk/; revision=10923
* Fix HTML and show more than 1 days appointmentsIain Holmes2001-07-101-6/+24
| | | | svn path=/trunk/; revision=10922
* Marked strings for translation + conversion to utf8.Chyla Zbigniew2001-06-301-8/+18
| | | | | | | | | | | | | | | | | | | | | * e-summary-calendar.c (generate_html): Marked strings for translation + conversion to utf8. * e-summary-mail.c Added missing #include <config.h> (e_summary_mail_generate_html): Marked strings for translation + conversion to utf8. * e-summary-weather.c (e_summary_weather_get_html, open_callback): Marked strings for translation + conversion to utf8. (weather_make_html): Fixed leaks. * e-summary-rdf.c (tree_walk): Fixed leaks. (read_callback): Marked strings for translation. svn path=/trunk/; revision=10630
* Configure My EvolutionIain Holmes2001-06-301-0/+6
| | | | svn path=/trunk/; revision=10604
* Committing the new My Evolution.Iain Holmes2001-06-091-0/+286
svn path=/trunk/; revision=10163