Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
ffec0fa3
Commit
ffec0fa3
authored
Jun 03, 2013
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge General and Printer settings
parent
cc882146
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
pronterface_widgets.py
printrun/pronterface_widgets.py
+2
-3
pronsole.py
pronsole.py
+1
-1
No files found.
printrun/pronterface_widgets.py
View file @
ffec0fa3
...
...
@@ -120,8 +120,7 @@ class MacroEditor(wx.Dialog):
reindented
+=
self
.
indent_chars
+
line
+
"
\n
"
return
reindented
SETTINGS_GROUPS
=
{
"General"
:
_
(
"General"
),
"Printer"
:
_
(
"Printer settings"
),
SETTINGS_GROUPS
=
{
"Printer"
:
_
(
"Printer settings"
),
"UI"
:
_
(
"User interface"
),
"External"
:
_
(
"External commands"
)}
...
...
@@ -136,7 +135,7 @@ class PronterOptionsDialog(wx.Dialog):
all_settings
=
pronterface
.
settings
.
_all_settings
()
group_list
=
[]
groups
=
{}
for
group
in
[
"
General"
,
"UI"
,
"Printer
"
]:
for
group
in
[
"
Printer"
,
"UI"
,
"External
"
]:
group_list
.
append
(
group
)
groups
[
group
]
=
[]
for
setting
in
all_settings
:
...
...
pronsole.py
View file @
ffec0fa3
...
...
@@ -67,7 +67,7 @@ def setting_add_tooltip(func):
class
Setting
(
object
):
DEFAULT_GROUP
=
"
General
"
DEFAULT_GROUP
=
"
Printer
"
hidden
=
False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment