* 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 3c3cff6ae2
commit 3731aad2b3
44 changed files with 217 additions and 223 deletions

View File

@ -1074,7 +1074,7 @@ class Gramps:
self.import_tool_callback()
def read_file(self,filename,callback=None):
self.topWindow.set_resizable(gtk.FALSE)
self.topWindow.set_resizable(False)
mode = "w"
filename = os.path.normpath(os.path.abspath(filename))
@ -1115,7 +1115,7 @@ class Gramps:
return 0
self.topWindow.set_resizable(gtk.TRUE)
self.topWindow.set_resizable(True)
self.gtop.get_widget('import1').set_sensitive(not self.db.readonly)
self.gtop.get_widget('abandon').set_sensitive(not self.db.readonly)
self.gtop.get_widget('undolabel').set_sensitive(not self.db.readonly)