diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2006-06-07 17:26:38 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2006-06-07 17:26:38 (GMT) |
commit | 09353c01545178166608e2ffbab8c31739d5f4d5 (patch) | |
tree | a3b6b826d25593523f5b22d588468a31f851e9d3 | |
parent | 8ae9f4354061591bc0284cc53546ac481f6c1f5a (diff) |
Merge
-rw-r--r-- | sugar/shell/activity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/shell/activity.py b/sugar/shell/activity.py index 47506d0..2518444 100644 --- a/sugar/shell/activity.py +++ b/sugar/shell/activity.py @@ -246,7 +246,7 @@ class Activity(object): """Marks this Activity as having changes. This usually means that this Activity's tab turns a red color or something else to notify the user that this Activity needs attention.""" - if not self.get_has_focus() and has_changes: + if not self.has_focus() and has_changes: self._activity_object.set_has_changes(True) else: self._activity_object.set_has_changes(False) |