aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-mail.c
Commit message (Collapse)AuthorAgeFilesLines
* glist->gslist for display_folders list (mail_change_notify): "Not Zed2003-01-101-4/+5
| | | | | | | | | | | | | | | | | 2003-01-10 Not Zed <NotZed@Ximian.com> * e-summary-mail.c (new_folder_cb): glist->gslist for display_folders list (mail_change_notify): " (e_summary_mail_reconfigure): ", and also traverse the list forwards, since we can't go backwards since its now an slist. * e-summary-preferences.c (e_summary_preferences_restore): append new folder entries to the folders list. (config_control_apply_cb): display_folders is a list of folders, not a list of strings, treat accordingly. svn path=/trunk/; revision=19389
* Replaced all gtk_signal_connect() calls with g_signal_connect() ones.Ettore Perazzoli2002-11-151-18/+9
| | | | | | | | | | | | | * 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
* #include <string.h>.Ettore Perazzoli2002-11-061-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* (e_summary_mail_generate_html): Generate HTMLEttore Perazzoli2002-09-271-3/+2
| | | | | | for the folder even if the unread count is zero. svn path=/trunk/; revision=18240
* Add member physical_uri to ESummaryMailFolder.Ettore Perazzoli2002-09-271-31/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* Only get folder info if this is a folder we're displaying.Dan Winship2002-08-091-26/+10
| | | | | | | * e-summary-mail.c (update_folder_cb): Only get folder info if this is a folder we're displaying. svn path=/trunk/; revision=17746
* Don't use the folder's path as the physical URI; use CORBA Magic (TM) toPeter Williams2002-07-291-2/+12
| | | | | | | | | 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
* Add this, to call e_summary_mail_get_info from an idle handler.Dan Winship2002-06-291-16/+23
| | | | | | | | | | * 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
* Fix bugs, make the folder list be a storage set view and add a delete url buttonIain Holmes2002-06-261-10/+10
| | | | svn path=/trunk/; revision=17290
* Use the uri stored in the ESummaryMailFolder object here.Christopher James Lahey2002-05-151-34/+13
| | | | | | | | | | | | 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
* Make the mail folders work okay.Iain Holmes2002-05-081-13/+82
| | | | svn path=/trunk/; revision=16724
* Allow IMAP folders and VFolders and make the mail summaries show and make ↵Iain Holmes2002-04-231-25/+54
| | | | | | the etables almost work perfectly svn path=/trunk/; revision=16556
* Make the preferences seperate from the viewsIain Holmes2002-04-041-133/+126
| | | | svn path=/trunk/; revision=16338
* [Some initial broken support for building components as shlib. MostlyEttore Perazzoli2002-03-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | just a playground for testing the idea.] * Makefile.am: Added support for the ENABLE_SHLIB_COMPONENTS conditional. * GNOME_Evolution_Summary.oaf.in.in: New. * e-summary-mail.c (update_folder_cb): Protect against summary->mail being NULL. * component-factory.c: Add a shlib factory. (create_component): Get a @factory and @data. (component_factory_init): Actually make it use a BonoboGenericFactory again. * configure.in: Add argument `--enable-shlib-components'. New substitutions OAF_SHLIB_LOCATION, OAF_SHLIB_PREFIX, OAF_SHLIB_SUFFIX. svn path=/trunk/; revision=16299
* Move the preferences from a per-view setting to a global settingIain Holmes2002-03-191-3/+0
| | | | svn path=/trunk/; revision=16205
* VFolders in the summaryIain Holmes2002-03-181-79/+250
| | | | svn path=/trunk/; revision=16190
* The new selector widgetIain Holmes2002-02-051-34/+135
| | | | svn path=/trunk/; revision=15565
* Fix the mail order stuffIain Holmes2002-01-241-1/+1
| | | | svn path=/trunk/; revision=15449
* 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/+4
| | | | | | | | | | | | | | | | | | | 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
* Correct fix for 12236. Stops the crashing and leaves the summary in a usable ↵Iain Holmes2001-10-241-4/+1
| | | | | | state. svn path=/trunk/; revision=13982
* Null some freed memoryIain Holmes2001-10-201-0/+4
| | | | svn path=/trunk/; revision=13799
* Minor changes in the hope that bug is fixed :/Iain Holmes2001-10-171-2/+7
| | | | svn path=/trunk/; revision=13701
* Update the signature to match the new signal.Dan Winship2001-10-121-1/+1
| | | | | | | * e-summary-mail.c (update_folder_cb): Update the signature to match the new signal. svn path=/trunk/; revision=13591
* Add copyright noticesIain Holmes2001-09-271-3/+18
| | | | svn path=/trunk/; revision=13157
* Display a bell icon if there's an alarm setIain Holmes2001-09-201-1/+1
| | | | svn path=/trunk/; revision=12995
* Spewage removal Only open folders when they are needed.Iain Holmes2001-09-201-35/+12
| | | | | | | Spewage removal Only open folders when they are needed. svn path=/trunk/; revision=12990
* Keep the mail folders in the correct orderIain Holmes2001-09-191-2/+20
| | | | svn path=/trunk/; revision=12963
* Do appends instead of prepends in places.Iain Holmes2001-09-191-3/+1
| | | | | | Don't print a (null). svn path=/trunk/; revision=12941
* Only update the display when we receive a notify about a mail folder we are ↵Iain Holmes2001-09-181-3/+19
| | | | | | displaying svn path=/trunk/; revision=12909
* Purification.Dan Winship2001-09-111-0/+1
| | | | | | | | | | | | | | | | | | * 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
* Studlycapsize all the IDs that are not. Likewise. Updated accordingly.Ettore Perazzoli2001-08-281-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-ShellComponent.idl: Studlycapsize all the IDs that are not. * Evolution-common.idl: Likewise. * evolution-activity-client.c: Updated accordingly. * evolution-shell-component.c: Likewise. * evolution-storage.c: Likewise. * e-activity-handler.c: Likewise. * e-component-registry.c: Likewise. * e-corba-storage.c: Likewise. * e-shell-user-creatable-items-handlers.c: Likewise. * e-local-storage.c (remove_folder): Remove unused variable. * e-shell-view.c (update_for_current_uri): Assign zero to `unread_count', not NULL. * e-shell-importer.c (import_druid_finish): Remove unused variable. * e-shell-user-creatable-items-handler.c: #include "e-corba-utils.h". * e-shell-startup-wizard.c: #include "e-shell-startup-wizard.h". * e-shell-startup-wizard.h: #include <glib.h> * e-summary-weather.c (weather_make_html): Make local variable `icon_name' const. Remove unused variable `uri'. * e-summary.h: Reformatted in GTK+ style. (e_summary_remove_online_connection): Added prototype. * e-summary-preferences.c (fill_mail_shown_clist): Constify local variable `name'. * e-summary-mail.c: #include "e-util/e-path.h". Updated to match the new studlyCapsification in shell/Evolution*.idl. * mail-local.c: Match the studlyCapsification of shell/Evolution*.idl. * mail-config-druid.h: Change type of `event_source' from `Bonobo_EventSource *' to `Bonobo_EventSource'. * mail-accounts.c (mail_delete): Remove unused local variable `label'. * folder-info.c (do_get_info): `#if 0' unused variables. * gui/component/addressbook-component.c: Get rid of a warning by initializing the closing NULL element in folder_types correctly. * gui/component/select-names/e-select-names.c: Updated to match the studlyCapsification of attributes in shell/Evolution*.idl. svn path=/trunk/; revision=12495
* Fix the show_full_path bugIain Holmes2001-08-231-6/+12
| | | | | | Set up the functions for better online/offline reporting. svn path=/trunk/; revision=12403
* Disconnect our callbacks when we are freeing the ESummaryMail. FixesJason Leach2001-08-131-0/+7
| | | | | | | | | 2001-08-13 Jason Leach <jleach@ximian.com> * e-summary-mail.c (e_summary_mail_free): Disconnect our callbacks when we are freeing the ESummaryMail. Fixes #6712. svn path=/trunk/; revision=11941
* Callback for the EvolutionStorageListener::update_folder signal, so we canJason Leach2001-08-041-1/+0
| | | | | | | | | | 2001-08-03 Jason Leach <jleach@ximian.com> * e-summary-mail.c (update_folder_cb): Callback for the EvolutionStorageListener::update_folder signal, so we can update mail summaries when they change. Bug #4686. svn path=/trunk/; revision=11635
* Install and use the new My Evolution icons from Jakub (they look reallyJacob Leach2001-08-031-9/+36
| | | | | | awesome Jakub, nice work). svn path=/trunk/; revision=11596
* Make the storage registar(?) genericIain Holmes2001-07-241-35/+69
| | | | svn path=/trunk/; revision=11315
* 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-3/+3
| | | | | | | | | | | | | 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
* Fix the mail folder linksIain Holmes2001-07-201-1/+1
| | | | svn path=/trunk/; revision=11231
* Secure e_summary_mail_generate_htmlIain Holmes2001-07-121-0/+3
| | | | svn path=/trunk/; revision=11014
* Fix the memory corruption issueIain Holmes2001-07-121-1/+0
| | | | svn path=/trunk/; revision=11013
* Free the data stop all the transfers when the summary is destroyed.Iain Holmes2001-07-121-0/+33
| | | | svn path=/trunk/; revision=11010
* Mail stuff addedIain Holmes2001-07-071-0/+84
| | | | svn path=/trunk/; revision=10867
* Marked strings for translation + conversion to utf8.Chyla Zbigniew2001-06-301-3/+13
| | | | | | | | | | | | | | | | | | | | | * 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
* Fix a few buggiesIain Holmes2001-06-301-1/+3
| | | | svn path=/trunk/; revision=10608
* Configure My EvolutionIain Holmes2001-06-301-6/+76
| | | | svn path=/trunk/; revision=10604
* Committing the new My Evolution.Iain Holmes2001-06-091-0/+276
svn path=/trunk/; revision=10163