* src/AddMedia.py: use new find_mime_type_pixbuf instead of

find_icon
* src/ImageSelect.py: remove internal media widgets, use new
find_mime_type_pixbuf instead of find_icon
* src/ImgManip.py: catch pixbuf_new_from_file exception
* src/MediaView.py: use new find_mime_type_pixbuf instead of
find_icon
* src/SelectObject.py: use new find_mime_type_pixbuf instead of
find_icon
* various: replace the deprecated gtk.TRUE/gtk.FALSE with
True/False


svn: r4085
This commit is contained in:
Don Allingham
2005-02-24 00:25:34 +00:00
parent 827ba0d85b
commit 55a416f422
44 changed files with 217 additions and 223 deletions

View File

@ -118,7 +118,7 @@ class NoteEditor:
"""Saves the note and closes the window"""
tbuffer = self.entry.get_buffer()
text = unicode(tbuffer.get_text(tbuffer.get_start_iter(),
tbuffer.get_end_iter(),gtk.FALSE))
tbuffer.get_end_iter(),False))
if text != self.data.get_note():
self.data.set_note(text)
if self.callback: