Display type of navigation in status on no active object

svn: r14313
This commit is contained in:
Doug Blank 2010-02-11 12:43:26 +00:00
parent 2e038d405e
commit e99718faf8

View File

@ -485,7 +485,8 @@ class DisplayState(gen.utils.Callback):
name = '%s (%s)' % (name, msg.strip()) name = '%s (%s)' % (name, msg.strip())
if not name: if not name:
name = _('No active object') name = _('No active %(navigation_type)s') % {"navigation_type":
_(nav_type.lower())}
self.status.push(self.status_id, name) self.status.push(self.status_id, name)
process_pending_events() process_pending_events()