From 477c02e1db4d8e9a7675af93490ce5781718caf7 Mon Sep 17 00:00:00 2001
From: am-zed <49406+am-zed@users.noreply.github.com>
Date: Sun, 5 Jan 2025 17:30:20 +0100
Subject: [PATCH] Set naming to NeoVial.
---
misc/README.pyinstaller.md | 2 +-
misc/Vial.desktop | 4 ++--
misc/build_spec.bat | 2 +-
src/main/python/editor/keymap_editor.py | 2 +-
src/main/python/main_window.py | 6 +++---
5 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/misc/README.pyinstaller.md b/misc/README.pyinstaller.md
index 92b6932e97..cc4c5deb18 100644
--- a/misc/README.pyinstaller.md
+++ b/misc/README.pyinstaller.md
@@ -5,7 +5,7 @@ These are the command-line options used to generate the .spec file for pyinstall
```
pyi-makespec \
--specpath=misc \
- --name=Vial \
+ --name=NeoVial \
--add-data="../src/main/resources/base/qmk_settings.json:resources/base" \
--add-data="../src/build/settings/base.json:resources/settings" \
--add-data="../src/build/settings/linux.json:resources/settings" \
diff --git a/misc/Vial.desktop b/misc/Vial.desktop
index 6815e80ab6..969c30325b 100644
--- a/misc/Vial.desktop
+++ b/misc/Vial.desktop
@@ -1,7 +1,7 @@
[Desktop Entry]
-Name=Vial
+Name=NeoVial
Type=Application
-Exec=Vial
+Exec=NeoVial
Terminal=false
NoDisplay=false
Categories=Utility;
diff --git a/misc/build_spec.bat b/misc/build_spec.bat
index 699eed9e1d..8ed3a0d37d 100644
--- a/misc/build_spec.bat
+++ b/misc/build_spec.bat
@@ -1,7 +1,7 @@
REM Only useful to regenerate or add options to Vial.spec
pyi-makespec ^
--specpath=misc ^
- --name=Vial ^
+ --name=NeoVial ^
--add-data="../src/main/resources/base/qmk_settings.json:resources/base" ^
--add-data="../src/build/settings/base.json:resources/settings" ^
--add-data="../src/build/settings/linux.json:resources/settings" ^
diff --git a/src/main/python/editor/keymap_editor.py b/src/main/python/editor/keymap_editor.py
index 6ab595c4b2..a47499c88e 100644
--- a/src/main/python/editor/keymap_editor.py
+++ b/src/main/python/editor/keymap_editor.py
@@ -153,7 +153,7 @@ def export_as_svg(self, filename):
generator.setViewBox(QRect(0, 0, widget.width, widget.height * self.keyboard.layers))
generator.setFileName(filename)
generator.setTitle("My Keymap")
- generator.setDescription("Keymap generated from Vial")
+ generator.setDescription("Keymap generated from NeoVial")
painter = QPainter()
painter.begin(generator)
current_layer = self.current_layer
diff --git a/src/main/python/main_window.py b/src/main/python/main_window.py
index 99599b2eed..c23abe722f 100644
--- a/src/main/python/main_window.py
+++ b/src/main/python/main_window.py
@@ -231,7 +231,7 @@ def init_menu(self):
if theme_group.checkedAction() is None:
theme_group.actions()[0].setChecked(True)
- about_vial_act = QAction(tr("MenuAbout", "About Vial..."), self)
+ about_vial_act = QAction(tr("MenuAbout", "About NeoVial..."), self)
about_vial_act.triggered.connect(self.about_vial)
self.about_keyboard_act = QAction("", self)
self.about_keyboard_act.triggered.connect(self.about_keyboard)
@@ -425,8 +425,8 @@ def on_tab_changed(self, index):
self.current_tab = new_tab
def about_vial(self):
- title = "About Vial"
- text = 'Vial {}
Python {}
Qt {}
' \
+ title = "About NeoVial"
+ text = 'NeoVial {}
Python {}
Qt {}
' \
'Licensed under the terms of the
GNU General Public License (version 2 or later)
' \
'https://get.vial.today/' \
.format(qApp.applicationVersion(),