[Sugar-devel] [PATCH chat] Remove the KeepButton due to deprecation

Simon Schampijer simon at schampijer.de
Wed Jul 27 11:02:04 EDT 2011


From: Simon Schampijer <simon at laptop.org>

---
 activity.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/activity.py b/activity.py
index 58c6d8e..05b7558 100644
--- a/activity.py
+++ b/activity.py
@@ -35,7 +35,7 @@ from sugar.graphics.palette import Palette
 from sugar.graphics.toolbarbox import ToolbarBox
 from sugar.activity import activity
 from sugar.presence import presenceservice
-from sugar.activity.widgets import ActivityButton, TitleEntry, KeepButton
+from sugar.activity.widgets import ActivityButton, TitleEntry
 from sugar.activity.widgets import StopButton, ShareButton, RadioMenuButton
 
 from chat import smilies
@@ -69,7 +69,6 @@ class Chat(activity.Activity):
 
         share_button = ShareButton(self)
         toolbar_box.toolbar.insert(share_button, -1)
-        toolbar_box.toolbar.insert(KeepButton(self), -1)
 
         separator = gtk.SeparatorToolItem()
         toolbar_box.toolbar.insert(separator, -1)
-- 
1.7.4.4



More information about the Sugar-devel mailing list