[Glade-devel] Glade-3 bug, or wrong understanding of what should happen ?
- From: philippe.bertin at telenet.be (Philippe Bertin)
- Subject: [Glade-devel] Glade-3 bug, or wrong understanding of what should happen ?
- Date: Thu, 26 Oct 2006 16:49:04 +0200
Hello,
I am trying to understand why in glade-3, for a GtkButton, in the
Properties window, the tooltip shows wrongly for the property 'stock
button' : it shows the text "This only applies with stock type buttons".
This seems to be coming from glade-gtk.c, line 2951. However, in
gtk+.xml there is an apparent 'override' (?) :
<glade-widget-class name="GtkButton" generic-name="button" title="Button">
...
<property save="False" id="stock" name="Stock Button">
<spec>glade_standard_stock_spec</spec>
<tooltip>The stock item for this button</tooltip>
<set-function>glade_gtk_button_set_stock</set-function>
</property>
...
So one would expect the tooltip to textually read "The stock item for
this button". How come it doesn't read like it ? Because if one looks in
glade-3 some properties further down, the property called "response-id"
is correctly reflected in glade-3 (according to gtk+.xml's contents) :
<property ignore="True" id="response-id" default="0" common="False"
name="Response ID">
<spec>glade_standard_int_spec</spec>
<tooltip>The response ID of this button in a dialog (it's NOT
useful if this button is not in a GtkDialog)</tooltip>
</property>
Is this a bug ? Or is this some combination of tags (and their values)
that makes the gtk+.xml- file's text not to be considered ? If it is a
bug, where is it eventually to be corrected (knowing it may eventually
make me find new similar bugs) ? Where is this behaviour described ?
Kind regards,
PhB
P.S. I currently am working with version glade3-3.0.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]