[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnue/navigator/src UIwxweb.py
From: |
Jason Cater |
Subject: |
gnue/navigator/src UIwxweb.py |
Date: |
Tue, 04 Jun 2002 17:03:54 -0400 |
CVSROOT: /cvsroot/gnue
Module name: gnue
Changes by: Jason Cater <address@hidden> 02/06/04 17:03:54
Modified files:
navigator/src : UIwxweb.py
Log message:
fix for web driver
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnue/gnue/navigator/src/UIwxweb.py.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
Patches:
Index: gnue/navigator/src/UIwxweb.py
diff -c gnue/navigator/src/UIwxweb.py:1.4 gnue/navigator/src/UIwxweb.py:1.5
*** gnue/navigator/src/UIwxweb.py:1.4 Wed Feb 13 15:38:42 2002
--- gnue/navigator/src/UIwxweb.py Tue Jun 4 17:03:53 2002
***************
*** 46,53 ****
EVT_CLOSE(self.frame,self.OnClose)
self.frame.Show(true)
self.htmlpanel = MyHtmlWindow(self, self.frame, -1)#,
style=wxHW_SCROLLBAR_NEVER)
- # self.htmlpanel = MyHtmlWindow(self.frame, -1)#,
style=wxHW_SCROLLBAR_NEVER)
- self.htmlpanel.OnLinkClicked = self.OnLinkClicked
self.buildMenu(self.processes)
return 1
--- 46,51 ----
***************
*** 68,74 ****
html += self.getHtmlMenu(url, text)
elif child._type == 'GNStep':
! url = '%s' % (child.type, id(child))
html += self.getHtmlStep(url, child.description, child.type)
self.selections['%s' % id(child)] = child
--- 66,72 ----
html += self.getHtmlMenu(url, text)
elif child._type == 'GNStep':
! url = '%s' % id(child)
html += self.getHtmlStep(url, child.description, child.type)
self.selections['%s' % id(child)] = child
***************
*** 82,88 ****
def OnLinkClicked(self, event):
- print "Here!"
self.beginWait()
object = self.selections[event.GetHref()]
if object._type == 'GNStep':
--- 80,85 ----
***************
*** 133,139 ****
return """
<tr%s><td><a href="%s">%s</a></td></tr>
! """ % (shading,url, description)
# Called whenever forms goes into a "wait" state in which user cannot
# interact with interface (e.g., while waiting for a query or a commit)
--- 130,136 ----
return """
<tr%s><td><a href="%s">%s</a></td></tr>
! """ % (shade,url, description)
# Called whenever forms goes into a "wait" state in which user cannot
# interact with interface (e.g., while waiting for a query or a commit)
***************
*** 151,159 ****
def __init__(self, instance, *args, **params):
self.instance = instance
wxHtmlWindow.__init__(self, *args, **params)
- print "I am a MyHTMLWindow instance"
def OnLinkClicked(self, linkinfo):
print "Something happened"
! self.instance.OnLinkClicked(event)
--- 148,155 ----
def __init__(self, instance, *args, **params):
self.instance = instance
wxHtmlWindow.__init__(self, *args, **params)
def OnLinkClicked(self, linkinfo):
print "Something happened"
! self.instance.OnLinkClicked(linkinfo)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gnue/navigator/src UIwxweb.py,
Jason Cater <=