aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJakob Petsovits <jpetso@gmx.at>2008-01-02 16:13:34 +0000
committerJakob Petsovits <jpetso@gmx.at>2008-01-02 16:13:34 +0000
commit6c38beaf3d8a130ad0ee3444362e0b32fafe9a7b (patch)
tree260e3015820be2491d1c06397772dbbffec374c4 /modules
parent991e46dbb018ef6251d569c0d46f1236655919c1 (diff)
downloadextra-cmake-modules-6c38beaf3d8a130ad0ee3444362e0b32fafe9a7b.tar.gz
extra-cmake-modules-6c38beaf3d8a130ad0ee3444362e0b32fafe9a7b.tar.bz2
Add missing icon contexts to the kde4_install_icons() macro.
In case you didn't know it (I didn't as of a few minutes ago): You can use the exact icon context names in the filenames of your installed icons. If you ever wondered where the "app" in ox22-app-mykdeapplication.png came from: that's just KDE 3 compatibility. Using the real name of the context, "apps", works just as well: ox22-apps-mykdeapplication.png (This also works with "actions", "status", "places" and whatever icon contexts the icon naming specification defines.) svn path=/trunk/KDE/kdelibs/; revision=756013
Diffstat (limited to 'modules')
-rw-r--r--modules/KDE4Macros.cmake6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake
index f511fe6a..4f4e0a9f 100644
--- a/modules/KDE4Macros.cmake
+++ b/modules/KDE4Macros.cmake
@@ -385,14 +385,18 @@ set(_KDE4_ICON_GROUP_filesys "places")
set(_KDE4_ICON_GROUP_device "devices")
set(_KDE4_ICON_GROUP_app "apps")
set(_KDE4_ICON_GROUP_action "actions")
-# KDE 4 compatibility
+# KDE 4 / icon naming specification compatibility
set(_KDE4_ICON_GROUP_mimetypes "mimetypes")
set(_KDE4_ICON_GROUP_places "places")
set(_KDE4_ICON_GROUP_devices "devices")
set(_KDE4_ICON_GROUP_apps "apps")
set(_KDE4_ICON_GROUP_actions "actions")
set(_KDE4_ICON_GROUP_categories "categories")
+set(_KDE4_ICON_GROUP_status "status")
set(_KDE4_ICON_GROUP_emblems "emblems")
+set(_KDE4_ICON_GROUP_emotes "emotes")
+set(_KDE4_ICON_GROUP_animations "animations")
+set(_KDE4_ICON_GROUP_intl "intl")
# a "map" of short theme names to the theme directory
set(_KDE4_ICON_THEME_ox "oxygen")