Changeset 8715 for branches/gajim_0.11.1
- Timestamp:
- 09/04/07 22:05:04 (12 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/gajim_0.11.1/src/common/zeroconf/connection_zeroconf.py
r8683 r8715 101 101 gajim.config.set_per('accounts', gajim.ZEROCONF_ACC_NAME, 'sync_with_global_status', True) 102 102 103 #XXX make sure host is US-ASCII104 self.host = unicode(socket.gethostname())105 gajim.config.set_per('accounts', gajim.ZEROCONF_ACC_NAME, 'hostname', self.host)106 103 gajim.config.set_per('accounts', gajim.ZEROCONF_ACC_NAME, 'custom_port', 5298) 107 104 gajim.config.set_per('accounts', gajim.ZEROCONF_ACC_NAME, 'is_zeroconf', True) 108 self.host = gajim.config.get_per('accounts', gajim.ZEROCONF_ACC_NAME, 'hostname') 105 #XXX make sure host is US-ASCII 106 self.host = unicode(socket.gethostname()) 107 gajim.config.set_per('accounts', gajim.ZEROCONF_ACC_NAME, 'hostname', self.host) 109 108 self.port = gajim.config.get_per('accounts', gajim.ZEROCONF_ACC_NAME, 'custom_port') 110 109 self.autoconnect = gajim.config.get_per('accounts', gajim.ZEROCONF_ACC_NAME, 'autoconnect')
