gnope php gtk gui gnope.org  

Glade warning = ?

 
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners
View previous topic :: View next topic  
Author Message
beidlerj



Joined: 10 Feb 2006
Posts: 55
Location: Oregon, USA

PostPosted: Fri Sep 01, 2006 3:34 am    Post subject: Glade warning = ? Reply with quote

Hello -

I'm seeing about a dozen of these things in my output window. What does it mean, and how do I fix it?

Code:
(PhotoMGR.php:3880): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow'


Thanks in advance,

Jeff
Back to top
cweiske



Joined: 08 Dec 2005
Posts: 454
Location: Leipzig/Germany

PostPosted: Fri Sep 01, 2006 7:31 am    Post subject: Reply with quote

Could be
a) you're using a gtk version that doesn't like the generated glade code
b) you're using a glade version which generates code that your gtk doesn't understand.

Which Gtk+ and Glade version are you using?
Back to top
syn



Joined: 12 May 2006
Posts: 46
Location: Hamburg

PostPosted: Fri Sep 01, 2006 7:13 pm    Post subject: Reply with quote

Hi, i´ve got the same errors Smile Is there any way, to mute these libglad-warnigs?

(ecc.php:416): libglade-WARNING **: unknown property `urgency_hint' for class `GtkWindow'
Back to top
beidlerj



Joined: 10 Feb 2006
Posts: 55
Location: Oregon, USA

PostPosted: Sat Sep 02, 2006 12:19 am    Post subject: Reply with quote

cweiske wrote:
Could be
a) you're using a gtk version that doesn't like the generated glade code
b) you're using a glade version which generates code that your gtk doesn't understand.

Which Gtk+ and Glade version are you using?


I downloaded the most recent package from gladewin32.sourceforge.net, but I was re-using a Glade file from an app I had made in the first couple months of this year... maybe the newer Glade I installed on my machine (at home) doesn't like the old Glade file?
Back to top
asnth



Joined: 31 Aug 2006
Posts: 7

PostPosted: Mon Sep 04, 2006 1:14 pm    Post subject: Reply with quote

I'm having the same problem. Using the latest gnope 1.5.1 and the latest glade for windows 2.8.18

leon_pegg suggested:

Quote:
open your .glade file in a text editor look for the propoty on all windows and delete the entry.


which looks like this:

<property name="urgency_hint">False</property>

I can't find how to get rid of this from inside glade. However for a really bad band-aid fix you could put some code just before the glade file is called, search for this line and remove it
Back to top
cweiske



Joined: 08 Dec 2005
Posts: 454
Location: Leipzig/Germany

PostPosted: Mon Sep 04, 2006 1:36 pm    Post subject: Reply with quote

You should look at the version number of glade, it's 2.8.x. The gtk version supported by php-gtk2 is 2.6.9, so gtk 2.8 might have introduced a property that is not understood by gtk 2.6.9
Back to top
Display posts from previous:   
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group
Templates enhanced by DigiWiki. Hosting by Tradebit.