diff libpurple/plugins/perl/common/PluginPref.xs @ 23711:b0812ce0ec17

Patch from John Hanauer to enable formatted string entry field in perl plugins. Fixes #6506.
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 07 Aug 2008 01:46:36 +0000
parents 6f47135f5378
children df6d3c3574ce
line wrap: on
line diff
--- a/libpurple/plugins/perl/common/PluginPref.xs	Thu Aug 07 01:41:44 2008 +0000
+++ b/libpurple/plugins/perl/common/PluginPref.xs	Thu Aug 07 01:46:36 2008 +0000
@@ -176,5 +176,7 @@
 		gpp_type = PURPLE_PLUGIN_PREF_CHOICE;
 	} else if (type == 2) {
 		gpp_type = PURPLE_PLUGIN_PREF_INFO;
+	} else if (type == 3) {
+		gpp_type = PURPLE_PLUGIN_PREF_STRING_FORMAT;
 	}
 	purple_plugin_pref_set_type(pref, gpp_type);