Skip to content

Commit

Permalink
Work around a fife import just for Color
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisOelmueller committed Mar 30, 2013
1 parent c0b193d commit 11ad92e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions horizons/gui/widgets/pickbeltwidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# ###################################################

from fife.fife import Color

from horizons.util.python.callback import Callback
from horizons.gui.util import load_uh_widget
from horizons.gui.style import NOTHING
from horizons.gui.widgets.imagebutton import ImageButton, OkButton
from horizons.gui.windows import Window

Expand Down Expand Up @@ -114,7 +113,7 @@ def __init__(self, windows):
box.margins = (30, 0) # to get some indentation
box.padding = 3
for listbox in self.widget.findChildren(name='translators'):
listbox.background_color = Color(255, 255, 255, 0)
listbox.background_color = NOTHING

self.widget.findChild(name=OkButton.DEFAULT_NAME).capture(self._windows.close)

Expand Down

0 comments on commit 11ad92e

Please sign in to comment.