summaryrefslogtreecommitdiff
path: root/embroider_params.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-01-03 11:09:18 -0500
committerLex Neva <github.com@lexneva.name>2018-01-03 11:09:18 -0500
commitf50ec5e4c4c5dccd4077054413f255be3dcedde2 (patch)
treec4dd2b389d85ccf0b96b61ac3f92a10d2b9ff4fa /embroider_params.py
parent823a135eafedc65b041748169c677088f36cdd10 (diff)
rename to ink/stitch
Diffstat (limited to 'embroider_params.py')
-rw-r--r--embroider_params.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/embroider_params.py b/embroider_params.py
index 88d5772c..b0915ff2 100644
--- a/embroider_params.py
+++ b/embroider_params.py
@@ -21,9 +21,9 @@ from embroider_simulate import EmbroiderySimulator
def presets_path():
try:
import appdirs
- config_path = appdirs.user_config_dir('inkscape-embroidery')
+ config_path = appdirs.user_config_dir('inkstitch')
except ImportError:
- config_path = os.path.expanduser('~/.inkscape-embroidery')
+ config_path = os.path.expanduser('~/.inkstitch')
if not os.path.exists(config_path):
os.makedirs(config_path)
@@ -60,14 +60,14 @@ def delete_preset(name):
save_presets(presets)
-def confirm_dialog(parent, question, caption = 'inkscape-embroidery'):
+def confirm_dialog(parent, question, caption = 'ink/stitch'):
dlg = wx.MessageDialog(parent, question, caption, wx.YES_NO | wx.ICON_QUESTION)
result = dlg.ShowModal() == wx.ID_YES
dlg.Destroy()
return result
-def info_dialog(parent, message, caption = 'inkscape-embroidery'):
+def info_dialog(parent, message, caption = 'ink/stitch'):
dlg = wx.MessageDialog(parent, message, caption, wx.OK | wx.ICON_INFORMATION)
dlg.ShowModal()
dlg.Destroy()