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 99788 - Toolbar icons all the same
Toolbar icons all the same
Status: RESOLVED FIXED
Product: libgnomeuimm
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2002-11-28 06:04 UTC by Pierre Sarrazin
Modified: 2011-01-16 23:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Pierre Sarrazin 2002-11-28 06:04:08 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
Comment 1 Murray Cumming 2002-12-09 13:27:38 UTC
Confirmed.
Comment 2 Murray Cumming 2002-12-17 15:01:34 UTC
The fix in bug #98869, already in cvs, makes this slightly clearer.
Now all icons apart from the last one are blank.
Comment 3 Matthew Tuck 2002-12-18 05:19:29 UTC
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.
Comment 4 Murray Cumming 2002-12-25 21:37:35 UTC
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.