diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b43668..ed3aae7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -39,7 +39,7 @@ if(CMAKE_C_COMPILER_ID MATCHES "GNU|Clang") target_compile_options(udpsclient PRIVATE -Wall -Wextra) endif() -# --- icons: four symbolic SVGs compiled into the binary ----------------------- +# --- icons: six SVGs compiled into the binary -------------------------------- # There is no stock icon for an oscilloscope trigger, a pair of cursors or a measurement # ruler, so this app draws its own. They go in a GResource rather than beside the binary # because udpscope is run straight out of the build tree and has no install step: a @@ -48,7 +48,8 @@ endif() find_program(GLIB_COMPILE_RESOURCES NAMES glib-compile-resources REQUIRED) set(UDPSCOPE_ICON_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/icons) file(GLOB UDPSCOPE_ICON_FILES CONFIGURE_DEPENDS - ${UDPSCOPE_ICON_DIR}/scalable/actions/*.svg) + ${UDPSCOPE_ICON_DIR}/scalable/actions/*.svg + ${UDPSCOPE_ICON_DIR}/scalable/apps/*.svg) add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/udpscope_resources.c COMMAND ${GLIB_COMPILE_RESOURCES} diff --git a/src/icons/scalable/apps/org.udpscope.app-symbolic.svg b/src/icons/scalable/apps/org.udpscope.app-symbolic.svg new file mode 100644 index 0000000..14c6abd --- /dev/null +++ b/src/icons/scalable/apps/org.udpscope.app-symbolic.svg @@ -0,0 +1,24 @@ + + + + + + + diff --git a/src/icons/scalable/apps/org.udpscope.app.svg b/src/icons/scalable/apps/org.udpscope.app.svg new file mode 100644 index 0000000..cccbacb --- /dev/null +++ b/src/icons/scalable/apps/org.udpscope.app.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + diff --git a/src/icons/udpscope.gresource.xml b/src/icons/udpscope.gresource.xml index 455e1d1..0a0a3e5 100644 --- a/src/icons/udpscope.gresource.xml +++ b/src/icons/udpscope.gresource.xml @@ -2,16 +2,26 @@ - scalable/actions/udpscope-trigger-symbolic.svg - scalable/actions/udpscope-cursors-symbolic.svg - scalable/actions/udpscope-measure-symbolic.svg - scalable/actions/udpscope-math-symbolic.svg + scalable/actions/udpscope-trigger-symbolic.svg + scalable/actions/udpscope-cursors-symbolic.svg + scalable/actions/udpscope-measure-symbolic.svg + scalable/actions/udpscope-math-symbolic.svg + scalable/apps/org.udpscope.app.svg + scalable/apps/org.udpscope.app-symbolic.svg