Index: thumbcache.py
===================================================================
RCS file: /home/tlau/.CVS/fugu/thumbcache.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -r1.12 -r1.13
265a266
> 			t.time = time.time()
315a317
> 	t.time = time.time()
327,329d328
< 
< def delthumb(img):
< 	pass
Index: ui.py
===================================================================
RCS file: /home/tlau/.CVS/fugu/ui.py,v
retrieving revision 1.102
diff -r1.102 ui.py
528,533d527
< 		self._compbutton = Button(self.puffbuts, text='Zero size',
< 			command=self.zeropane, takefocus=0)
< 		self._compbutton.pack(side=LEFT)
< 		self._restbutton = Button(self.puffbuts, text='Zero min',
< 			command=self.restpane, takefocus=0)
< 		self._restbutton.pack(side=LEFT)
540,542c534,536
< #		self._detachbutton = Button(self.puffbuts, text='Detach',
< #			command=self.detach, takefocus=0)
< #		self._detachbutton.pack(side=LEFT)
---
> 		self._detachbutton = Button(self.puffbuts, text='Detach',
> 			command=self.detach, takefocus=0)
> 		self._detachbutton.pack(side=LEFT)
567,568c561,562
< 		self.context_menu.add_command(label='Copy citation to clipboard',
< 			command=self.cite_puff, underline=0)
---
> 		self.context_menu.add_command(label='Cite puff (A-t)',
> 			command=self.cite_puff, underline=2)
834c828
< 	def cite_puff(self):
---
> 	def cite_puff(self, *args):
846a841,842
> 		self._puffwidget.text().insert('end', self._clipboard, 'sel')
> 		self._puffwidget.text().tag_remove('sel', '1.0', 'end')
1034a1031,1033
> 		# Cut the reference to the cursor
> 		self._puffwidget.bind('<Alt-t>', self.cite_puff)
> 
1538a1538,1540
> 
> 	def text(self):
> 		return self._puff
2267a2270,2271
> 
> #vim:ts=5:sw=5:sts=5:
