GNOME Bugzilla – Bug 99788
Toolbar icons all the same
Last modified: 2011-01-16 23:41:44 UTC
Compile and run the gnome-hello example in libgnomeuimm-1.3.11. The three toolbar buttons have the same icon. It is the icon of the last element added to the vector<Info> before it is passed to create_toolbar() [in file application.cc]. My system: RedHat 7.2 gcc 2.96-112.7.2 glib2 2.0.7.0.200210290744-0.snap.ximian.1 gtk2 2.0.6.0.200209270739-0.snap.ximian.1 libgnome 2.0.2.0.200208181945-0.snap.ximian.1 libgnomeui 2.0.3.0.200208181945-0.snap.ximian.1 gtkmm 2.0.0 libgnomemm 1.3.7 libgnomeuimm 1.3.11
Confirmed.
The fix in bug #98869, already in cvs, makes this slightly clearer. Now all icons apart from the last one are blank.
Pretty sure I see this in Visage too which uses Bakery, but never got around to hunting down what on my system was causing it. I'm not sure what bug #98869 has to do with it though, I don't see blank icons, although I'm only running 1.3.11 patched with that fix.
2002-12-25 Murray Cumming <murrayc@usa.net> * libgnomeui/libgnomeuimm/app-helper.[h|cc]: Store the Icon information (stock_id, filename, or data) in the shared InfoData instance, like the label and hint already are. Previously the stock_id's c_str() was kept around longer than the stock_id string itself. This also allows use of non static filename strings for icons.