From 6bda6d05ac37595aaf0ca3543bb068169ca8295f Mon Sep 17 00:00:00 2001 From: alexl Date: Thu, 5 Feb 2004 15:01:16 +0000 Subject: 0.7 --- spec/icon-theme-spec.xml | 54 ++++++++++++++++++++++++++++++++++++------------ 1 file changed, 41 insertions(+), 13 deletions(-) diff --git a/spec/icon-theme-spec.xml b/spec/icon-theme-spec.xml index 82e3593..0fe4798 100644 --- a/spec/icon-theme-spec.xml +++ b/spec/icon-theme-spec.xml @@ -5,8 +5,8 @@
Icon Theme Specification - Version 0.6 - December 2 2002 + Version 0.7 + September 22 2003 Alexander @@ -80,8 +80,9 @@ Directory Layout Icons and themes are looked for in a set of directories. By - default, apps should look in $HOME/.icons, /usr/share/icons and - /usr/share/pixmaps (in that order). Applications may further add + default, apps should look in $HOME/.icons (for backwards compatibility), + in $XDG_DATA_DIRS/icons and in /usr/share/pixmaps (in that order). + Applications may further add their own icon directories to this list, and users may extend or change the list (in application/desktop specific ways).In each of these directories themes are stored as subdirectories. A theme can @@ -95,7 +96,7 @@ This name is chosen for backwards compatibility with the old KDE default theme. The data for the hicolor theme is availible for download at: - http://www.freedesktop.org/standards/icon-theme-spec.html. + http://www.freedesktop.org/software/icon-theme/. Implementations are required to look in the "hicolor" theme if an icon was not found in the current theme. @@ -190,7 +191,7 @@ specified theme and the hicolor theme. - strings + strings NO @@ -200,7 +201,7 @@ subdirectory there must be a section in the index.theme file describing that directory. - strings + strings YES @@ -210,7 +211,7 @@ This is used for things such as fallback-themes that are not supposed to be visible to the user. - boolean + boolean NO @@ -281,7 +282,7 @@ directory can be scaled to. Defaults to the value of Size if not present. - string + integer NO Scalable @@ -292,7 +293,7 @@ directory can be scaled to. Defaults to the value of Size if not present. - string + integer NO Scalable @@ -303,7 +304,7 @@ at most this much from the desired size. Defaults to 2 if not present. - string + integer NO Threshold @@ -419,7 +420,7 @@ for each subdir in $(theme subdir list) { for each directory in $(basename list) { for extension in ("png", "svg", "xpm") { if DirectoryMatchesSize(subdir, size) { - filename = directory/$(themename)/subdirectory/iconname.extension + filename = directory/$(themename)/subdir/iconname.extension if exist filename return filename } @@ -431,7 +432,7 @@ minimal_size = MAXINT for each subdir in $(theme subdir list) { for each directory in $(basename list) { for extension in ("png", "svg", "xpm") { - filename = directory/$(themename)/subdirectory/iconname.extension + filename = directory/$(themename)/subdir/iconname.extension if exist filename and DirectorySizeDistance(subdir, size) < minimal_size closest_filename = filename minimal_size = DirectorySizeDistance(subdir, size) @@ -592,6 +593,33 @@ AttachPoints=20,20|40,40|50,10|10,50 Change history + + Version 0.7, 13 September 2003, Heinrich Wendel + + + + + Convertet to basedir spec. + + + + + Changed type of MaxSize, MinSize and Threshold to integer. + + + + + Removed typo in code example. + + + + + Corrected path to default-icon-theme. + + + + + Version 0.6, 2 December 2002, Alexander Larsson -- cgit