Re: gnome-session: custom per-app icon
- From: Håvard Wigtil <havardw stud ntnu no>
- To: "Sergey V. Oudaltsov" <sergey oudaltsov clients ie>
- Cc: Gnome Desktop Development <desktop-devel-list gnome org>
- Subject: Re: gnome-session: custom per-app icon
- Date: 22 Mar 2003 23:10:02 +0100
On Sat, 2003-03-22 at 22:30, Sergey V. Oudaltsov wrote:
> > 1. Try to find a desktop file that matches the binary name, the
> > code from the run dialog can be used. The icon from the desktop
> > file should be preferred to the window icon because the desktop
> > icon presumably represents the base state, and some applications
> > (e.g. Evolution and Mozilla) change window icon based on
> > application state.
> Rather expensive thing - to lookup several directories, parse .desktop
> files. Not sure it is good for the session startup (which should be as
> fast as possible).
As Havoc said, you can add the icon as a property to the session when
the session is _saved_, so there is no need to search for the icon in
any way on startup, you just read back the property from the session.
--
Håvard
havardw stud ntnu no||http://www.stud.ntnu.no/~havardw||+47 93 84 64 68
All it takes to start an avalanche is one snowflake||Or a snowboarder
Oh! Un Fraggle! Regarde, maman! J'ai attrap? un Fraggle!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]