aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-preferences.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-07-04 05:28:14 +0800
committerIain Holmes <iain@src.gnome.org>2001-07-04 05:28:14 +0800
commitd7d155066d781b13892709226e3384120c27e080 (patch)
treed578e51b8a2ce41b90aba420c0f7d1373ca15789 /my-evolution/e-summary-preferences.c
parentb9df218b343c5992001d37ed39226027b943389f (diff)
downloadgsoc2013-evolution-d7d155066d781b13892709226e3384120c27e080.tar
gsoc2013-evolution-d7d155066d781b13892709226e3384120c27e080.tar.gz
gsoc2013-evolution-d7d155066d781b13892709226e3384120c27e080.tar.bz2
gsoc2013-evolution-d7d155066d781b13892709226e3384120c27e080.tar.lz
gsoc2013-evolution-d7d155066d781b13892709226e3384120c27e080.tar.xz
gsoc2013-evolution-d7d155066d781b13892709226e3384120c27e080.tar.zst
gsoc2013-evolution-d7d155066d781b13892709226e3384120c27e080.zip
Disable bonobo-conf Fix radio button problem
Disable bonobo-conf Fix radio button problem svn path=/trunk/; revision=10767
Diffstat (limited to 'my-evolution/e-summary-preferences.c')
-rw-r--r--my-evolution/e-summary-preferences.c21
1 files changed, 12 insertions, 9 deletions
diff --git a/my-evolution/e-summary-preferences.c b/my-evolution/e-summary-preferences.c
index 1012609fc4..44c5b49fdb 100644
--- a/my-evolution/e-summary-preferences.c
+++ b/my-evolution/e-summary-preferences.c
@@ -114,6 +114,7 @@ str_list_from_vector (const char *vector)
gboolean
e_summary_preferences_restore (ESummaryPrefs *prefs)
{
+#if 0
Bonobo_ConfigDatabase db;
CORBA_Environment ev;
char *vector;
@@ -135,9 +136,9 @@ e_summary_preferences_restore (ESummaryPrefs *prefs)
return FALSE;
}
prefs->display_folders = str_list_from_vector (vector);
- g_free (vector);
+ g_free (vector);
- prefs->show_full_path = bonobo_config_get_boolean (db, "Mail/show_full_path=FALSE", NULL);
+ prefs->show_full_path = bonobo_config_get_boolean (db, "Mail/show_full_path", NULL);
vector = bonobo_config_get_string (db, "RDF/rdf_urls", NULL);
if (vector == NULL) {
@@ -145,7 +146,7 @@ e_summary_preferences_restore (ESummaryPrefs *prefs)
return FALSE;
}
prefs->rdf_urls = str_list_from_vector (vector);
- g_free (vector);
+ g_free (vector);
prefs->rdf_refresh_time = bonobo_config_get_long_with_default (db, "RDF/rdf_refresh_time", 600, NULL);
prefs->limit = bonobo_config_get_long_with_default (db, "RDF/limit", 10, NULL);
@@ -157,16 +158,18 @@ e_summary_preferences_restore (ESummaryPrefs *prefs)
return FALSE;
}
prefs->stations = str_list_from_vector (vector);
- g_free (vector);
+ g_free (vector);
prefs->units = bonobo_config_get_long (db, "Weather/units", NULL);
- prefs->weather_refresh_time = bonobo_config_get_long (db, "weather_refresh_time", NULL);
+ prefs->weather_refresh_time = bonobo_config_get_long (db, "Weather/weather_refresh_time", NULL);
prefs->days = bonobo_config_get_long (db, "Schedule/days", NULL);
- prefs->show_tasks = bonobo_config_get_long (db, "show_tasks", NULL);
+ prefs->show_tasks = bonobo_config_get_long (db, "Schedule/show_tasks", NULL);
bonobo_object_release_unref (db, NULL);
return TRUE;
+#endif
+ return FALSE;
}
/* Write prefs to disk */
@@ -190,13 +193,13 @@ e_summary_preferences_save (ESummaryPrefs *prefs)
vector = vector_from_str_list (prefs->display_folders);
bonobo_config_set_string (db, "Mail/display_folders", vector, NULL);
- g_free (vector);
+ g_free (vector);
bonobo_config_set_boolean (db, "Mail/show_full_path", prefs->show_full_path, NULL);
vector = vector_from_str_list (prefs->rdf_urls);
bonobo_config_set_string (db, "RDF/rdf_urls", vector, NULL);
- g_free (vector);
+ g_free (vector);
bonobo_config_set_long (db, "RDF/rdf_refresh_time", prefs->rdf_refresh_time, NULL);
bonobo_config_set_long (db, "RDF/limit", prefs->limit, NULL);
@@ -204,7 +207,7 @@ e_summary_preferences_save (ESummaryPrefs *prefs)
vector = vector_from_str_list (prefs->stations);
bonobo_config_set_string (db, "Weather/stations", vector, NULL);
- g_free (vector);
+ g_free (vector);
bonobo_config_set_long (db, "Weather/units", prefs->units, NULL);
bonobo_config_set_long (db, "Weather/weather_refresh_time", prefs->weather_refresh_time, NULL);