[Glade-users] Single instance of "about"

Rajarshi Guha rajarshi@presidency.com
23 Jun 2003 11:33:03 -0400


On Mon, 2003-06-23 at 10:43, Ahmad Al-rasheedan wrote:
> The project I am working on has "about" button. The problem
> I have is it will fire up the about & credits window every time
> I click on "about" button. 

Is'nt that what should be happening?

> I read in a totorial to remove the code
> from main.c to callbacks.c. I checked and there was nothing
> pertaining to the button under main.c. Any clue how to control
> the multiple abouts?

main.c is supposed to only create the toplevel window (at least thats
what happens with Glade2 on my system). The callback for the About
button should be callbacks.c


-------------------------------------------------------------------
Rajarshi Guha <rajarshi@presidency.com> <http://jijo.cjb.net>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9 E634 9B87 56EE
-------------------------------------------------------------------
My Ethicator machine must have had a built-in moral compromise spectral
phantasmatron! I'm a genius."
-Calvin