# Path: conf.py
# CONF_FILE = os.path.join(urk.userpath,'urk.conf')
# def pprint(obj, depth=-2):
# def save(*args):


import gc
import gtk
import events
import windows
import ui
import urk
    import conf
from conf import conf
            self.buttons['connect'].set_sensitive(True)
        else:
            self.buttons['connect'].set_sensitive(False)
        
    def on_connect(self, button):
        model, iter = self.networks.get_selection().get_selected()
        
        if iter:
            network_name = model.get_value(iter, 0)
            window = windows.manager.get_active()
            network = window.network
            
            if network and network.status:
                switches = 'm'
            else:
                switches = ''
            
            events.run(
                'server -%s %s' % (switches, network_name),
                window,
                network
                )

    def __init__(self):
        self.infobox = NetworkInfo()

        network_list = gtk.ListStore(str)
        for network in conf.get('start_networks', []):
             network_list.append([network])
        

# Path: conf.py
# CONF_FILE = os.path.join(urk.userpath,'urk.conf')
# def pprint(obj, depth=-2):
# def save(*args):


# Path: platform/gtk/scripts/servers.py
import gc
import gtk
import events
import windows
import ui
import urk
    import conf
from conf import conf

            self.buttons['connect'].set_sensitive(True)
        else:
            self.buttons['connect'].set_sensitive(False)
        
    def on_connect(self, button):
        model, iter = self.networks.get_selection().get_selected()
        
        if iter:
            network_name = model.get_value(iter, 0)
            window = windows.manager.get_active()
            network = window.network
            
            if network and network.status:
                switches = 'm'
            else:
                switches = ''
            
            events.run(
                'server -%s %s' % (switches, network_name),
                window,
                network
                )

    def __init__(self):
        self.infobox = NetworkInfo()

        network_list = gtk.ListStore(str)
        for network in conf.get('start_networks', []):
             network_list.append([network])
        

        for network in conf.get('networks', []):