This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Cygwin gdb-20020411-1 HelpViewer does not display images


While trying to use the recently released Cygwin gdb I noticed that
the internal helpviewer does not display images. It shows
the 'broken image' on all places a gif is referenced.

The internal helpviewer uses the Scrolledhtml class.
Thic class inherits from the Scrolledtext class.
The Scrolledtext class has a public method called 'image'.
(this method did not exist in older gdb releases)
So all unqualified image commands in Scrolledhtml will use
Scrolledtext::image instead of the plain Tk image command.

Deleting the image method in Scrolledtext makes all the images
appear again in the helpviewer.
This is a 'quick & dirty' fix. The better approach (probably) is
to replace all reference to image in Scrolledhtml with ::image
to make the reference to the plain Tk image command explicit.

So, itcl/itk gurus, what is the 'correct' fix to this problem ?
I am happy to submit a patch either way.
Waiting for feedback.

Ton van Overbeek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]