mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
* bugs fixes
git-svn-id: file:///home/shlomif/Backup/svn-dumps/PySolFC/svnsync-repos/pysolfc/PySolFC/trunk@70 efabe8c0-fbe8-4139-b769-b5e6d273206e
This commit is contained in:
parent
0efca9a28a
commit
3baf551f7f
8 changed files with 675 additions and 614 deletions
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PySol 0.0.1\n"
|
||||
"POT-Creation-Date: Tue Aug 22 21:32:47 2006\n"
|
||||
"POT-Creation-Date: Thu Sep 21 15:56:22 2006\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
636
po/pysol.pot
636
po/pysol.pot
File diff suppressed because it is too large
Load diff
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PySol 0.0.1\n"
|
||||
"POT-Creation-Date: Tue Aug 22 21:32:47 2006\n"
|
||||
"POT-Creation-Date: Thu Sep 21 15:56:22 2006\n"
|
||||
"PO-Revision-Date: 2006-09-17 17:05+0400\n"
|
||||
"Last-Translator: Скоморох <skomoroh@gmail.com>\n"
|
||||
"Language-Team: Russian <ru@li.org>\n"
|
||||
|
|
637
po/ru_pysol.po
637
po/ru_pysol.po
File diff suppressed because it is too large
Load diff
|
@ -50,7 +50,7 @@ EVENT_PROPAGATE = 0
|
|||
|
||||
CURSOR_DRAG = gdk.HAND1
|
||||
CURSOR_WATCH = gdk.WATCH
|
||||
CURSOR_UP_ARROW = gdk.SB_UP_ARROW
|
||||
CURSOR_DOWN_ARROW = gdk.SB_DOWN_ARROW
|
||||
|
||||
TOOLBAR_BUTTONS = (
|
||||
"new",
|
||||
|
|
|
@ -100,7 +100,7 @@ from util import ACE, KING, SUITS
|
|||
from util import ANY_SUIT, ANY_COLOR, ANY_RANK, NO_RANK
|
||||
from util import NO_REDEAL, UNLIMITED_REDEALS, VARIABLE_REDEALS
|
||||
from pysoltk import EVENT_HANDLED, EVENT_PROPAGATE
|
||||
from pysoltk import CURSOR_DRAG, CURSOR_UP_ARROW, ANCHOR_NW, ANCHOR_SE
|
||||
from pysoltk import CURSOR_DRAG, CURSOR_DOWN_ARROW, ANCHOR_NW, ANCHOR_SE
|
||||
from pysoltk import bind, unbind_destroy
|
||||
from pysoltk import after, after_idle, after_cancel
|
||||
from pysoltk import MfxCanvasGroup, MfxCanvasImage, MfxCanvasRectangle, MfxCanvasText, MfxCanvasLine
|
||||
|
@ -1022,7 +1022,7 @@ class Stack:
|
|||
if self.game.app.opt.mouse_type == 'point-n-click':
|
||||
if self.acceptsCards(self.game.drag.stack,
|
||||
self.game.drag.cards):
|
||||
self.game.canvas.config(cursor=CURSOR_UP_ARROW)
|
||||
self.game.canvas.config(cursor=CURSOR_DOWN_ARROW)
|
||||
self.cursor_changed = True
|
||||
else:
|
||||
after_idle(self.canvas, self.game.showHelp,
|
||||
|
|
|
@ -39,7 +39,7 @@ __all__ = ['tkversion',
|
|||
'EVENT_PROPAGATE',
|
||||
'CURSOR_DRAG',
|
||||
'CURSOR_WATCH',
|
||||
'CURSOR_UP_ARROW',
|
||||
'CURSOR_DOWN_ARROW',
|
||||
'ANCHOR_CENTER',
|
||||
'ANCHOR_N',
|
||||
'ANCHOR_NW',
|
||||
|
@ -84,7 +84,7 @@ EVENT_PROPAGATE = None
|
|||
|
||||
CURSOR_DRAG = "hand1"
|
||||
CURSOR_WATCH = "watch"
|
||||
CURSOR_UP_ARROW = 'sb_up_arrow'
|
||||
CURSOR_DOWN_ARROW = 'sb_down_arrow'
|
||||
|
||||
ANCHOR_CENTER = Tkinter.CENTER
|
||||
ANCHOR_N = Tkinter.N
|
||||
|
|
|
@ -177,7 +177,7 @@ def create_widgets():
|
|||
#
|
||||
root = Tk()
|
||||
#
|
||||
list_box = Listbox(root)
|
||||
list_box = Listbox(root, exportselection=False)
|
||||
list_box.grid(row=0, column=0, rowspan=2, sticky=NS)
|
||||
cardsets_list = list(cardsets_dict)
|
||||
cardsets_list.sort()
|
||||
|
|
Loading…
Add table
Reference in a new issue