comparison src/gtkpluginpref.c @ 10414:26eac2362c32

[gaim-migrate @ 11664] I'm starting to feel better. Little change here, little change there. Mostly I added a function gaim_util_write_xml_file to be used to write our config files. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 25 Dec 2004 18:33:27 +0000
parents ec140184437b
children a511b77a368b
comparison
equal deleted inserted replaced
10413:960b6a41d02f 10414:26eac2362c32
54 54
55 switch(gaim_plugin_pref_get_type(pref)) { 55 switch(gaim_plugin_pref_get_type(pref)) {
56 case GAIM_PLUGIN_PREF_CHOICE: 56 case GAIM_PLUGIN_PREF_CHOICE:
57 gtk_label = gaim_gtk_prefs_dropdown_from_list(parent, pref_label, 57 gtk_label = gaim_gtk_prefs_dropdown_from_list(parent, pref_label,
58 GAIM_PREF_STRING, pref_name, 58 GAIM_PREF_STRING, pref_name,
59 gaim_plugin_pref_get_choices(pref)); 59 gaim_plugin_pref_get_choices(pref));
60 gtk_misc_set_alignment(GTK_MISC(gtk_label), 0, 0.5); 60 gtk_misc_set_alignment(GTK_MISC(gtk_label), 0, 0.5);
61 61
62 if(sg) 62 if(sg)
63 gtk_size_group_add_widget(sg, gtk_label); 63 gtk_size_group_add_widget(sg, gtk_label);
64 64
114 114
115 break; 115 break;
116 case GAIM_PLUGIN_PREF_NONE: 116 case GAIM_PLUGIN_PREF_NONE:
117 default: 117 default:
118 gaim_plugin_pref_get_bounds(pref, &min, &max); 118 gaim_plugin_pref_get_bounds(pref, &min, &max);
119 gaim_gtk_prefs_labeled_spin_button(parent, pref_label, 119 gaim_gtk_prefs_labeled_spin_button(parent, pref_label,
120 pref_name, min, max, sg); 120 pref_name, min, max, sg);
121 break; 121 break;
122 } 122 }
123 } 123 }
124 124