Do not rely on dbus auto-activation.

This commit is contained in:
Marco Pesenti Gritti
2006-05-16 16:32:08 -04:00
parent 0f7dc51ac0
commit 8162cc8468
14 changed files with 44 additions and 386 deletions
-16
View File
@@ -3,19 +3,3 @@ sugar_PYTHON = \
__init__.py \
activity.py \
shell.py
# Dbus service file
servicedir = $(datadir)/dbus-1/services
service_in_files = com.redhat.Sugar.Shell.service.in
service_DATA = $(service_in_files:.service.in=.service)
# Rule to make the service file with bindir expanded
$(service_DATA): $(service_in_files) Makefile
@sed -e "s|\@bindir\@|$(bindir)|" $< > $@
EXTRA_DIST = \
$(service_in_files) \
$(service_DATA)
DISTCLEANFILES = \
$(service_DATA)
@@ -1,3 +0,0 @@
[D-BUS Service]
Name=com.redhat.Sugar.Shell
Exec=@bindir@/sugar shell
-5
View File
@@ -294,8 +294,3 @@ def main():
activityContainer = ActivityContainer(service, session_bus)
activityContainer.show()
gtk.main()
if __name__ == "__main__":
main()