From 98cebbf430ab6644e6ca6ec8aeee5fcbd720115e Mon Sep 17 00:00:00 2001
From: James Fantin-Hardesty
<24646452+jfantinhardesty@users.noreply.github.com>
Date: Thu, 31 Oct 2024 10:57:52 -0600
Subject: [PATCH] Fix cloudfuse naming in gui to be consistent (#354)
---
gui/about_dialog.ui | 2 +-
gui/azure_config_advanced.py | 2 +-
gui/azure_config_common.py | 2 +-
gui/common_qt_functions.py | 2 +-
gui/mountPrimaryWindow.py | 4 ++--
gui/s3_config_advanced.py | 2 +-
gui/s3_config_common.py | 2 +-
7 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/gui/about_dialog.ui b/gui/about_dialog.ui
index 21b310fcd..381fac881 100644
--- a/gui/about_dialog.ui
+++ b/gui/about_dialog.ui
@@ -11,7 +11,7 @@
- About CloudFUSE
+ About Cloudfuse
-
diff --git a/gui/azure_config_advanced.py b/gui/azure_config_advanced.py
index 2a8efb640..4d3a2bd38 100644
--- a/gui/azure_config_advanced.py
+++ b/gui/azure_config_advanced.py
@@ -36,7 +36,7 @@ def __init__(self,configSettings):
self.setupUi(self)
self.setWindowTitle("Advanced Azure Config Settings")
self.settings = configSettings
- self.myWindow = QSettings("CloudFUSE", "AzAdvancedWindow")
+ self.myWindow = QSettings("Cloudfuse", "AzAdvancedWindow")
self.initWindowSizePos()
self.populateOptions()
self.saveButtonClicked = False
diff --git a/gui/azure_config_common.py b/gui/azure_config_common.py
index 5dd890c05..92bfaf0b9 100644
--- a/gui/azure_config_common.py
+++ b/gui/azure_config_common.py
@@ -39,7 +39,7 @@ def __init__(self,configSettings):
super().__init__()
self.setupUi(self)
self.setWindowTitle("Azure Config Settings")
- self.myWindow = QSettings("CloudFUSE", "AzcWindow")
+ self.myWindow = QSettings("Cloudfuse", "AzcWindow")
self.settings = configSettings
self.initWindowSizePos()
# Hide the pipeline mode groupbox depending on the default select is
diff --git a/gui/common_qt_functions.py b/gui/common_qt_functions.py
index d9230d86f..a325f678a 100644
--- a/gui/common_qt_functions.py
+++ b/gui/common_qt_functions.py
@@ -260,7 +260,7 @@ def getWorkingDir(self):
defaultFuseDir = 'Cloudfuse'
userDir = os.getenv('APPDATA')
else:
- defaultFuseDir = '.Cloudfuse'
+ defaultFuseDir = '.cloudfuse'
userDir = os.getenv('HOME')
workingDir = os.path.join(userDir, defaultFuseDir)
return workingDir
diff --git a/gui/mountPrimaryWindow.py b/gui/mountPrimaryWindow.py
index ee55e0b87..07db77d44 100644
--- a/gui/mountPrimaryWindow.py
+++ b/gui/mountPrimaryWindow.py
@@ -57,8 +57,8 @@ class FUSEWindow(settingsManager,configFuncs, QMainWindow, Ui_primaryFUSEwindow)
def __init__(self):
super().__init__()
self.setupUi(self)
- self.setWindowTitle("Cloud FUSE")
- self.myWindow = QSettings("CloudFUSE", "Mainwindow")
+ self.setWindowTitle("Cloudfuse")
+ self.myWindow = QSettings("Cloudfuse", "Mainwindow")
self.initMountPoint()
self.checkConfigDirectory()
self.textEdit_output.setReadOnly(True)
diff --git a/gui/s3_config_advanced.py b/gui/s3_config_advanced.py
index 7f7be34e1..178844e51 100644
--- a/gui/s3_config_advanced.py
+++ b/gui/s3_config_advanced.py
@@ -33,7 +33,7 @@ class s3AdvancedSettingsWidget(widgetCustomFunctions, Ui_Form):
def __init__(self,configSettings):
super().__init__()
self.setupUi(self)
- self.myWindow = QSettings("CloudFUSE", "S3AdvancedWindow")
+ self.myWindow = QSettings("Cloudfuse", "S3AdvancedWindow")
self.settings = configSettings
self.initWindowSizePos()
self.setWindowTitle("Advanced S3Cloud Config Settings")
diff --git a/gui/s3_config_common.py b/gui/s3_config_common.py
index 0affce914..5624e74d5 100644
--- a/gui/s3_config_common.py
+++ b/gui/s3_config_common.py
@@ -36,7 +36,7 @@ class s3SettingsWidget(widgetCustomFunctions,Ui_Form):
def __init__(self, configSettings):
super().__init__()
self.setupUi(self)
- self.myWindow = QSettings("CloudFUSE", "s3Window")
+ self.myWindow = QSettings("Cloudfuse", "s3Window")
self.initWindowSizePos()
self.setWindowTitle("S3Cloud Config Settings")
self.settings = configSettings