Exemplo n.º 1
0
 def __init__(self, library, create_text, modify_text, delete_text):
     LibraryMenu.__init__(self, library, create_text, modify_text, delete_text)
     self.templatize_action = self.add(None,
         tr("Convert to generic user group"),
         library.templatizeEvent)
Exemplo n.º 2
0
 def __init__(self, library, config, create_text, modify_text, delete_text):
     LibraryMenu.__init__(self, library, create_text, modify_text, delete_text)
     self.config = config
     self.templatize_action = self.add(None,
         tr("Convert to generic network"),
         library.templatizeEvent)