Merge branch 'master' of git://dev.laptop.org/sugar

This commit is contained in:
Ian Bicking 2006-10-02 18:15:34 -05:00
commit dcf97548c4
3 changed files with 12 additions and 11 deletions

View File

@ -397,14 +397,12 @@ class Service(gobject.GObject):
logging.debug("Will register service with name='%s', stype='%s'," \ logging.debug("Will register service with name='%s', stype='%s'," \
" domain='%s', address='%s', port=%d, info='%s'" % (self._full_name, " domain='%s', address='%s', port=%d, info='%s'" % (self._full_name,
self._stype, self._domain, self._address, self._port, info)) self._stype, self._domain, self._address, self._port, info))
try:
self._avahi_entry_group.AddService(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, 0, self._avahi_entry_group.AddService(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, 0,
dbus.String(self._full_name), dbus.String(self._stype), dbus.String(self._full_name), dbus.String(self._stype),
dbus.String(self._domain), dbus.String(""), # let Avahi figure the 'host' out dbus.String(self._domain), dbus.String(""), # let Avahi figure the 'host' out
dbus.UInt16(self._port), info) dbus.UInt16(self._port), info)
except dbus.DBusException, exc:
# Local name collision and stuff
pass
self._avahi_entry_group.connect_to_signal('StateChanged', self.__entry_group_changed_cb) self._avahi_entry_group.connect_to_signal('StateChanged', self.__entry_group_changed_cb)
self._avahi_entry_group.Commit() self._avahi_entry_group.Commit()

View File

@ -1,9 +1,9 @@
sugardir = $(pkgdatadir)/shell/view/frame sugardir = $(pkgdatadir)/shell/view/frame
sugar_PYTHON = \ sugar_PYTHON = \
__init__.py \ __init__.py \
ActivitiesBox.py \
RightPanel.py \ RightPanel.py \
PanelWindow.py \ PanelWindow.py \
Frame.py \ Frame.py \
TopPanel.py \ ZoomBox.py \
BottomPanel.py \
MenuStrategy.py MenuStrategy.py

View File

@ -2,4 +2,7 @@ sugardir = $(pythondir)/sugar/graphics
sugar_PYTHON = \ sugar_PYTHON = \
__init__.py \ __init__.py \
canvasicon.py \ canvasicon.py \
grid.py grid.py \
menuicon.py \
menu.py \
style.py