diff src/gtkprefs.c @ 5858:96e5b32e75ad

[gaim-migrate @ 6289] conversation placement functions now have an ID string, rather than the pref being dependent on the order the functions are in the list. also, the pref is converted to the new system. and it's cool, and stuff. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 13 Jun 2003 23:49:26 +0000
parents eeb72d03e189
children d048e5f2af27
line wrap: on
line diff
--- a/src/gtkprefs.c	Fri Jun 13 23:04:26 2003 +0000
+++ b/src/gtkprefs.c	Fri Jun 13 23:49:26 2003 +0000
@@ -958,14 +958,10 @@
 	sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
 	vbox = gaim_gtk_make_frame(ret, _("Conversations"));
 
-	/* Build a list of names. */
-	for (i = 0; i < gaim_conv_placement_get_fnc_count(); i++) {
-		names = g_list_append(names, (char *)gaim_conv_placement_get_name(i));
-		names = g_list_append(names, (char *)gaim_conv_placement_get_name(i));
-	}
+	names = gaim_conv_placement_get_options();
 
 	label = prefs_dropdown_from_list(vbox, _("_Placement:"), GAIM_PREF_STRING,
-									 "/gaim/gtk/conversations/placement",
+									 "/core/conversations/placement",
 									 names);
 
 	g_list_free(names);