┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR.J.V. Bertin <[email protected]>2016-11-22 18:15:42 +0100
committerR.J.V. Bertin <[email protected]>2016-11-22 18:15:42 +0100
commitb6e76f006d0d40e8475e8129fc56a509f963a7c1 (patch)
tree6e2edcf5b73cbff7758a96895c7e1e84dd553753
parentded92cc32ada1fd3fc8bcc90d8dc07f6d3ab291c (diff)
Add application icon for Mac and MS Windows.
Uses the Oxygen theme because it fits in better with prevailent icons on those platforms.
-rw-r--r--src/CMakeLists.txt6
-rw-r--r--src/icons/128-system-file-manager.pngbin0 -> 11652 bytes
-rw-r--r--src/icons/16-system-file-manager.pngbin0 -> 566 bytes
-rw-r--r--src/icons/22-system-file-manager.pngbin0 -> 802 bytes
-rw-r--r--src/icons/32-system-file-manager.pngbin0 -> 1273 bytes
-rw-r--r--src/icons/48-system-file-manager.pngbin0 -> 3145 bytes
-rw-r--r--src/icons/64-system-file-manager.pngbin0 -> 4522 bytes
7 files changed, 4 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 069096814..62d11584e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,3 +1,4 @@
+include(ECMAddAppIcon)
configure_file(config-baloo.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-baloo.h)
@@ -268,8 +269,9 @@ if(NOT WIN32)
set(dolphin_SRCS ${dolphin_SRCS} panels/terminal/terminalpanel.cpp)
endif()
-# TODO Does anything replace kde4_add_app_icon ?
-#kde4_add_app_icon(dolphin_SRCS "${KDE4_ICON_INSTALL_DIR}/oxygen/*/apps/system-file-manager.png")
+# Sets the icon on Windows and OSX
+file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*system-file-manager.png")
+ecm_add_app_icon(dolphin_SRCS ICONS ${ICONS_SRCS})
kf5_add_kdeinit_executable(dolphin ${dolphin_SRCS})
diff --git a/src/icons/128-system-file-manager.png b/src/icons/128-system-file-manager.png
new file mode 100644
index 000000000..a199a712f
--- /dev/null
+++ b/src/icons/128-system-file-manager.png
Binary files differ
diff --git a/src/icons/16-system-file-manager.png b/src/icons/16-system-file-manager.png
new file mode 100644
index 000000000..2771c8543
--- /dev/null
+++ b/src/icons/16-system-file-manager.png
Binary files differ
diff --git a/src/icons/22-system-file-manager.png b/src/icons/22-system-file-manager.png
new file mode 100644
index 000000000..ac0c54aca
--- /dev/null
+++ b/src/icons/22-system-file-manager.png
Binary files differ
diff --git a/src/icons/32-system-file-manager.png b/src/icons/32-system-file-manager.png
new file mode 100644
index 000000000..c095d42d5
--- /dev/null
+++ b/src/icons/32-system-file-manager.png
Binary files differ
diff --git a/src/icons/48-system-file-manager.png b/src/icons/48-system-file-manager.png
new file mode 100644
index 000000000..a742a7344
--- /dev/null
+++ b/src/icons/48-system-file-manager.png
Binary files differ
diff --git a/src/icons/64-system-file-manager.png b/src/icons/64-system-file-manager.png
new file mode 100644
index 000000000..9a7ebdec4
--- /dev/null
+++ b/src/icons/64-system-file-manager.png
Binary files differ