diff src/plugins/plugin_misc_imap.py @ 1220:f91e7028e2c3

memory (params), tools (xml_tools), plugins, frontends: add "int" parameter type with "min" and "max" attributes
author souliane <souliane@mailoo.org>
date Fri, 03 Oct 2014 12:27:43 +0200
parents 301b342c697a
children 72f25d671368
line wrap: on
line diff
--- a/src/plugins/plugin_misc_imap.py	Mon Sep 22 22:25:44 2014 +0200
+++ b/src/plugins/plugin_misc_imap.py	Fri Oct 03 12:27:43 2014 +0200
@@ -51,7 +51,7 @@
     <params>
     <general>
     <category name="Mail Server">
-        <param name="IMAP Port" value="10143" type="string" />
+        <param name="IMAP Port" value="10143" type="int" min="143" max="65535" />
     </category>
     </general>
     </params>