Skip to content

Commit ab67907

Browse files
memuratsgithub-actions
authored andcommitted
revert
1 parent 7dab809 commit ab67907

2 files changed

Lines changed: 40 additions & 2 deletions

File tree

src/gui/CMakeLists.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@ if(APPLICATION_NAME STREQUAL "Nextcloud")
2020
set(STATE_SUBDIR "nextcloud/")
2121
endif()
2222

23-
configure_file(${CMAKE_SOURCE_DIR}/magenta_theme.qrc.in ${CMAKE_SOURCE_DIR}/magenta_theme.qrc)
23+
configure_file(${CMAKE_SOURCE_DIR}/theme.qrc.in ${CMAKE_SOURCE_DIR}/theme.qrc)
2424
set(theme_dir ${CMAKE_SOURCE_DIR}/theme)
2525

26+
#NMC customization: needed to find the ui file in a different location than the header file
27+
set(CMAKE_AUTOUIC_SEARCH_PATHS "${CMAKE_SOURCE_DIR}/src/gui")
28+
2629
set(client_UI_SRCS
2730
accountsettings.ui
2831
conflictdialog.ui
@@ -54,7 +57,7 @@ set(client_UI_SRCS
5457
wizard/proxysettings.ui
5558
)
5659

57-
qt_add_resources(client_UI_SRCS ../../resources.qrc ${CMAKE_SOURCE_DIR}/magenta_theme.qrc)
60+
qt_add_resources(client_UI_SRCS ../../resources.qrc ${CMAKE_SOURCE_DIR}/theme.qrc)
5861

5962
set(client_SRCS
6063
accountmanager.h
@@ -258,6 +261,10 @@ set(client_SRCS
258261
wizard/wizardproxysettingsdialog.cpp
259262
)
260263

264+
file(GLOB NMC_FILES "nmcgui/*")
265+
set(NMC_SRCS ${NMC_FILES})
266+
list(APPEND client_SRCS ${NMC_SRCS})
267+
261268
if (NOT DISABLE_ACCOUNT_MIGRATION)
262269
list(APPEND client_SRCS
263270
legacyaccountselectiondialog.h

theme.qrc.in

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,5 +291,36 @@
291291
<file>theme/chevron-double-up.svg</file>
292292
<file>theme/call-notification.wav</file>
293293
<file>theme/info.svg</file>
294+
295+
<!-- NMC CC icons -->
296+
<file>theme/NMCIcons/accountAvatarIcon.svg</file>
297+
<file>theme/NMCIcons/action-add.svg</file>
298+
<file>theme/NMCIcons/cloud-security.svg</file>
299+
<file>theme/NMCIcons/collapse-down.svg</file>
300+
<file>theme/NMCIcons/collapse-right.svg</file>
301+
<file>theme/NMCIcons/configuration1.png</file>
302+
<file>theme/NMCIcons/configuration2.png</file>
303+
<file>theme/NMCIcons/configuration3.png</file>
304+
<file>theme/NMCIcons/logout.svg</file>
305+
<file>theme/NMCIcons/navigation-left.svg</file>
306+
<file>theme/NMCIcons/navigation-right.svg</file>
307+
<file>theme/NMCIcons/pause.svg</file>
308+
<file>theme/NMCIcons/remove.svg</file>
309+
<file>theme/NMCIcons/website.svg</file>
310+
311+
<!-- NMC CMW icons -->
312+
<file>theme/NMCIcons/accountAvatarIcon-white.svg</file>
313+
<file>theme/NMCIcons/logout-white.svg</file>
314+
<file>theme/NMCIcons/pause-white.svg</file>
315+
<file>theme/NMCIcons/remove-white.svg</file>
316+
<file>theme/NMCIcons/website-white.svg</file>
317+
<file>theme/close-white.svg</file>
318+
<file>theme/more-white.svg</file>
319+
<file>theme/settings-white.svg</file>
320+
321+
<!-- NMC RWI icons -->
322+
<file>theme/NMCIcons/ApplicationLogo.svg</file>
323+
<file>theme/NMCIcons/folderLogo.svg</file>
324+
<file>theme/NMCIcons/tlogocarrier.svg</file>
294325
</qresource>
295326
</RCC>

0 commit comments

Comments
 (0)