aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-preferences.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-10-26 06:05:14 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-10-26 06:05:14 +0800
commit3fee618acffe3885cafae17a30127468f6b7a58c (patch)
treed1f8c1b6b2041742eec104b8885c086a678e4bfc /my-evolution/e-summary-preferences.c
parent8481c20f533cd2b87c79e1fc38b0632ace3939aa (diff)
downloadgsoc2013-evolution-3fee618acffe3885cafae17a30127468f6b7a58c.tar.gz
gsoc2013-evolution-3fee618acffe3885cafae17a30127468f6b7a58c.tar.zst
gsoc2013-evolution-3fee618acffe3885cafae17a30127468f6b7a58c.zip
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 <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
Diffstat (limited to 'my-evolution/e-summary-preferences.c')
-rw-r--r--my-evolution/e-summary-preferences.c57
1 files changed, 0 insertions, 57 deletions
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
@@ -609,35 +609,6 @@ static struct _RDFInfo rdfs[] = {
};
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)
{
FILE *handle;
@@ -939,16 +910,6 @@ rdf_limit_value_changed_cb (GtkAdjustment *adj,
}
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);
}