Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
snf-image-creator
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
snf-image-creator
Commits
74585c56
Commit
74585c56
authored
12 years ago
by
Nikos Skalkotos
Browse files
Options
Downloads
Patches
Plain Diff
Fix minor typos in dialog_main.py
parent
e55f4b3c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
image_creator/dialog_main.py
+3
-3
3 additions, 3 deletions
image_creator/dialog_main.py
with
3 additions
and
3 deletions
image_creator/dialog_main.py
+
3
−
3
View file @
74585c56
...
@@ -126,7 +126,7 @@ def confirm_exit(d, msg=''):
...
@@ -126,7 +126,7 @@ def confirm_exit(d, msg=''):
def
confirm_reset
(
d
):
def
confirm_reset
(
d
):
return
not
d
.
yesno
(
"
Are you sure you want to reset everything?
"
,
return
not
d
.
yesno
(
"
Are you sure you want to reset everything?
"
,
width
=
YESNO_WIDTH
)
width
=
YESNO_WIDTH
,
defaultno
=
1
)
def
update_background_title
(
session
):
def
update_background_title
(
session
):
...
@@ -366,7 +366,7 @@ def kamaki_menu(session):
...
@@ -366,7 +366,7 @@ def kamaki_menu(session):
(
code
,
choice
)
=
d
.
menu
(
(
code
,
choice
)
=
d
.
menu
(
text
=
"
Choose one of the following or press <Back> to go back.
"
,
text
=
"
Choose one of the following or press <Back> to go back.
"
,
width
=
MENU_WIDTH
,
choices
=
choices
,
cancel
=
"
Back
"
,
help_button
=
1
,
width
=
MENU_WIDTH
,
choices
=
choices
,
cancel
=
"
Back
"
,
default_item
=
default_item
,
title
=
"
Image Registration Menu
"
)
default_item
=
default_item
,
title
=
"
Image Registration Menu
"
)
if
code
in
(
d
.
DIALOG_CANCEL
,
d
.
DIALOG_ESC
):
if
code
in
(
d
.
DIALOG_CANCEL
,
d
.
DIALOG_ESC
):
...
@@ -459,7 +459,7 @@ def modify_properties(session):
...
@@ -459,7 +459,7 @@ def modify_properties(session):
"
information about image properties. Press <BACK> when done.
"
,
"
information about image properties. Press <BACK> when done.
"
,
height
=
18
,
width
=
MENU_WIDTH
,
choices
=
choices
,
menu_height
=
10
,
height
=
18
,
width
=
MENU_WIDTH
,
choices
=
choices
,
menu_height
=
10
,
ok_label
=
"
Edit
"
,
extra_button
=
1
,
extra_label
=
"
Add
"
,
cancel
=
"
Back
"
,
ok_label
=
"
Edit
"
,
extra_button
=
1
,
extra_label
=
"
Add
"
,
cancel
=
"
Back
"
,
help_button
=
1
,
title
=
"
Image
Metadata
"
)
help_button
=
1
,
title
=
"
Image
Properties
"
)
if
code
in
(
d
.
DIALOG_CANCEL
,
d
.
DIALOG_ESC
):
if
code
in
(
d
.
DIALOG_CANCEL
,
d
.
DIALOG_ESC
):
break
break
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment