Ugly main menu icon
Alexander Larsson
alexl at redhat.com
Fri Oct 10 07:23:57 UTC 2003
On Thu, 2003-10-09 at 20:30, Owen Taylor wrote:
> OK, figured out what is going on with the blurry main menu icon:
>
> - Panel thinks that the main menu icon is going to be themed
> by the stock icon mechanism
>
> - We don't want the main menu icon themed, so we don't put
> it in Bluecurve.
>
> - The way that the default icon is set for the stock icon
> is that the panel looks up the icon at size 24 in the
> current *icon* theme.
>
> - That used to find only the 48 pixel variant, but Garrett just
> added 16,24,36 variants of the icon, so => extreme ugliness.
>
> I think if we just hack the panel to look up the icon at
> a very large size, it should fix this pretty well -
>
> - filename = gnome_desktop_item_find_icon (
> - panel_icon_theme, stock_icons [i].icon, icon_height, 0);
> + filename = gnome_desktop_item_find_icon (
> + panel_icon_theme, stock_icons [i].icon, 1000, 0);
>
> it may, in a few cases, mean that we scale down rather than
> using the right size icons, but for anything actually in Bluecurve
> it won't matter, since it will go through the normal GTK+ stock
> icon size look up mechanisms.
Yeah, this means all the menu items will use the largest icon scaled
down instead of the 24x24 ones. I dunno if we have any 24x24 icons that
aren't just downscaled 48x48 ones though.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl at redhat.com alla at lysator.liu.se
He's a scrappy zombie grifter who knows the secret of the alien invasion.
She's a mistrustful winged socialite on the trail of a serial killer. They
fight crime!
More information about the fedora-devel-list
mailing list