Hi,

   > No, sorry.  The current prompt-on-quit is fine, as it only occurs
   > when you stop a brand new activity instance. It basically asks
   > "do you want me to keep track of this thing in your Journal," and
   > from then on it will auto-save as usual.
   > 
   > Since the Keep button is causing so much confusion, I was
   > proposing to remove it for now (until we have more complete
   > version support), but keep the prompt the first time a new
   > instance is stopped. We can still skip the prompt if the instance
   > is manually renamed, under the assumption that naming the item
   > implies a desire to track it in the Journal.

Got it, sounds good, thanks.  Here's the obvious patch.


>From 62b3810ddb49ca091e0ac289384ae0b1d8eb9e65 Mon Sep 17 00:00:00 2001
From: Chris Ball <c...@laptop.org>
Date: Wed, 21 Apr 2010 19:32:12 -0400
Subject: [PATCH] Remove the keep button from the default activity toolbar

As suggested by Eben in
http://lists.sugarlabs.org/archive/sugar-devel/2010-April/023439.html
---
 src/sugar/activity/widgets.py |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/src/sugar/activity/widgets.py b/src/sugar/activity/widgets.py
index 2867666..481f6b1 100644
--- a/src/sugar/activity/widgets.py
+++ b/src/sugar/activity/widgets.py
@@ -223,7 +223,7 @@ class TitleEntry(gtk.ToolItem):
 
 class ActivityToolbar(gtk.Toolbar):
     """The Activity toolbar with the Journal entry title, sharing,
-       Keep and Stop buttons
+       and Stop button
 
     All activities should have this toolbar. It is easiest to add it to your
     Activity by using the ActivityToolbox.
@@ -251,10 +251,6 @@ class ActivityToolbar(gtk.Toolbar):
         self.share.show()
         self.insert(self.share, -1)
 
-        self.keep = KeepButton(activity)
-        self.insert(self.keep, -1)
-        self.keep.show()
-
         self.stop = StopButton(activity)
         self.insert(self.stop, -1)
         self.stop.show()
-- 
1.7.0.1
_______________________________________________
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel

Reply via email to