Share

gtk2-perl

Tracker: Patches

5 Gtk2-GladeXML-1.00-examples2.ter - ID: 979266
Last Update: Comment added ( muppetman )

I tried to fix some problems in ./Gtk2-GladeXML-1.00/examples/

Type the following:

patch ./Gtk2-GladeXML-1.00/examples/fileman.pl ./fileman-fixed.diff
patch ./Gtk2-GladeXML-1.00/examples/scribble.pl ./scribble-fixed.diff

and tell me if it's run better.

bye !

Sorry for the bad :
Gtk2-GladeXML-1.00-examples2.bis

Fabrice



Nobody/Anonymous ( nobody ) - 2004-06-24 20:57

5

Closed

Fixed

Nobody/Anonymous

Widget (example)

gtk2-perl

Public


Comment ( 1 )




Date: 2004-07-19 22:08
Sender: muppetmanProject Admin

Logged In: YES
user_id=639138

the problem with the scribble example appears to be that
since the window is marked visible in the glade file; it
appears that the window is being created before the
configure_event handler gets connected. if i mark the
window not visible and then ->show it manually in the
script, everything happens as expected.

another option is just to call configure_event() from
expose_event() when the pixmap is not set. this appears to
be the simplest.

what i don't like about the patch is that it duplicates the
code from configure_event(). thanks for the patch, though.


Log in to comment.

Attached File ( 1 )

Filename Description Download
scribble-fixed.diff a patch for scribble.pl Download

Changes ( 4 )

Field Old Value Date By
status_id Open 2004-07-19 22:08 muppetman
resolution_id None 2004-07-19 22:08 muppetman
close_date - 2004-07-19 22:08 muppetman
File Added 91800: scribble-fixed.diff 2004-06-24 20:57 nobody