aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary.c
Commit message (Collapse)AuthorAgeFilesLines
* remove call to gtkhtml_set_default_background_colorLarry Ewing2003-04-091-2/+1
| | | | | | | | | 2003-04-09 Larry Ewing <lewing@ximian.com> * e-summary.c (e_summary_init): remove call to gtkhtml_set_default_background_color svn path=/trunk/; revision=20776
* Likewise.Ettore Perazzoli2003-03-281-4/+2
| | | | | | | | | | | | | | * 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
* New member physical_uri in struct ESummaryMailFolder. (new_folder_cb): SetEttore Perazzoli2003-03-271-1/+2
| | | | | | | | | | | | | | * e-summary-mail.c: New member physical_uri in struct ESummaryMailFolder. (new_folder_cb): Set it. (remove_folder_cb): Free it. (make_pretty_foldername): Rewritten to honour the display_name. [#7153] * e-summary.c (destroy): Only remove the source with ID tomorrow_timeout_id if the ID is nonzero. svn path=/trunk/; revision=20521
* Update for e_notice move (do_summary_print): Pass a parent_window toDan Winship2003-03-251-2/+2
| | | | | | | * e-summary.c: Update for e_notice move (do_summary_print): Pass a parent_window to e_notice svn path=/trunk/; revision=20504
* Likewise, assume weather_refresh_time of zero means "never update theEttore Perazzoli2003-03-061-2/+0
| | | | | | | | | | | | | | | | | | | | * e-summary-weather.c (e_summary_weather_set_online): Likewise, assume weather_refresh_time of zero means "never update the weather". (e_summary_weather_init): Likewise here. (e_summary_weather_reconfigure): And here. * e-summary-rdf.c (e_summary_rdf_init): Don't add the news feeds here -- it should be handled with a GConf schema. Also, assume that prefs is always not NULL (as is the case with the current code), and interpret a timeout value of zero as "never update automatically". (e_summary_rdf_reconfigure): Likewise here. If rdf->timeout is zero, assume there is no pending timeout. (e_summary_rdf_set_online): Likewise here. Sigh, so much duplication in this code. svn path=/trunk/; revision=20174
* Don't need to use libalarm to set a timeout to change the date. We knowDan Winship2003-03-011-23/+26
| | | | | | | | | | * e-summary.c (e_summary_init): Don't need to use libalarm to set a timeout to change the date. We know how many seconds away it is, so we can just set a timeout for then. * Makefile.am (summary_libs): Remove libalarm.a svn path=/trunk/; revision=20106
* clean up, update, etcDan Winship2003-02-061-1/+1
| | | | | | | | | | | | * Makefile.am: clean up, update, etc * component-factory.c: #include string.h * e-summary.c (e_pixmap_file): s/IMAGEDIR/IMAGESDIR/ * e-summary-rdf.c: Fix some warnings svn path=/trunk/; revision=19802
* Get my-evolution.xml from EVOLUTION_UI_DIRECTORY.Ettore Perazzoli2003-01-231-4/+2
| | | | | | | | | | | | | | | | | | * e-summary-factory.c (control_activate): Get my-evolution.xml from EVOLUTION_UI_DIRECTORY. * e-summary.c (e_pixmap_file): Use EVOLUTION_IMAGEDIR. (e_pixmap_file): Use EVOLUTION_BUTTONSDIR. * e-summary-weather.c (e_summary_weather_init_locations): Use LOCATIONDIR. (e_summary_weather_fill_etable): Likewise. * Makefile.am (Locationdir): Version using $(BASE_VERSION). (gladedir): Likewise. (INCLUDES): Define EVOLUTION_IMAGEDIR. svn path=/trunk/; revision=19563
* applied patch from Frederic Crozat <fcrozat@mandrakesoft.com>Radek Doulik2003-01-221-9/+9
| | | | svn path=/trunk/; revision=19540
* (e_pixmap_file): Update to useEttore Perazzoli2003-01-091-2/+2
| | | | | | | $(datadir)/evolution/images/ instead of $(datadir)/images/evolution to fetch the icons. svn path=/trunk/; revision=19298
* GNOME_STOCK_*NEXT/PREV -> GTK_STOCK_*GO_BACK/FORWARD.Not Zed2002-12-021-2/+2
| | | | | | | | | | | 2002-11-27 Not Zed <NotZed@Ximian.com> * e-summary-shown.c (e_summary_shown_init): GNOME_STOCK_*NEXT/PREV -> GTK_STOCK_*GO_BACK/FORWARD. * e-summary.[ch]: ran fix.sh over this. svn path=/trunk/; revision=18975
* Use GConf.Ettore Perazzoli2002-11-211-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-4/+2
| | | | | | | | | | | | | * 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-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-46/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-59/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Update for Mailer.idl renameDan Winship2002-09-131-1/+1
| | | | | | | | * Makefile.am (IDLS, MAIL_GENERATED): Update for Mailer.idl rename * e-summary.c, e-summary-mail.c: Likewise svn path=/trunk/; revision=18061
* Make the preferences seperate from the viewsIain Holmes2002-04-041-5/+31
| | | | svn path=/trunk/; revision=16338
* Move the preferences from a per-view setting to a global settingIain Holmes2002-03-191-4/+5
| | | | svn path=/trunk/; revision=16205
* VFolders in the summaryIain Holmes2002-03-181-2/+1
| | | | svn path=/trunk/; revision=16190
* Call `e_summary_preferences_register_config_control_factory()'.Ettore Perazzoli2002-03-151-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-summary-factory.c (e_summary_factory_new_control): Call `e_summary_preferences_register_config_control_factory()'. * e-summary-preferences.c: Remove member `box' from struct PropertyData. Added member `config_control'. (e_summary_configure): Removed. (property_box_destroy_cb): Removed. (property_box_clicked_cb): Removed. (property_box_apply_cb): New. (config_control_destroy_cb): New. (factory_fn): New, factory function for the EvolutionConfigControl. (e_summary_preferences_register_config_control_factory): New. (mail_show_full_path_toggled_cb): Invoke ::changed on pd->config_control. (add_dialog_clicked_cb): Likewise. (rdf_refresh_value_changed_cb): Likewise. (rdf_limit_value_changed_cb): Likewise. (mail_etable_item_changed_cb): Likewise. (rdf_etable_item_changed_cb): Likewise. (weather_etable_item_changed_cb): Likewise. (weather_refresh_value_changed_cb): Likewise. (weather_metric_toggled_cb): Likewise. (weather_imperial_toggled_cb): Likewise. (calendar_one_toggled_cb): Likewise. (calendar_five_toggled_cb): Likewise. (calendar_week_toggled_cb): Likewise. (calendar_month_toggled_cb): Likewise. (calendar_all_toggled_cb): Likewise. (calendar_today_toggled_cb): Likewise. (config_control_destroy_cb): Don't set ->prefs_window to NULL. * my-evolution.glade: Renamed "notebook2" to "notebook". Also change its parent into a GtkWindow as libglade seems to have some kind of problem with the GnomePropertyBox [glade_xml_get_widget() for "notebook" always returned NULL]. * e-summary.h: Remove member `prefs_window' from `ESummary'. svn path=/trunk/; revision=16162
* The new selector widgetIain Holmes2002-02-051-2/+2
| | | | svn path=/trunk/; revision=15565
* Use soup to transfer HTTP files and other bugs fixedIain Holmes2002-01-171-87/+69
| | | | svn path=/trunk/; revision=15344
* Merging patches from 1-0-branchIain Holmes2001-12-171-12/+13
| | | | svn path=/trunk/; revision=15109
* make the timezone default to UTC.Damon Chaplin2001-11-141-1/+6
| | | | | | | | 2001-11-13 Damon Chaplin <damon@ximian.com> * e-summary.c (e_summary_init): make the timezone default to UTC. svn path=/trunk/; revision=14690
* Slow down reload requests to work around a bug in gnome-vfs. Ugly, but itJon Trowbridge2001-10-281-5/+43
| | | | | | | | | | 2001-10-27 Jon Trowbridge <trow@ximian.com> * e-summary.c (e_summary_reload): Slow down reload requests to work around a bug in gnome-vfs. Ugly, but it works. (Bug #12956) svn path=/trunk/; revision=14239
* 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
* NULL the handle after a failed open so the offline handler won't thinkIain Holmes2001-10-271-0/+6
| | | | | | | | | | | | | | | | | | | 2001-10-26 Iain Holmes <iain@ximian.com> * e-summary-rdf.c (open_callback): NULL the handle after a failed open so the offline handler won't think they're still open. (e_summary_rdf_set_online): Cancel all the open connections when the summary goes offline. * e-summary-weather.c (open_callback): NULL the handle after a failed open so the offline handler won't think they're still open. (e_summary_weather_set_online): Cancel all the open connections when the summary goes offline. * e-summary.c (e_summary_set_online): Call the callback if it's not NULL. svn path=/trunk/; revision=14183
* Stuff to try to find the memory corruptionIain Holmes2001-10-191-1/+7
| | | | svn path=/trunk/; revision=13769
* Minor changes in the hope that bug is fixed :/Iain Holmes2001-10-171-1/+1
| | | | svn path=/trunk/; revision=13701
* used time_add_day/week/month _with_zone() functions rather than the oldDamon Chaplin2001-10-031-1/+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
* Add copyright noticesIain Holmes2001-09-271-3/+18
| | | | svn path=/trunk/; revision=13157
* Freeze and thawIain Holmes2001-09-261-0/+37
| | | | svn path=/trunk/; revision=13132
* Warnings Create an image cache USe task.pngIain Holmes2001-09-261-13/+49
| | | | | | | | Warnings Create an image cache USe task.png svn path=/trunk/; revision=13128
* Hack around gdkpixbuf lossage by not trying to display the imagesDan Winship2001-09-201-18/+18
| | | | | | | | | * e-summary.c (read_callback, etc): Hack around gdkpixbuf lossage by not trying to display the images incrementall. Instead, just wait until we've read the whole file, then display it all at once. Prevents garbage when rendering the icons. svn path=/trunk/; revision=12982
* Fix the use of qsortIain Holmes2001-09-181-0/+1
| | | | svn path=/trunk/; revision=12906
* There is no need to initialize the alarm system now.Federico Mena Quintero2001-09-181-1/+0
| | | | | | | | | 2001-09-17 Federico Mena Quintero <federico@ximian.com> * e-summary.c (e_summary_init): There is no need to initialize the alarm system now. svn path=/trunk/; revision=12905
* Timezone stuffIain Holmes2001-09-151-5/+31
| | | | svn path=/trunk/; revision=12835
* Purification.Dan Winship2001-09-111-0/+14
| | | | | | | | | | | | | | | | | | * e-summary.c (destroy): free the protocol hash. * e-summary-rdf.c (tree_walk): plug a leak. * e-summary-weather.c (e_summary_weather_init_locations): Don't insert duplicates into the hash table. * e-summary-mail.c (e_summary_mail_generate_html): free old html before setting new * e-summary.c (e_summary_draw): free weather and rdf html strings. * e-summary-preferences.c (save_known_rdfs): free strings. svn path=/trunk/; revision=12747
* Stop the summary jumping to the top on redrawIain Holmes2001-09-061-1/+1
| | | | svn path=/trunk/; revision=12636
* Fix the show_full_path bugIain Holmes2001-08-231-1/+2
| | | | | | Set up the functions for better online/offline reporting. svn path=/trunk/; revision=12403
* US datifiedIain Holmes2001-08-161-1/+1
| | | | svn path=/trunk/; revision=12060
* s/My Evolution/Summary/Iain Holmes2001-08-161-3/+3
| | | | svn path=/trunk/; revision=12058
* Reload buttonIain Holmes2001-08-141-0/+7
| | | | svn path=/trunk/; revision=11978
* Fix the mail folder linksIain Holmes2001-07-201-1/+0
| | | | svn path=/trunk/; revision=11231
* More stuffIain Holmes2001-07-191-6/+16
| | | | svn path=/trunk/; revision=11214
* Make the Tasks option workIain Holmes2001-07-191-0/+4
| | | | svn path=/trunk/; revision=11212
* Convert the date string to utf8 before appending it to HTML.Chyla Zbigniew2001-07-141-2/+5
| | | | | | | * e-summary.c (e_summary_draw): Convert the date string to utf8 before appending it to HTML. svn path=/trunk/; revision=11088
* i18n stuffIain Holmes2001-07-131-1/+1
| | | | svn path=/trunk/; revision=11059
* Fix the memory corruption issueIain Holmes2001-07-121-0/+4
| | | | svn path=/trunk/; revision=11013
* Free the data stop all the transfers when the summary is destroyed.Iain Holmes2001-07-121-3/+36
| | | | svn path=/trunk/; revision=11010
* Alarm! Alarm!Iain Holmes2001-07-101-0/+26
| | | | svn path=/trunk/; revision=10937
* Fix crashes if the offline button is clicked before the summary has been createdIain Holmes2001-07-041-0/+12
| | | | svn path=/trunk/; revision=10750
* New tasks stuffIain Holmes2001-07-031-0/+3
| | | | svn path=/trunk/; revision=10715
* Handle the online/offline stuffIain Holmes2001-07-011-1/+70
| | | | svn path=/trunk/; revision=10639
* Put in the hack to stop GtkHTML from returning to the top of the page.Iain Holmes2001-06-301-2/+7
| | | | svn path=/trunk/; revision=10610
* Configure My EvolutionIain Holmes2001-06-301-0/+24
| | | | svn path=/trunk/; revision=10604
* Some fixesIain Holmes2001-06-091-1/+1
| | | | svn path=/trunk/; revision=10169
* Committing the new My Evolution.Iain Holmes2001-06-091-0/+549
svn path=/trunk/; revision=10163