put text beside Main menu icon

Brian J. Tarricone bjt23 at cornell.edu
Sun Apr 10 23:25:55 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joe Crawford wrote:
>>I have no problem with putting some text in the button, but I can't load
>>your icon (just sits there trying to connect and eventually times out).
> 
> 
> Hmmm, I just tried and it works. Perhaps try again?
> 
> http://www.joetainment.com/Plone/MenuIcons.png
> 
> It just said "Start" after the icon for one, and Menu after the icon
> for another.

Yeah, works ok now.  Strange.

>>However, assuming you've put the text in the pixmap itself, that's a
>>definite no-no, as it makes it impossible to localise it to different
>>languages without creating a new button for each language (not the right
>>approach, IMO).
> 
> Lol... that's exactly what I did, but I just intended it as an
> example. You have a good point about keeping the text seperate.
> 
> So in that case, don't even change the icon, just put a piece of text
> beside it (to its right) by default. (It would be a good option to
> allow the user to turn off the text in the menu's options, then people
> who liked it the old way can switch back. Kill two birds with one
> stone!)
> 
> Does that work?

Possibly this can be set up like a normal toolbar button, so it'll
follow the gtk default of whether or not to have text/icon/text+icon
show on the button

Please file a feature request on bugzilla.xfce.org; I'm not likely to
get to this for a little while, and I'll probably forget about it.

	-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCWZnj6XyW6VEeAnsRAn+zAJwOAkdYuQekfP3D+bJinSXwFC4eeQCgvwkI
htwl+rU5N1V4QcCFid5ilHo=
=GgA3
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list