changeset 23654: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 af603a54ae5a
files COPYRIGHT libpurple/plugins/perl/common/PluginPref.xs
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Thu Aug 07 01:41:44 2008 +0000
+++ b/COPYRIGHT	Thu Aug 07 01:46:36 2008 +0000
@@ -162,6 +162,7 @@
 Christian Hammond
 Erick Hamness
 Fred Hampton
+John Hanauer
 Phil Hannent
 Casey Harkins
 Andy Harrison
--- 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);