Patch from John Hanauer to enable formatted string entry field in perl plugins.

Thu, 07 Aug 2008 01:46:36 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Thu, 07 Aug 2008 01:46:36 +0000
changeset 23981
4dcc884ffee0
parent 23980
a38cbb35eecf
child 23982
204b6e71f403

Patch from John Hanauer to enable formatted string entry field in perl plugins.
Fixes #6506.

COPYRIGHT file | annotate | diff | comparison | revisions
libpurple/plugins/perl/common/PluginPref.xs file | annotate | diff | comparison | revisions
--- 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);

mercurial