gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r10775: Fix function calls


From: Sandro Santilli
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10775: Fix function calls
Date: Mon, 06 Apr 2009 11:39:28 +0200
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10775
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Mon 2009-04-06 11:39:28 +0200
message:
  Fix function calls
modified:
  pythonmodule/gnashPythonExample.py
=== modified file 'pythonmodule/gnashPythonExample.py'
--- a/pythonmodule/gnashPythonExample.py        2009-04-06 09:30:04 +0000
+++ b/pythonmodule/gnashPythonExample.py        2009-04-06 09:39:28 +0000
@@ -95,7 +95,7 @@
 # calculated by Gnash.
 
 # Turn verbosity on to send debug messages to stdout and the logfile.
-player.setVerbose(True)
+player.setVerbosity(2)
 # This can't be turned off at the moment.
 
 # You can also make time pass in an instant:
@@ -106,12 +106,12 @@
 
 # Move the pointer to the specified co-ordinates. Returns true if the
 # action requires a redraw.
-if player.movePointer(x,y):
+if player.movePointer(10,20):
     render(False)
 
 # Click the mouse at the current pointer position. True if the action
 # requires a redraw.
-if player.clickMouse():
+if player.mouseClick():
     render(False)
 
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]