Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürgen Weigert <jnweiger@gmail.com>2017-08-31 14:16:34 +0300
committerOlivier Goffart <olivier@woboq.com>2017-08-31 14:16:34 +0300
commit839361594d76d06d60418ea62da6abebcff480ef (patch)
treeb79a3a9fb4bd0738c0485efb8b5fad4e88fc7c97 /shell_integration
parent40abe3f370baea52c5e1dfd04e1cbb4dcdcfe18a (diff)
fix branded nemo and caja shell integration (#5966)
* Update createcajaplugin.sh * first apply branding, then create copies. Better. Fixes https://github.com/owncloud/ownbrander/issues/753 * fix https://github.com/owncloud/ownbrander/issues/752 too.
Diffstat (limited to 'shell_integration')
-rw-r--r--shell_integration/icons/CMakeLists.txt2
-rw-r--r--shell_integration/nautilus/CMakeLists.txt2
-rwxr-xr-xshell_integration/nautilus/createcajaplugin.sh1
-rwxr-xr-xshell_integration/nautilus/createnemoplugin.sh1
4 files changed, 3 insertions, 3 deletions
diff --git a/shell_integration/icons/CMakeLists.txt b/shell_integration/icons/CMakeLists.txt
index 5e2c958df..04235c55b 100644
--- a/shell_integration/icons/CMakeLists.txt
+++ b/shell_integration/icons/CMakeLists.txt
@@ -7,7 +7,7 @@ if( UNIX AND NOT APPLE )
FOREACH( file ${files} )
# the GLOB returns a absolute path. Make it relative by replacing the current src dir by nothing
STRING(REPLACE "${CMAKE_CURRENT_SOURCE_DIR}/${size}/" "" shortFile ${file})
- STRING(REPLACE "oC" ${APPLICATION_NAME} brandedName ${shortFile})
+ STRING(REPLACE "oC" ${APPLICATION_SHORTNAME} brandedName ${shortFile})
install(FILES ${file} DESTINATION ${ICON_DIR}/${size}/apps RENAME ${brandedName})
ENDFOREACH(file)
ENDFOREACH(size)
diff --git a/shell_integration/nautilus/CMakeLists.txt b/shell_integration/nautilus/CMakeLists.txt
index 21f557d2f..d8f75d8a5 100644
--- a/shell_integration/nautilus/CMakeLists.txt
+++ b/shell_integration/nautilus/CMakeLists.txt
@@ -3,8 +3,6 @@
if( UNIX AND NOT APPLE )
configure_file(syncstate.py syncstate.py COPYONLY)
- configure_file(syncstate.py syncstate_nemo.py COPYONLY)
- configure_file(syncstate.py syncstate_caja.py COPYONLY)
# Call the setupappname.sh script to set the custom app name.
set (cmd "${CMAKE_CURRENT_SOURCE_DIR}/setappname.sh")
diff --git a/shell_integration/nautilus/createcajaplugin.sh b/shell_integration/nautilus/createcajaplugin.sh
index 860850d1a..8912d4a3f 100755
--- a/shell_integration/nautilus/createcajaplugin.sh
+++ b/shell_integration/nautilus/createcajaplugin.sh
@@ -3,5 +3,6 @@
# this script creates a plugin for caja, just by replacing
# all occurences of Nautilus with Caja (case sensitive).
+cp syncstate.py syncstate_caja.py
sed -i.org -e 's/Nautilus/Caja/g' syncstate_caja.py
sed -i.org -e 's/nautilus/caja/g' syncstate_caja.py
diff --git a/shell_integration/nautilus/createnemoplugin.sh b/shell_integration/nautilus/createnemoplugin.sh
index c6463b7ff..0e08affc4 100755
--- a/shell_integration/nautilus/createnemoplugin.sh
+++ b/shell_integration/nautilus/createnemoplugin.sh
@@ -3,4 +3,5 @@
# this script creates a plugin for nemo, just be replacing
# all occurences of Nautilus with Nemo.
+cp syncstate.py syncstate_nemo.py
sed -i.org -e 's/autilus/emo/g' syncstate_nemo.py