Changeset 8438
- Timestamp:
- 07/27/07 18:00:29 (18 months ago)
- Files:
-
- 1 modified
-
trunk/src/common/zeroconf/connection_zeroconf.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/common/zeroconf/connection_zeroconf.py
r8288 r8438 104 104 gajim.config.set_per('accounts', gajim.ZEROCONF_ACC_NAME, 'sync_with_global_status', True) 105 105 106 #XXX make sure host is US-ASCII107 self.host = unicode(socket.gethostname())108 gajim.config.set_per('accounts', gajim.ZEROCONF_ACC_NAME, 'hostname', self.host)109 106 gajim.config.set_per('accounts', gajim.ZEROCONF_ACC_NAME, 'custom_port', 5298) 110 107 gajim.config.set_per('accounts', gajim.ZEROCONF_ACC_NAME, 'is_zeroconf', True) 111 self.host = gajim.config.get_per('accounts', gajim.ZEROCONF_ACC_NAME, 'hostname') 108 #XXX make sure host is US-ASCII 109 self.host = unicode(socket.gethostname()) 110 gajim.config.set_per('accounts', gajim.ZEROCONF_ACC_NAME, 'hostname', self.host) 112 111 self.port = gajim.config.get_per('accounts', gajim.ZEROCONF_ACC_NAME, 'custom_port') 113 112 self.autoconnect = gajim.config.get_per('accounts', gajim.ZEROCONF_ACC_NAME, 'autoconnect')
