After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 577685 - GtkBuildable implementation for TreeStore
GtkBuildable implementation for TreeStore
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-02 05:32 UTC by Robert Ancell
Modified: 2009-04-06 15:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Simple treestore .ui file that cannot be loaded by GTK+ (390 bytes, application/octet-stream)
2009-04-02 05:33 UTC, Robert Ancell
Details

Description Robert Ancell 2009-04-02 05:32:25 UTC
Glade-3 allows treestores to have data, however GTK+ does load the generated UI file because it does not handle the <data>.

Ubuntu bug:
https://bugs.edge.launchpad.net/ubuntu/+source/gtk+2.0/+bug/345989
Comment 1 Robert Ancell 2009-04-02 05:33:22 UTC
Created attachment 131894 [details]
Simple treestore .ui file that cannot be loaded by GTK+

Generated by opening Glade 3.6.0, adding a treestore, adding a column, adding data for that column.
Comment 2 Johan (not receiving bugmail) Dahlin 2009-04-02 13:40:13 UTC
The glade file above is incorrect, it treats a GtkTreeStore as a GtkListStore.
Glade should not generate <data> tags for GtkTreeStores at all.

The data specification for a GtkTreeStore will be slightly different from a GtkListStore since rows can have parents.
Comment 3 Robert Ancell 2009-04-02 22:54:01 UTC
So there are two issues here?

1) There is no specification for GtkTreeStore data
2) The data Glade is generating is both unspecified and is not likely to be like the specification
Comment 4 Tristan Van Berkom 2009-04-03 02:51:50 UTC
  I would guess that the treestore implementation would
be the same except allow nested row declarations, however
this was my error to include the "data" editor on treestores 
so they will disappear in Glade 3.6.1 (by) GNOME 2.26.1.

Comment 5 Robert Ancell 2009-04-03 06:00:52 UTC
OK, reassigning back to Glade :)
Comment 6 Tristan Van Berkom 2009-04-06 15:50:40 UTC
Disabling 'data' property for treestores now (committing and
hopefully getting a tarball out...)