Opened 12 years ago

Closed 12 years ago

#3673 closed defect (fixed)

Code that used CanvasIcon was commented out in 2007, remove it

Reported by: garycmartin Owned by: rwh
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Calculate Version: Git as of bugdate
Severity: Unspecified Keywords:
Cc: Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

Signed-off-by: Sascha Silbe <silbe@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
-- 

Change History (1)

comment:1 Changed 12 years ago by garycmartin

  • Resolution set to fixed
  • Status changed from new to closed

Thanks, finally fixed in mainline with commit ad1edbf :)

Note: See TracTickets for help on using tickets.