empathy r2101 - trunk/src
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2101 - trunk/src
- Date: Tue, 6 Jan 2009 16:50:02 +0000 (UTC)
Author: xclaesse
Date: Tue Jan 6 16:50:02 2009
New Revision: 2101
URL: http://svn.gnome.org/viewvc/empathy?rev=2101&view=rev
Log:
Use gtk_list_store_insert_with_values ().
Modified:
trunk/src/empathy-preferences.c
Modified: trunk/src/empathy-preferences.c
==============================================================================
--- trunk/src/empathy-preferences.c (original)
+++ trunk/src/empathy-preferences.c Tue Jan 6 16:50:02 2009
@@ -288,10 +288,9 @@
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);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]