runtime/NevowServer.py
changeset 2260 74205edac761
parent 2247 921ba5658183
child 2262 4195545e2d17
equal deleted inserted replaced
2259:53f3eb5c47f7 2260:74205edac761
   153 
   153 
   154         setattr(self, 'action_' + name, callback)
   154         setattr(self, 'action_' + name, callback)
   155 
   155 
   156         self.bindingsNames.append(name)
   156         self.bindingsNames.append(name)
   157 
   157 
       
   158 
   158 ConfigurableSettings = ConfigurableBindings()
   159 ConfigurableSettings = ConfigurableBindings()
   159 
   160 
   160 
   161 
   161 class ISettings(annotate.TypedInterface):
   162 class ISettings(annotate.TypedInterface):
   162     platform = annotate.String(label=_("Platform"),
   163     platform = annotate.String(label=_("Platform"),
   177 
   178 
   178     sendLogMessage = annotate.autocallable(sendLogMessage,
   179     sendLogMessage = annotate.autocallable(sendLogMessage,
   179                                            label=_(
   180                                            label=_(
   180                                                "Send a message to the log"),
   181                                                "Send a message to the log"),
   181                                            action=_("Send"))
   182                                            action=_("Send"))
       
   183 
   182 
   184 
   183 customSettingsURLs = {
   185 customSettingsURLs = {
   184 }
   186 }
   185 
   187 
   186 
   188