1
0
Fork 0
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:
skomoroh 2006-09-22 21:07:16 +00:00
parent 0efca9a28a
commit 3baf551f7f
8 changed files with 675 additions and 614 deletions

View file

@ -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"

File diff suppressed because it is too large Load diff

View file

@ -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"

File diff suppressed because it is too large Load diff

View file

@ -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",

View file

@ -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,

View file

@ -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

View file

@ -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()