aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Python/library/Zinc.py.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/Python/library/Zinc.py.in b/Python/library/Zinc.py.in
index 799e960..cc7d425 100644
--- a/Python/library/Zinc.py.in
+++ b/Python/library/Zinc.py.in
@@ -48,10 +48,7 @@ if nok : return 0 '''
global _VERSION
if (_LIBLOADED==1) : return _VERSION
try:
- if sys.platform == "win32":
- window.tk.call('eval', 'package require Tkzinc')
- else:
- window.tk.call('load', 'Tkzinc@MAJOR_VERSION@.@MINOR_VERSION@.@PATCHLEVEL@.so')
+ window.tk.call('eval', 'package require Tkzinc')
# Call a function from the package to autoload it
# and verify that all is OK.
sversion = window.tk.call('zinc') + " Zinc.py %s" % __version__
@@ -124,7 +121,7 @@ class Zinc(Widget):
The command has no effect if no item satisfy
the given criteria. The command returns an empty string.
"""
- self.tk.call(self._w, 'addtag', args)
+ self.tk.call(self._w, 'addtag', *args)
def addtag_above(self, newtag, tagOrId):
"""