Added rule for extra/ directory and set pics destination to separate subdirectory.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/1/head
Mavridis Philippe 3 years ago
parent 1926f4197c
commit e62af3a1ae
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -62,6 +62,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"
##### directories
add_subdirectory( src )
add_subdirectory( extra )
##### write configure files

@ -0,0 +1,6 @@
file(GLOB PICS ${CMAKE_CURRENT_SOURCE_DIR}/*.png)
install(
FILES ${PICS}
DESTINATION ${DATA_INSTALL_DIR}/twin/pics/SUSE2
)

@ -44,7 +44,7 @@ install(
install(
FILES titlebar_decor.png
DESTINATION ${DATA_INSTALL_DIR}/twin/pics
DESTINATION ${DATA_INSTALL_DIR}/twin/pics/SUSE2
)
install(

@ -237,7 +237,7 @@ void SUSE2Config::defaults()
m_dialog->titleBarLogo->setChecked(false);
m_dialog->titleBarLogoOffset->setValue(3);
titlebarLogoURL = locate("data", "twin/pics/titlebar_decor.png");
titlebarLogoURL = locate("data", "twin/pics/SUSE2/titlebar_decor.png");
TQImage tmpLogo(titlebarLogoURL);
m_dialog->logoImage->setPixmap(TQPixmap(tmpLogo.smoothScale(120, 20, TQImage::ScaleMin)));
}

Loading…
Cancel
Save