Hi,
In my app (www.giuspen.com/cherrytree) I have a textview under a menubar.
In the textbuffer there is a hyperlink to web page on the first row,
nothing else:


menu1 | menu2 | menu3...
---------------------------------
*hyperlink in textview*

--------------------------------
toolbar


On* windows only*, if I click on the hyperlink, the browser displays the
webpage
and then if I go back to the app window and click on a menu item of the
menubar (out of the textview)
the app opens new web link same as the first clicked.
going back again to the app window and clicking on a menu item of the
menubar, still same
result: open another same web page linked from the hyperlink.

the weird is that the link_clicked is called only on from a function
connected to the textview:

self.sourceview.connect("event-after", self.*on_sourceview_event_after*)

note that I'm using sourceview which inherits from textview.

I's weird that a click on the menu bar goes to the textview.

I'm searching for a workaround but don't know what to do... move the focus
away from the
textview just before opening the web page link didn't help.

Cheers,
Giuseppe.
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to