comparison 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
comparison
equal deleted inserted replaced
5857:2fa4aa9c1885 5858:96e5b32e75ad
956 gtk_container_set_border_width(GTK_CONTAINER(ret), 12); 956 gtk_container_set_border_width(GTK_CONTAINER(ret), 12);
957 957
958 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); 958 sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
959 vbox = gaim_gtk_make_frame(ret, _("Conversations")); 959 vbox = gaim_gtk_make_frame(ret, _("Conversations"));
960 960
961 /* Build a list of names. */ 961 names = gaim_conv_placement_get_options();
962 for (i = 0; i < gaim_conv_placement_get_fnc_count(); i++) {
963 names = g_list_append(names, (char *)gaim_conv_placement_get_name(i));
964 names = g_list_append(names, (char *)gaim_conv_placement_get_name(i));
965 }
966 962
967 label = prefs_dropdown_from_list(vbox, _("_Placement:"), GAIM_PREF_STRING, 963 label = prefs_dropdown_from_list(vbox, _("_Placement:"), GAIM_PREF_STRING,
968 "/gaim/gtk/conversations/placement", 964 "/core/conversations/placement",
969 names); 965 names);
970 966
971 g_list_free(names); 967 g_list_free(names);
972 968
973 gtk_misc_set_alignment(GTK_MISC(label), 0, 0); 969 gtk_misc_set_alignment(GTK_MISC(label), 0, 0);