Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2014-07-11 11:44:44 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-07-14 11:00:09 (GMT)
commit3d0a4af58b4513ebe9b867b279d3ff7bd71a3e63 (patch)
tree3c4f3ef7502784a1cbf5dabfe6f455d5399878f5
parent8df10e6b92ed5c3ff447977bfaff8e235e136722 (diff)
Remove unused svgcard properties
-rw-r--r--createcardpanel.py5
-rw-r--r--svgcard.py5
2 files changed, 1 insertions, 9 deletions
diff --git a/createcardpanel.py b/createcardpanel.py
index a21665b..5cccc5d 100644
--- a/createcardpanel.py
+++ b/createcardpanel.py
@@ -299,10 +299,7 @@ class CardEditor(Gtk.EventBox):
self.card = svgcard.SvgCard(
-1, {'front_text': {'card_text': '',
- 'text_color': style.Color('#ffffff')},
- 'front_border': {'fill_color': style.Color('#4c4d4f'),
- 'stroke_color': style.Color('#ffffff'),
- 'opacity': '1'}},
+ 'text_color': style.Color('#ffffff')}},
None, theme.PAIR_SIZE, 1, '#c0c0c0')
self.card.flip()
card_align = Gtk.Alignment.new(.5, .5, 0, 0)
diff --git a/svgcard.py b/svgcard.py
index df766f2..60156c8 100644
--- a/svgcard.py
+++ b/svgcard.py
@@ -268,11 +268,6 @@ class SvgCard(Gtk.EventBox):
def reset(self):
if self.flipped:
- front_border = self.default_props.get('front_border')
- fill_color = front_border.get('fill_color')
- front_text = self.default_propsfront_text
- stroke_color = front_text.get('front_border').get('stroke_color')
- self.set_border(fill_color.get_html(), stroke_color.get_html())
self.flop()
def create_text_layout(self, text):