Describe the current profile if it's non-default

This commit is contained in:
Chris Jones 2010-03-18 23:11:07 +00:00
parent 9995f308d6
commit 8ed1613951
1 changed files with 4 additions and 0 deletions

View File

@ -1222,6 +1222,10 @@ for %s (%s)' % (name, urlplugin.__class__.__name__))
layout['type'] = 'Terminal'
layout['parent'] = parent
layout['order'] = child_order
profile = self.get_profile()
if layout != "default":
# There's no point explicitly noting default profiles
layout['profile'] = profile
name = 'terminal%d' % count
count = count + 1
global_layout[name] = layout