Mercurial > pidgin
comparison libpurple/plugins/perl/common/PluginPref.xs @ 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 | df6d3c3574ce |
comparison
equal
deleted
inserted
replaced
23653:6f47135f5378 | 23654:b0812ce0ec17 |
---|---|
174 | 174 |
175 if (type == 1) { | 175 if (type == 1) { |
176 gpp_type = PURPLE_PLUGIN_PREF_CHOICE; | 176 gpp_type = PURPLE_PLUGIN_PREF_CHOICE; |
177 } else if (type == 2) { | 177 } else if (type == 2) { |
178 gpp_type = PURPLE_PLUGIN_PREF_INFO; | 178 gpp_type = PURPLE_PLUGIN_PREF_INFO; |
179 } else if (type == 3) { | |
180 gpp_type = PURPLE_PLUGIN_PREF_STRING_FORMAT; | |
179 } | 181 } |
180 purple_plugin_pref_set_type(pref, gpp_type); | 182 purple_plugin_pref_set_type(pref, gpp_type); |