Re: gnome-session: custom per-app icon



Hi Sergey,
	Apologies for not replying before now - I was away.

	The patch looks fine for 2.2 and HEAD - in fact I thought someone else
had already done this. Pleas go ahead and commit.

	And sure, this is far from the best way to do it - but it'll do until
some come's up with a better patch.

Thanks,
Mark.

On Wed, 2003-03-19 at 21:04, Sergey V. Oudaltsov wrote:
> Hi all
> 
> Some while ago, I asked the question regarding custom gnome-splash icons
> for gnome-session. It was in TODO list. It is now still there. The RIGHT
> way to do this thing is to modify libgnomeui (gnome-client stuff) to add
> the icon into the session record properties. Since this is a long way
> (and will break API and/or ABI compatibility), I offer not-so-bad
> solution with just 2 lines of code.
> 
> This patch just takes the name of the executable (basename variable) and
> looks for the icon with same name (and any supported extension:
> png/gif/xpm).
> 
> And as a "last resort", good old gnome-unknown.png will still be used. I
> checked the version from CVS - it works perfectly OK for me with this
> patch.
> 
> Could please any of gnome-session owners review these 2 lines and submit
> if possible? Since the solution with the session property is rather
> expensive (in terms of interfaces breakage and modified code) and I see
> no real world situations where appname.png icon is a bad convention - I
> do not think this solution is too bad for its price.
> 
> The patch is against HEAD but I'd love to see it in 2.2 branch too...
> 
> Cheers,
> 
> -- 
> Sergey




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]