From 3fee618acffe3885cafae17a30127468f6b7a58c Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 25 Oct 2002 22:05:14 +0000 Subject: 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 . * main.c: #include and . * 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 --- my-evolution/e-summary-preferences.c | 57 ------------------------------------ 1 file changed, 57 deletions(-) (limited to 'my-evolution/e-summary-preferences.c') diff --git a/my-evolution/e-summary-preferences.c b/my-evolution/e-summary-preferences.c index ebbd943651..b231da9263 100644 --- a/my-evolution/e-summary-preferences.c +++ b/my-evolution/e-summary-preferences.c @@ -608,35 +608,6 @@ static struct _RDFInfo rdfs[] = { {NULL, NULL, FALSE} }; -static void -free_rdf_info (struct _RDFInfo *info) -{ - g_free (info->url); - g_free (info->name); - g_free (info); -} - -static const char * -find_name_for_url (PropertyData *pd, - const char *url) -{ - GList *p; - - for (p = pd->rdf->known; p; p = p->next) { - struct _RDFInfo *info = p->data; - - if (info == NULL || info->url == NULL) { - continue; - } - - if (strcmp (url, info->url) == 0) { - return info->name; - } - } - - return url; -} - static void save_known_rdfs (GList *rdfs) { @@ -938,16 +909,6 @@ rdf_limit_value_changed_cb (GtkAdjustment *adj, evolution_config_control_changed (pd->config_control); } -static void -mail_etable_item_changed_cb (ESummaryTable *est, - ETreePath path, - PropertyData *pd) -{ - if (pd->config_control != NULL) { - evolution_config_control_changed (pd->config_control); - } -} - static void rdf_etable_item_changed_cb (ESummaryShown *ess, PropertyData *pd) @@ -1288,22 +1249,6 @@ free_property_dialog (PropertyData *pd) g_free (pd); } -static void -maybe_add_to_shown (gpointer key, - gpointer value, - gpointer data) -{ - ESummaryTableModelEntry *item; - GList **list; - - item = (ESummaryTableModelEntry *) value; - list = (GList **) data; - - if (item->shown == TRUE) { - *list = g_list_prepend (*list, g_strdup (item->location)); - } -} - /* Prototypes to shut gcc up */ GtkWidget *e_summary_preferences_make_mail_table (PropertyData *pd); @@ -1457,8 +1402,6 @@ get_folders_from_view (GtkWidget *view) f = g_new (ESummaryPrefsFolder, 1); f->evolution_uri = g_strdup (folder.evolutionUri); f->physical_uri = g_strdup (folder.physicalUri); - g_print ("Physical: %s\n", folder.physicalUri); - g_print ("Evolution: %s\n----\n", folder.evolutionUri); out_list = g_list_append (out_list, f); } -- cgit v1.2.3