This commit is contained in:
Marco Pesenti Gritti 2007-11-09 00:11:53 +01:00
parent fb33f4eac0
commit be8669317d
2 changed files with 6 additions and 4 deletions

2
NEWS
View File

@ -1,3 +1,5 @@
* Fix typo in activity launching code. (marco)
Snapshot e23f012e08
* Launch a few activities outside rainbow containers. (marco)

View File

@ -170,10 +170,10 @@ class ActivityCreationHandler(gobject.GObject):
self._handle = handle
self._use_rainbow = os.path.exists('/etc/olpc-security')
if handle.activity_id in [ 'org.laptop.JournalActivity',
'org.laptop.Terminal',
'org.laptop.LogViewer',
'org.laptop.Analyze' ]:
if service_name in [ 'org.laptop.JournalActivity',
'org.laptop.Terminal',
'org.laptop.LogViewer',
'org.laptop.Analyze' ]:
self._use_rainbow = False
bus = dbus.SessionBus()