aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-preferences.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/empathy-preferences.c b/src/empathy-preferences.c
index 4d1eb4eb3..75e51c7ef 100644
--- a/src/empathy-preferences.c
+++ b/src/empathy-preferences.c
@@ -288,10 +288,9 @@ preferences_sound_load (EmpathyPreferences *preferences)
for (i = 0; i < G_N_ELEMENTS (sound_entries); i++) {
empathy_conf_get_bool (conf, sound_entries[i].key, &set);
- gtk_list_store_append (store, &iter);
- gtk_list_store_set (store, &iter, COL_SOUND_ENABLED, set,
- COL_SOUND_NAME, gettext (sound_entries[i].name),
- COL_SOUND_KEY, sound_entries[i].key, -1);
+ gtk_list_store_insert_with_values (store, &iter, i,
+ COL_SOUND_NAME, gettext (sound_entries[i].name),
+ COL_SOUND_KEY, sound_entries[i].key, -1);
}
}