Show
Ignore:
Timestamp:
04/29/08 10:51:47 (7 months ago)
Author:
Ronny Pfannschmidt <Ronny.Pfannschmidt@…>
Message:

removed the need for Service.reg

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pida/services/optionsmanager/optionsmanager.py

    r1125 r1144  
    7474        self._services = [] 
    7575        for svc in self.svc.boss.get_services(): 
    76             if len(svc.get_options()): 
     76            if len(svc.options): 
    7777                self._services.append(svc) 
    7878                self._services_display.append( 
     
    109109        labelsizer = gtk.SizeGroup(gtk.SIZE_GROUP_HORIZONTAL) 
    110110        widgetsizer = gtk.SizeGroup(gtk.SIZE_GROUP_HORIZONTAL) 
    111         options = list(svc.get_options().iter_options()) 
     111        options = list(svc.options.iter_options()) 
    112112        options.sort() 
    113113        for opt in options: 
     
    192192 
    193193    def plugin_changed(self, plugin): 
    194         if len(plugin.get_options()): 
     194        if len(plugin.options): 
    195195            self.svc.refresh_view() 
    196196