Merge branch 'master' of git://dev.laptop.org/sugar
This commit is contained in:
commit
dcf97548c4
@ -397,14 +397,12 @@ class Service(gobject.GObject):
|
||||
logging.debug("Will register service with name='%s', stype='%s'," \
|
||||
" domain='%s', address='%s', port=%d, info='%s'" % (self._full_name,
|
||||
self._stype, self._domain, self._address, self._port, info))
|
||||
try:
|
||||
self._avahi_entry_group.AddService(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, 0,
|
||||
dbus.String(self._full_name), dbus.String(self._stype),
|
||||
dbus.String(self._domain), dbus.String(""), # let Avahi figure the 'host' out
|
||||
dbus.UInt16(self._port), info)
|
||||
except dbus.DBusException, exc:
|
||||
# Local name collision and stuff
|
||||
pass
|
||||
|
||||
self._avahi_entry_group.AddService(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, 0,
|
||||
dbus.String(self._full_name), dbus.String(self._stype),
|
||||
dbus.String(self._domain), dbus.String(""), # let Avahi figure the 'host' out
|
||||
dbus.UInt16(self._port), info)
|
||||
|
||||
self._avahi_entry_group.connect_to_signal('StateChanged', self.__entry_group_changed_cb)
|
||||
self._avahi_entry_group.Commit()
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
sugardir = $(pkgdatadir)/shell/view/frame
|
||||
sugar_PYTHON = \
|
||||
__init__.py \
|
||||
ActivitiesBox.py \
|
||||
RightPanel.py \
|
||||
PanelWindow.py \
|
||||
Frame.py \
|
||||
TopPanel.py \
|
||||
BottomPanel.py \
|
||||
ZoomBox.py \
|
||||
MenuStrategy.py
|
||||
|
@ -2,4 +2,7 @@ sugardir = $(pythondir)/sugar/graphics
|
||||
sugar_PYTHON = \
|
||||
__init__.py \
|
||||
canvasicon.py \
|
||||
grid.py
|
||||
grid.py \
|
||||
menuicon.py \
|
||||
menu.py \
|
||||
style.py
|
||||
|
Loading…
Reference in New Issue
Block a user