Mailinglist Archive: yast-devel (52 mails)

< Previous Next >
[yast-devel] Re: [opensuse-factory] YaST2 Control Center - icon order
  • From: Stefan Hundhammer <sh@xxxxxxx>
  • Date: Wed, 22 Aug 2007 15:03:59 +0200
  • Message-id: <200708221504.00055.sh@xxxxxxx>
On Monday 13 August 2007 10:24, Stanislav Visnovsky wrote:
> Dňa Pi 10. August 2007 23:56 Peter Buschbacher napísal:
> > Can someone tell me what file controls the order of Icons, the Text, and
> > the texts of the bottom 'helpline'. 

That's all in the individual YaST2 modules' .desktop files 
in /usr/share/applications/YaST2 . 

Example (sw_single.desktop):

[Desktop Entry]
Type=Application
Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Software;

X-KDE-ModuleType=Library
X-KDE-RootOnly=true
X-KDE-HasReadOnlyMode=true
X-KDE-Library=yast2
X-SuSE-YaST-Call=sw_single

X-SuSE-YaST-Group=Software
X-SuSE-YaST-Argument=
X-SuSE-YaST-RootOnly=true
X-SuSE-YaST-AutoInst=
X-SuSE-YaST-Geometry=
X-SuSE-YaST-SortKey=20
X-SuSE-YaST-AutoInstResource=

Icon=yast-sw_single
Exec=/sbin/yast2 sw_single

Name=Software Management
GenericName=Install additional software packages or remove installed packages
X-KDE-SubstituteUID=true


The X-SuSE-YaST-SortKey entry controls the sort order. #
"Name" and "GenericName" are translated to your locale via "gettext" 
using /usr/share/locale/$LANG/LC_MESSAGES/desktop_translations.mo .


HTH
-- 
Stefan Hundhammer <sh@xxxxxxx>                Penguin by conviction.
YaST2 Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Nürnberg, Germany
-- 
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
References