Exemple #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)
Exemple #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)