In which I, Felix Bauckholt, assert my dominance
by changing the spacing. Also by fixing the category window size.
This commit is contained in:
parent
bc2d865520
commit
91f1ff9c55
|
@ -0,0 +1 @@
|
|||
*.pyc
|
|
@ -157,7 +157,7 @@ def return_menu():
|
|||
def catMenu():
|
||||
(my,mx)=stdscr.getmaxyx()
|
||||
w=curses.newwin(3,5)
|
||||
cat = browser.categoryBrowser(w,hb, 10,40)
|
||||
cat = browser.categoryBrowser(w,hb)
|
||||
(r,c) = w.getmaxyx()
|
||||
w.mvwin((my-r)//2 -2, (mx-c)//2)
|
||||
cat.refreshCategories()
|
||||
|
|
|
@ -134,4 +134,3 @@ def openLibrary_lccn(LCCN):
|
|||
if "subtitle" in openBook:
|
||||
book["subtitle"]=openBook["subtitle"]
|
||||
return book
|
||||
|
||||
|
|
|
@ -95,4 +95,3 @@ def return_procedure(w, hb, cy, cx, mx):
|
|||
step1.clear()
|
||||
if book_id:
|
||||
db.return_book(book_id)
|
||||
|
||||
|
|
Loading…
Reference in New Issue