Ben Pfaff <[email protected]> writes:
> Hi John, I am getting the following warning from GtkBuilder
> immediately at PSPPIRE startup:
>
> Gtk-CRITICAL **: gtk_label_set_label: assertion `str != NULL' failed
> aborting...
I've tracked this down to two missing "label" properties in the
generated .ui file. If I apply the following patch to the
installed file, I don't get the warnings:
--- /usr/local/share/pspp/data-editor.ui 2009-03-08 14:31:00.000000000
-0700
+++ data-editor.ui 2009-03-08 14:30:41.000000000 -0700
@@ -103,6 +103,7 @@
<child>
<object class="GtkAction" id="edit_goto-case">
<property name="name">edit_goto-case</property>
+ <property name="label">Goto Case</property>
</object>
</child>
<child>
@@ -138,6 +139,7 @@
<child>
<object class="GtkAction" id="edit_find">
<property name="name">edit_find</property>
+ <property name="label">Find</property>
</object>
</child>
<child>
The distinguishing feature of these menu items seems to be that
they are GtkImageMenuItems that do not have a stock icon
selected. If I edit them in Glade and select a stock icon, then
I do not get the warning (and the correct icon is shown, not the
stock icon).
--
"In this world that Hugh Heffner had made,
he alone seemed forever bunnyless."
--John D. MacDonald
_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev