diff src/gtkprefs.c @ 8577:599d6ac9bbfe

[gaim-migrate @ 9326] a jabber tweak i forgot to commit a fix for logging times wrt daylight savings time re-fix html logging timestamp sizes, after the syslog merge a cosmetic change to the log window committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 04 Apr 2004 18:27:45 +0000
parents 7dcd6f26e4a7
children 0349e319e1c0
line wrap: on
line diff
--- a/src/gtkprefs.c	Sun Apr 04 15:08:26 2004 +0000
+++ b/src/gtkprefs.c	Sun Apr 04 18:27:45 2004 +0000
@@ -206,8 +206,16 @@
 	gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
 	gtk_widget_show(label);
 
+#if 0 /* GTK_CHECK_VERSION(2,4,0) */
+	if(type == GAIM_PREF_INT)
+		model = gtk_list_store_new(2, G_TYPE_STRING, G_TYPE_INT);
+	else if(type == GAIM_PREF_STRING)
+		model = gtk_list_store_new(2, G_TYPE_STRING, G_TYPE_STRING);
+	dropdown = gtk_combo_box_new_with_model(model);
+#else
 	dropdown = gtk_option_menu_new();
 	menu = gtk_menu_new();
+#endif
 
 	gtk_label_set_mnemonic_widget(GTK_LABEL(label), dropdown);