From 86787633f8440fcb3bd3fd96018134a6c5157e9c Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Mon, 17 Apr 2017 16:44:06 -0600 Subject: cmake-gui: Fix display of icon under Wayland. Fixes: #16797 --- Source/QtDialog/CMake.desktop | 12 ------------ Source/QtDialog/CMakeLists.txt | 2 +- Source/QtDialog/cmake-gui.desktop | 12 ++++++++++++ 3 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 Source/QtDialog/CMake.desktop create mode 100644 Source/QtDialog/cmake-gui.desktop diff --git a/Source/QtDialog/CMake.desktop b/Source/QtDialog/CMake.desktop deleted file mode 100644 index 842091f..0000000 --- a/Source/QtDialog/CMake.desktop +++ /dev/null @@ -1,12 +0,0 @@ -[Desktop Entry] -Version=1.0 -Name=CMake -Comment=Cross-platform buildsystem -Exec=cmake-gui %f -Icon=CMakeSetup -Terminal=false -X-MultipleArgs=false -Type=Application -Categories=Development; -StartupNotify=true -MimeType=application/x-cmakecache; diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt index 10fd718..2e11a8a 100644 --- a/Source/QtDialog/CMakeLists.txt +++ b/Source/QtDialog/CMakeLists.txt @@ -198,7 +198,7 @@ if(UNIX AND NOT APPLE) # install a desktop file so CMake appears in the application start menu # with an icon - install(FILES CMake.desktop + install(FILES cmake-gui.desktop DESTINATION "${CMAKE_XDGDATA_DIR}/applications" ${COMPONENT}) install(FILES cmakecache.xml diff --git a/Source/QtDialog/cmake-gui.desktop b/Source/QtDialog/cmake-gui.desktop new file mode 100644 index 0000000..842091f --- /dev/null +++ b/Source/QtDialog/cmake-gui.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Version=1.0 +Name=CMake +Comment=Cross-platform buildsystem +Exec=cmake-gui %f +Icon=CMakeSetup +Terminal=false +X-MultipleArgs=false +Type=Application +Categories=Development; +StartupNotify=true +MimeType=application/x-cmakecache; -- cgit v0.12