> The dialog box title is "veusz <2>" (or "veusz <n>"). Something like
> "confirm close" would be nicer.
After a marathon coding session I've fixed this major bug, by changing
the main title bar to read "Untitled - Veusz" instead of "Veusz" when
working on something that isn't saved. Dialog box titles are still
"Veusz" but they don't end up as "Veusz <2>" unless you actually have
two Veuszes running.
Jamie
Index: windows/mainwindow.py
===================================================================
RCS file: /cvs/veusz/veusz/windows/mainwindow.py,v
retrieving revision 1.22
diff -u -r1.22 mainwindow.py
--- windows/mainwindow.py 22 Apr 2005 11:23:01 -0000 1.22
+++ windows/mainwindow.py 1 May 2005 12:20:40 -0000
@@ -355,7 +355,7 @@
def updateTitlebar(self):
"""Put the filename into the title bar."""
if self.filename == '':
- self.setCaption('Veusz')
+ self.setCaption('Untitled - Veusz')
else:
self.setCaption( "%s - Veusz" %
os.path.basename(self.filename) )