icon fixes
svn: r6129
This commit is contained in:
parent
19f9fa50bb
commit
7eaa8084d9
@ -1,3 +1,9 @@
|
||||
2006-03-10 Don Allingham <don@gramps-project.org>
|
||||
* src/Mime/PythonMime.py: import gtk
|
||||
* src/DataViews/_FamilyList.py: family_add explict function added
|
||||
* src/GrampsWidgets.py: use STOCK_DIALOG_INFO as a fallback if
|
||||
STOCK_INFO does not exist (FreeBSD?)
|
||||
|
||||
2006-03-09 Don Allingham <don@gramps-project.org>
|
||||
* src/AddMedia.py: avoid double commit
|
||||
* src/GrampsDb/_GrampsDbBase.py: fix add of places in internal map
|
||||
|
@ -93,7 +93,13 @@ class WarnButton(gtk.EventBox):
|
||||
def __init__(self):
|
||||
gtk.EventBox.__init__(self)
|
||||
image = gtk.Image()
|
||||
|
||||
# Some versions of FreeBSD don't seem to have STOCK_INFO
|
||||
try:
|
||||
image.set_from_stock(gtk.STOCK_INFO,gtk.ICON_SIZE_MENU)
|
||||
except:
|
||||
image.set_from_stock(gtk.STOCK_DIALOG_INFO,gtk.ICON_SIZE_MENU)
|
||||
|
||||
image.show()
|
||||
self.add(image)
|
||||
self.show()
|
||||
|
@ -20,6 +20,7 @@
|
||||
|
||||
import mimetypes
|
||||
import const
|
||||
import gtk
|
||||
from gettext import gettext as _
|
||||
|
||||
_type_map = {
|
||||
|
Loading…
Reference in New Issue
Block a user