src/gtkpluginpref.c

changeset 10414
6b10b76933e1
parent 10297
b36800725b7a
child 11243
ee8dccc558e1
equal deleted inserted replaced
10413:666f2fbb7930 10414:6b10b76933e1
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

mercurial