From 7d8bba6786f4d55f521016081f497c6edbf78da0 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Tue, 27 Nov 2018 19:55:12 +0100 Subject: [PATCH] Fix appname for Nautilus integration script Signed-off-by: Jan-Christoph Borchardt --- shell_integration/nautilus/setappname.sh | 4 ++-- shell_integration/nautilus/syncstate.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/shell_integration/nautilus/setappname.sh b/shell_integration/nautilus/setappname.sh index 1ca085941..d59c3110e 100755 --- a/shell_integration/nautilus/setappname.sh +++ b/shell_integration/nautilus/setappname.sh @@ -1,6 +1,6 @@ #!/bin/sh # this script replaces the line -# appname = 'ownCloud' +# appname = 'Nextcloud' # with the correct branding name in the syncstate.py script -sed -i.org -e 's/appname\s*=\s*'"'"'ownCloud'"'/appname = '$1'/" syncstate.py +sed -i.org -e 's/appname\s*=\s*'"'"'Nextcloud'"'/appname = '$1'/" syncstate.py diff --git a/shell_integration/nautilus/syncstate.py b/shell_integration/nautilus/syncstate.py index 179efc8e6..2d1494ca1 100644 --- a/shell_integration/nautilus/syncstate.py +++ b/shell_integration/nautilus/syncstate.py @@ -32,7 +32,7 @@ from gi.repository import GObject, Nautilus # The reason is that we use a script to adopt this file for branding # by replacing this line with the branding app name. If the following # line is changed, the script can not match the pattern and fails. -appname = 'ownCloud' +appname = 'Nextcloud' print("Initializing "+appname+"-client-nautilus extension") print("Using python version {}".format(sys.version_info))