plugins/c_ext/c_ext.py
changeset 65 e55d6faee9d1
parent 55 9c26e67c041a
child 86 f0a9d74e3b26
--- a/plugins/c_ext/c_ext.py	Wed Oct 24 17:40:12 2007 +0200
+++ b/plugins/c_ext/c_ext.py	Thu Oct 25 16:46:56 2007 +0200
@@ -100,7 +100,14 @@
         dlg.Destroy()
         
 
-    PluginMethods = [("Edit C File",_OpenView), ("Import C File",_OpenView)]
+    PluginMethods = [
+        {"name" : "Edit C File", 
+         "tooltip" : "Edit C File",
+         "method" : _OpenView},
+        {"name" : "Import C File", 
+         "tooltip" : "Import C File",
+         "method" : _OpenView}
+    ]
 
     def SaveCView(self, name):
         f = open(self.CFileName(name),'w')