Hi,

I took a recent SVN update and saw that I couldn't hide FTS items from the
display, just because the frmOptions couldn't Save / Fetch the corresponding
settings.

Attached is a simple patch that allows us to do that.

Regards,
*Robins Tharakan*
Index: pgadmin/utils/sysSettings.cpp
===================================================================
--- pgadmin/utils/sysSettings.cpp	(revision 7422)
+++ pgadmin/utils/sysSettings.cpp	(working copy)
@@ -156,6 +156,14 @@
         engtype = wxT("Sequences");
     else if (objtype == _("Tables")) 
         engtype = wxT("Tables");
+    else if (objtype == _("FTS Configurations")) 
+        engtype = wxT("FTS Configurations");
+    else if (objtype == _("FTS Dictionaries")) 
+        engtype = wxT("FTS Dictionaries");
+    else if (objtype == _("FTS Parsers")) 
+        engtype = wxT("FTS Parsers");
+    else if (objtype == _("FTS Templates")) 
+        engtype = wxT("FTS Templates");
     else if (objtype == _("Types")) 
     {
         engtype = wxT("Types");
@@ -201,6 +209,10 @@
     else if (objtype == _("Rules")) engtype = wxT("Rules");
     else if (objtype == _("Sequences")) engtype = wxT("Sequences");
     else if (objtype == _("Tables")) engtype = wxT("Tables");
+    else if (objtype == _("FTS Configurations")) engtype = wxT("FTS Configurations");
+    else if (objtype == _("FTS Dictionaries")) engtype = wxT("FTS Dictionaries");
+    else if (objtype == _("FTS Parsers")) engtype = wxT("FTS Parsers");
+    else if (objtype == _("FTS Templates")) engtype = wxT("FTS Templates");
     else if (objtype == _("Types")) engtype = wxT("Types");
     else if (objtype == _("Views")) engtype = wxT("Views");
 
-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to