Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fsmi-klausurarchiv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fsarbeit.imt
fsmi-klausurarchiv
Commits
f25024e7
There was an error fetching the commit references. Please try again later.
Commit
f25024e7
authored
Aug 29, 2018
by
Dennis Baurichter
Browse files
Options
Downloads
Patches
Plain Diff
rename: Resize confirmation dialog buttons
... to fit into the screen width
parent
d5765fbe
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/python/klausurarchiv/renaming.py
+3
-3
3 additions, 3 deletions
src/python/klausurarchiv/renaming.py
with
3 additions
and
3 deletions
src/python/klausurarchiv/renaming.py
+
3
−
3
View file @
f25024e7
...
...
@@ -37,7 +37,7 @@ import random
# On creation, the activity is given no additional information besides the
# curses window to operate in. Initializing it prior to use introduces the
# old and new file names to be shown to the user.
# Execution finally returns either True or False, idicating confirmation or
# Execution finally returns either True or False, i
n
dicating confirmation or
# canceling of the renaming operation.
#
# The lifecycle of this classe's instances follow the principle behind
...
...
@@ -102,12 +102,12 @@ class ConfirmNameActivity:
w2
=
(
w1
-
2
)
//
2
wnd
.
addstr
(
y
,
0
,
"
%sJA%s
"
%
(
"
"
*
w2
,
"
"
*
(
w1
-
w2
)
)
,
y
,
0
,
"
%sJA%s
"
%
(
"
"
*
w2
,
"
"
*
w2
),
s
.
attr_yes
|
(
curses
.
A_STANDOUT
if
s
.
choice
==
True
else
0
))
w2
=
(
w1
-
4
)
//
2
wnd
.
addstr
(
y
,
w1
,
"
%sNEIN%s
"
%
(
"
"
*
w2
,
"
"
*
(
w1
-
w2
)
)
,
y
,
w1
,
"
%sNEIN%s
"
%
(
"
"
*
w2
,
"
"
*
w2
),
s
.
attr_no
|
(
curses
.
A_STANDOUT
if
s
.
choice
==
False
else
0
))
s
.
_scr
.
refresh
()
...
...
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