[Bugs] #3673 Calculate UNSP: Code that used CanvasIcon was commented out in 2007, remove it

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Jun 6 16:18:17 EDT 2012


#3673: Code that used CanvasIcon was commented out in 2007, remove it
------------------------------------------+---------------------------------
    Reporter:  garycmartin                |          Owner:  rwh                        
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Calculate                  |        Version:  Git as of bugdate          
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 {{{
 Signed-off-by: Sascha Silbe <silbe at activitycentral.com>
 ---
 calculate.py |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

 diff --git a/calculate.py b/calculate.py
 index 91cf276..5b45698 100644
 --- a/calculate.py
 +++ b/calculate.py
 @@ -36,7 +36,6 @@ import base64

 from sugar.activity import activity
 import sugar.profile
 -from sugar.graphics.icon import CanvasIcon
 from sugar.graphics.xocolor import XoColor

 from shareable_activity import ShareableActivity
 @@ -330,10 +329,6 @@ class Calculate(ShareableActivity):
         self.connect("key_press_event", self.keypress_cb)
         self.connect("destroy", self.cleanup_cb)
         self.color = sugar.profile.get_color()
 -##        self.icon = CanvasIcon(
 -##            icon_name = 'theme:stock-buddy',
 -##            xo_color = XoColor(self.color))
 -
         self.layout = CalcLayout(self)
         self.label_entry = self.layout.label_entry
         self.text_entry = self.layout.text_entry
 --
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3673>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list