 |
| View previous topic :: View next topic |
| Author |
Message |
codestorm
Joined: 08 Jul 2006 Posts: 4 Location: Australia
|
Posted: Thu May 31, 2007 7:03 pm Post subject: Problem with PHP-GTK application and Glade |
|
|
I was curious if anyone has had any experience developing PHP-GTK applications for Gnome with Glade.
I'm currently in the early the stages of putting together a PHP-GTK frontend for a command-line application, and I'm having the following problem.
When I attempt to execute my script, I get this error:
| Code: | $ php guamachi.php
GnomeUI-ERROR **: You must call gnome_program_init() before creating a GnomeApp
aborting...
Aborted (core dumped)
|
From what I can tell, this is because I've created my Glade project as a Gnome Application. I've done this so that it follows the Gnome HIG and uses it's cool menus (bonobo) and about-dialog.
I tried calling the gnome_program_init() method, but it's not a part of PHP-GTK. Is there anything I can add to the script, or to the Glade file to get it to work? |
|
| Back to top |
|
 |
marc
Joined: 11 May 2006 Posts: 12 Location: Toulouse - France
|
Posted: Wed Jun 06, 2007 12:45 pm Post subject: |
|
|
hello,
I use glade, but never used Gnome projets from Glade. Sorry. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
 |