Skip to content

Commit

Permalink
merge with projecthamster (#1)
Browse files Browse the repository at this point in the history
* knits (2to3 rendered some bugs)

* move apx icon to share/icons/hicolor/scalable/ closes #8
  • Loading branch information
rapgro authored Jul 9, 2016
1 parent ccd9a98 commit edd3fa3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion apx/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import itertools

from . import board
from . import sprites

from .lib import game_utils
Expand Down
4 changes: 2 additions & 2 deletions apx/lib/graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,9 +680,9 @@ def log(self, *lines):
"""will print out the lines in console if debug is enabled for the
specific sprite"""
if getattr(self, "debug", False):
print(dt.datetime.now().time(), end=' ')
print(dt.datetime.now().time())
for line in lines:
print(line, end=' ')
print(line)
print()

def _add(self, sprite, index = None):
Expand Down
2 changes: 1 addition & 1 deletion data/apx.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Type=Application
Terminal=false
Name=APX
Comment=APX - a QIX clone
Icon=/usr/share/apx/icons/apx.svg
Icon=/usr/share/icons/hicolor/scalable/apx.svg
Exec=/usr/bin/apx
Categories=GNOME;GTK;Games;
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def build_module(self, module, module_file, package):
packages=['apx', 'apx.lib'],
scripts=['bin/apx'],
data_files= [
('share/apx/icons', ['data/apx.svg']),
('share/icons/hicolor/scalable', ['data/apx.svg']),
('share/fonts/04b03', ['data/04b03.ttf', 'data/04b03_LICENSE',]),
('share/apx', ['data/apx.sqlite']),
('share/appdata', ['data/apx.appdata.xml']),
Expand Down

0 comments on commit edd3fa3

Please sign in to comment.