diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2014-07-11 11:44:44 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2014-07-14 11:00:09 (GMT) |
commit | 3d0a4af58b4513ebe9b867b279d3ff7bd71a3e63 (patch) | |
tree | 3c4f3ef7502784a1cbf5dabfe6f455d5399878f5 | |
parent | 8df10e6b92ed5c3ff447977bfaff8e235e136722 (diff) |
Remove unused svgcard properties
-rw-r--r-- | createcardpanel.py | 5 | ||||
-rw-r--r-- | svgcard.py | 5 |
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) @@ -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): |