Alexandre Detiste
148f189a74
trim usage of six ( #382 )
...
This is artisanal manual craftwork :-)
def mDone(self, button):
if button == 0: # "OK" or double click
- if isinstance(self.tree.selection_key, six.string_types):
- self.key = str(self.tree.selection_key)
- else:
- self.key = self.tree.selection_key
+ self.key = self.tree.selection_key
2024-09-18 20:33:10 -04:00
Joe R
d15ff23d49
Fix to support equivalent image file extensions
2024-07-28 12:45:24 -04:00
Joe R
a189d42328
Fixed incompatibility error with string types on older versions of Python.
2024-06-11 17:48:13 -04:00
Joe R
bdb62f94b7
Added Fire and Ice game.
2021-10-18 22:25:21 -04:00
Joe R
e64a85ba36
Added Following game.
2021-08-02 18:46:28 -04:00
Joe R
d9c98ae017
Added Accordion's Revenge game.
2021-07-17 09:39:57 -04:00
Juhani Numminen
e1a1a8d169
Retire pysol.xbm & .xpm & the unused code that uses them
2020-03-11 14:57:28 +02:00
Juhani Numminen
e5e60d3232
Load icons from either images/misc or images/icons
2020-02-29 11:40:05 +02:00
Juhani Numminen
f5b1cf0eea
Tk: set window icon
...
make_help_toplevel changed from Tk to Toplevel since Tk creates another
Tcl interpreter, causing errors like this:
'_tkinter.TclError: can't use "pyimage228" as iconphoto: not a photo image'
1024x1024 logo file is renamed because it has large margins on each side
which is unsuitable for a window icon.
2020-02-28 20:16:58 +02:00
Shlomi Fish
8a93f4ba13
Try to fix issue#100.
...
site module is not present.
2019-02-16 21:58:24 +02:00
Shlomi Fish
cebd349e28
compat with py2app - issue #100 .
...
It does not provide site.PREFIXES .
2019-02-16 13:06:02 +02:00
Shlomi Fish
ed18fd8156
Order imports based on flake8-import-order.
...
Tested on ci. See https://github.com/PyCQA/flake8-import-order . In the
process did some other cleanups and
https://en.wikipedia.org/wiki/Code_refactoring .
2019-01-11 23:55:06 +02:00
Ian Zimmerman
ffbc385bfd
Just use ALL site.PREFIXES, though I've never seen more than one
2018-10-21 14:05:34 -07:00
Ian Zimmerman
b488cbceef
Add a little support for installation into a venv
...
Add instructions for installing into a venv
2018-10-21 12:49:18 -07:00
Shlomi Fish
9b4c85cae3
refactor.
2018-03-13 13:40:25 +02:00
Shlomi Fish
af493722c8
Refactoring.
2018-03-13 13:16:49 +02:00
lb@lb520
b5ef9b6214
Added an alternate toolkit kivy (based on SDL2) that can be used instead of tk.
...
Added scripts to build an android app.
2018-03-03 20:37:56 +02:00
Shlomi Fish
b887d6042b
Made flake8 happier.
...
Removed __all__ and stuff - we use explicit imports now.
2017-09-18 13:04:53 +03:00
Shlomi Fish
d36df25456
flake 8
2017-04-19 12:03:44 +03:00
Shlomi Fish
99ef711af1
Change the licenses headers to please flake8.
2017-04-19 12:03:44 +03:00
Shlomi Fish
0785307eb8
Test import of pysollib.util.
2012-11-25 18:00:48 +02:00
Shlomi Fish
308ede18ff
Convert mfxutil and settings imports to pysollib
2012-11-25 17:05:22 +02:00
skomoroh
2744887cd4
* changed comments style
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@243 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-07-22 21:36:22 +00:00
skomoroh
dfe790a101
* changed GPL version to 3
...
* added config-file option sound_sample_buffer_size
* bugfixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@234 efabe8c0-fbe8-4139-b769-b5e6d273206e
2009-06-12 09:32:43 +00:00
skomoroh
2477ad8845
* updated for Tk-8.5/Tile-0.8.0
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@175 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-06-17 21:24:57 +00:00
skomoroh
b643693619
+ human readable config file (~/.PySolFC/options.cfg; options.dat is gone)
...
+ added `custom games' node to select games dialog
* cleanup code
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@170 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-25 21:27:03 +00:00
skomoroh
82002d061f
* updated gtk-binding
...
* updated ru.po
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@168 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-05-19 21:16:57 +00:00
skomoroh
03037a4e80
* added exception block for app.loadOptions
...
* updated dump/undump game
* updated russian translation
* bugfixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@140 efabe8c0-fbe8-4139-b769-b5e6d273206e
2007-02-21 23:31:55 +00:00
skomoroh
c3f3fe3638
+ added SELECT_GAME_MENU setting
...
* misc. improvements and bugs fixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@131 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-27 22:16:00 +00:00
skomoroh
1e0df4b925
+ animated flip
...
* cleanup code
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@128 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-12-21 22:18:22 +00:00
skomoroh
2226957e90
+ new file: pysollib/init.py
...
* improved tile binding
* misc. improvements and bugs fixes
* update ru translation
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@84 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-11-01 23:06:59 +00:00
skomoroh
473b1f7004
- removed pysollib/version.py; moved VERSION* constants to pysollib/settings.py
...
+ added data-files (images and glade-files)
* GTK bindings: fonts-dialog
* GTK bindings: fixed bug with lost connections
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@55 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-08-22 21:09:21 +00:00
skomoroh
df80ec1047
Initial import.
...
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@1 efabe8c0-fbe8-4139-b769-b5e6d273206e
2006-05-26 21:25:18 +00:00