diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2011-07-27 17:15:38 (GMT) |
---|---|---|
committer | Rafael Ortiz <rafael@activitycentral.com> | 2011-08-02 22:23:50 (GMT) |
commit | ac0f772d19b06f669afcedeb00ab7c9249bae4bd (patch) | |
tree | 9f401d3cab0548a86aa068e2049c777c26d21c96 | |
parent | d1bb69ad4e0332901298f58c0aa102ad3c52f049 (diff) |
Remove KeepButton due to deprecation
Signed-off-by: Rafael Ortiz <rafael@activitycentral.com>
-rw-r--r-- | activity.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/activity.py b/activity.py index 7a32a6d..88313e2 100644 --- a/activity.py +++ b/activity.py @@ -48,7 +48,7 @@ class StopWatchActivity(Activity): try: from sugar.graphics.toolbarbox import ToolbarBox, ToolbarButton from sugar.activity.widgets import ActivityToolbarButton, StopButton, \ - ShareButton, KeepButton, TitleEntry, ActivityButton + ShareButton, TitleEntry, ActivityButton except ImportError: OLD_TOOLBAR = True @@ -70,10 +70,6 @@ class StopWatchActivity(Activity): toolbar_box.toolbar.insert(share_button, -1) share_button.show() - keep_button = KeepButton(self) - toolbar_box.toolbar.insert(keep_button, -1) - keep_button.show() - separator = gtk.SeparatorToolItem() separator.props.draw = False separator.set_expand(True) |