diff --git a/gradint-build/Makefile b/gradint-build/Makefile index db426dbea13af1248abace937cdca03c1f3476aa..2d83c540b9553a5195a2aecf286ac46972999081 100644 --- a/gradint-build/Makefile +++ b/gradint-build/Makefile @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9938 (c) 2002-2009 Silas S. Brown. GPL v3+. +# gradint v0.9939 (c) 2002-2009 Silas S. Brown. GPL v3+. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or diff --git a/gradint-build/src/booktime.py b/gradint-build/src/booktime.py index 73d5dd5767a6cff7a621c7fc11b7a1e1ccf4ab97..572e539b4bbbfdbbde6c884036a057304fb0be01 100644 --- a/gradint-build/src/booktime.py +++ b/gradint-build/src/booktime.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9938 (c) 2002-2009 Silas S. Brown. GPL v3+. +# gradint v0.9939 (c) 2002-2009 Silas S. Brown. GPL v3+. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or diff --git a/gradint-build/src/filescan.py b/gradint-build/src/filescan.py index 392fa2dcec1e1d72798e169ffd4692784dc70a3a..fac14aea9542728fbfda83a859c031ee16919abe 100644 --- a/gradint-build/src/filescan.py +++ b/gradint-build/src/filescan.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9938 (c) 2002-2009 Silas S. Brown. GPL v3+. +# gradint v0.9939 (c) 2002-2009 Silas S. Brown. GPL v3+. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or diff --git a/gradint-build/src/frontend.py b/gradint-build/src/frontend.py index b8fa7efdde76c7e91c14e84db9514c07a82c5f50..912f1ad055f628d70cd983802ec799f2d8d6cbe1 100644 --- a/gradint-build/src/frontend.py +++ b/gradint-build/src/frontend.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9938 (c) 2002-2009 Silas S. Brown. GPL v3+. +# gradint v0.9939 (c) 2002-2009 Silas S. Brown. GPL v3+. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or diff --git a/gradint-build/src/lessonplan.py b/gradint-build/src/lessonplan.py index 3d1b451c0058e618d90ad3de8c21e596f17880a1..a04d02a30f484ad3179a68f6c96d48bdafcb1f72 100644 --- a/gradint-build/src/lessonplan.py +++ b/gradint-build/src/lessonplan.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9938 (c) 2002-2009 Silas S. Brown. GPL v3+. +# gradint v0.9939 (c) 2002-2009 Silas S. Brown. GPL v3+. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or diff --git a/gradint-build/src/loop.py b/gradint-build/src/loop.py index 3debe6f8c79c90f78585bfb023db5041ed1c133d..ec47ccfada1d90e4a6357fb3feb8e44b71c45609 100644 --- a/gradint-build/src/loop.py +++ b/gradint-build/src/loop.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9938 (c) 2002-2009 Silas S. Brown. GPL v3+. +# gradint v0.9939 (c) 2002-2009 Silas S. Brown. GPL v3+. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or diff --git a/gradint-build/src/makeevent.py b/gradint-build/src/makeevent.py index 91b97682ef773ba3572ae49cb79d1adb0af51cc0..345354a7e285b98ac0119d2a6754a3f962ccbe63 100644 --- a/gradint-build/src/makeevent.py +++ b/gradint-build/src/makeevent.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9938 (c) 2002-2009 Silas S. Brown. GPL v3+. +# gradint v0.9939 (c) 2002-2009 Silas S. Brown. GPL v3+. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or diff --git a/gradint-build/src/play.py b/gradint-build/src/play.py index 330f418e0f4d428aa1af2ea9f40ec95ee7336733..cd03b600d04dbefd6694787cc8ccedafbaabec34 100644 --- a/gradint-build/src/play.py +++ b/gradint-build/src/play.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9938 (c) 2002-2009 Silas S. Brown. GPL v3+. +# gradint v0.9939 (c) 2002-2009 Silas S. Brown. GPL v3+. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or diff --git a/gradint-build/src/recording.py b/gradint-build/src/recording.py index d1a45111eeb89723b8e63ea3188f2c3806cd7318..0337bd7264ba41633f6a638352006eb1f97d7c8a 100644 --- a/gradint-build/src/recording.py +++ b/gradint-build/src/recording.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9938 (c) 2002-2009 Silas S. Brown. GPL v3+. +# gradint v0.9939 (c) 2002-2009 Silas S. Brown. GPL v3+. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or @@ -351,8 +351,9 @@ class RecorderControls: row += 1 if len(newNames)==1 and row<self.addMoreRow: # put cursor on the next one if not (row,col) in self.coords2buttons: row += 1 # skip extra row if there are notes - origName=self.coords2buttons[(row,col)]["text"] - if not isDirectory(unicode2filename(self.currentDir+os.sep+origName)): self.startRename(row,0,origName) + if row<self.addMoreRow: + origName=self.coords2buttons[(row,col)]["text"] + if not isDirectory(unicode2filename(self.currentDir+os.sep+origName)): self.startRename(row,0,origName) def cancelRename(self,row,col): if hasattr(self,"renameToCancel"): del self.renameToCancel origName = self.coords2buttons[(row,col)].origName @@ -427,6 +428,7 @@ class RecorderControls: button.focus() self.continueScrollIntoView(button) def continueScrollIntoView(self,button): + if not hasattr(self,"ourCanvas"): return # closing down? by,bh,cy,ch = button.winfo_rooty(),button.winfo_height(),self.ourCanvas.winfo_rooty(),self.ourCanvas.winfo_height() if not by or not bh or not cy or not ch: return app.after(10,lambda *args:self.continueScrollIntoView(button)) if by+bh >= cy+ch-cond(ch>2*bh,bh,0): diff --git a/gradint-build/src/sequence.py b/gradint-build/src/sequence.py index fd7525e95cc3a4ee10d911228c3d85d0d8129224..d1dcbb73193a05dd1863db47d2e66201e7a5032d 100644 --- a/gradint-build/src/sequence.py +++ b/gradint-build/src/sequence.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9938 (c) 2002-2009 Silas S. Brown. GPL v3+. +# gradint v0.9939 (c) 2002-2009 Silas S. Brown. GPL v3+. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or diff --git a/gradint-build/src/synth.py b/gradint-build/src/synth.py index 323efa72ff41460261e600b13c019c7250c16064..fc2f041e77a1db11f788d65e8a3145e5c79ca76d 100644 --- a/gradint-build/src/synth.py +++ b/gradint-build/src/synth.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9938 (c) 2002-2009 Silas S. Brown. GPL v3+. +# gradint v0.9939 (c) 2002-2009 Silas S. Brown. GPL v3+. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or diff --git a/gradint-build/src/system.py b/gradint-build/src/system.py index de7b4768bc0e193f8d1d018e385e47904882e7f8..beb9a35808851556a99b8e8a4efe382868e6eb9d 100644 --- a/gradint-build/src/system.py +++ b/gradint-build/src/system.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9938 (c) 2002-2009 Silas S. Brown. GPL v3+. +# gradint v0.9939 (c) 2002-2009 Silas S. Brown. GPL v3+. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or diff --git a/gradint-build/src/top.py b/gradint-build/src/top.py index 4149d9d6aabeec64a49763c65327970d69f134ee..d9cf0e956b3ebdc53125fc3aeec95af34c843953 100644 --- a/gradint-build/src/top.py +++ b/gradint-build/src/top.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -program_name = "gradint v0.9938 (c) 2002-2009 Silas S. Brown. GPL v3+." +program_name = "gradint v0.9939 (c) 2002-2009 Silas S. Brown. GPL v3+." # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/gradint-build/thindown.py b/gradint-build/thindown.py index fb46e19c95ebc6587fe852175f9c979459768226..a3bd7d62c8cb515e038d33d84ecaf489b38adfe2 100644 --- a/gradint-build/thindown.py +++ b/gradint-build/thindown.py @@ -1,5 +1,5 @@ # This file is part of the source code of -# gradint v0.9938 (c) 2002-2009 Silas S. Brown. GPL v3+. +# gradint v0.9939 (c) 2002-2009 Silas S. Brown. GPL v3+. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or