2006-10-10 Don Allingham <don@gramps-project.org>

* src/gramps_main.py: use pngs for windows



svn: r7389
This commit is contained in:
Don Allingham 2006-10-11 03:26:56 +00:00
parent fbb1b6ba33
commit c6c6cd207f
15 changed files with 33 additions and 9 deletions

View File

@ -1,3 +1,6 @@
2006-10-10 Don Allingham <don@gramps-project.org>
* src/gramps_main.py: use pngs for windows
2006-10-10 Alex Roitman <shura@gramps-project.org> 2006-10-10 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_10, * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_10,
gramps_upgrade_11): Properly use TXN. gramps_upgrade_11): Properly use TXN.

View File

@ -65,33 +65,47 @@ iconpaths = [const.image_dir,"."]
if platform.system() == "Windows": if platform.system() == "Windows":
person_icon = "person.png" person_icon = "person.png"
relation_icon = "relation.png" relation_icon = "relation.png"
place_icon = "place.png"
family_icon = "flist.png"
media_icon = "media.png"
sources_icon = "sources.png"
events_icon = "events.png"
tools_icon = "tools.png"
reports_icon = "reports.png"
else: else:
person_icon = "person.svg" person_icon = "person.svg"
relation_icon = "relation.svg" relation_icon = "relation.svg"
place_icon = "place.svg"
family_icon = "flist.svg"
media_icon = "media.svg"
sources_icon = "sources.svg"
events_icon = "events.svg"
tools_icon = "tools.svg"
reports_icon = "reports.svg"
def register_stock_icons (): def register_stock_icons ():
items = [ items = [
(os.path.join(const.image_dir,person_icon), (os.path.join(const.image_dir, person_icon),
('gramps-person',_('Person'),gtk.gdk.CONTROL_MASK,0,'')), ('gramps-person',_('Person'),gtk.gdk.CONTROL_MASK,0,'')),
(os.path.join(const.image_dir,relation_icon), (os.path.join(const.image_dir, relation_icon),
('gramps-family',_('Relationships'),gtk.gdk.CONTROL_MASK,0,'')), ('gramps-family',_('Relationships'),gtk.gdk.CONTROL_MASK,0,'')),
(os.path.join(const.image_dir,'flist.svg'), (os.path.join(const.image_dir, family_icon),
('gramps-family-list',_('Family List'),gtk.gdk.CONTROL_MASK,0,'')), ('gramps-family-list',_('Family List'),gtk.gdk.CONTROL_MASK,0,'')),
(os.path.join(const.image_dir,'media.svg'), (os.path.join(const.image_dir, media_icon),
('gramps-media',_('Media'),gtk.gdk.CONTROL_MASK,0,'')), ('gramps-media',_('Media'),gtk.gdk.CONTROL_MASK,0,'')),
(os.path.join(const.image_dir,'ped24.png'), (os.path.join(const.image_dir,'ped24.png'),
('gramps-pedigree',_('Pedigree'),gtk.gdk.CONTROL_MASK,0,'')), ('gramps-pedigree',_('Pedigree'),gtk.gdk.CONTROL_MASK,0,'')),
(os.path.join(const.image_dir,'repos.png'), (os.path.join(const.image_dir,'repos.png'),
('gramps-repository',_('Repositories'),gtk.gdk.CONTROL_MASK,0,'')), ('gramps-repository',_('Repositories'),gtk.gdk.CONTROL_MASK,0,'')),
(os.path.join(const.image_dir,'sources.svg'), (os.path.join(const.image_dir, sources_icon),
('gramps-source',_('Sources'),gtk.gdk.CONTROL_MASK,0,'')), ('gramps-source',_('Sources'),gtk.gdk.CONTROL_MASK,0,'')),
(os.path.join(const.image_dir,'events.svg'), (os.path.join(const.image_dir, events_icon),
('gramps-event',_('Events'),gtk.gdk.CONTROL_MASK,0,'')), ('gramps-event',_('Events'),gtk.gdk.CONTROL_MASK,0,'')),
(os.path.join(const.image_dir,'place.svg'), (os.path.join(const.image_dir, place_icon),
('gramps-place',_('Places'),gtk.gdk.CONTROL_MASK,0,'')), ('gramps-place',_('Places'),gtk.gdk.CONTROL_MASK,0,'')),
(os.path.join(const.image_dir,'tools.svg'), (os.path.join(const.image_dir, tools_icon),
('gramps-tools',_('Tools'),gtk.gdk.CONTROL_MASK,0,'')), ('gramps-tools',_('Tools'),gtk.gdk.CONTROL_MASK,0,'')),
(os.path.join(const.image_dir,'reports.svg'), (os.path.join(const.image_dir, reports_icon),
('gramps-reports',_('Reports'),gtk.gdk.CONTROL_MASK,0,'')), ('gramps-reports',_('Reports'),gtk.gdk.CONTROL_MASK,0,'')),
(os.path.join(const.image_dir,'stock_export.png'), (os.path.join(const.image_dir,'stock_export.png'),
('gramps-export',_('Export'),gtk.gdk.CONTROL_MASK,0,'')), ('gramps-export',_('Export'),gtk.gdk.CONTROL_MASK,0,'')),

View File

@ -53,21 +53,28 @@ dist_pkgdata_DATA = \
bad.png\ bad.png\
caution.png\ caution.png\
events.svg\ events.svg\
events.png\
flist.svg\ flist.svg\
flist.png\
good.png\ good.png\
gramps.png\ gramps.png\
locked.png\ locked.png\
logo.png\ logo.png\
media.svg\ media.svg\
media.png\
ped24.png\ ped24.png\
person.svg\ person.svg\
person.png\ person.png\
tools.svg\ tools.svg\
tools.png\
place.svg\ place.svg\
place.png\
relation.svg\ relation.svg\
repos.png\ repos.png\
reports.svg\ reports.svg\
reports.png\
sources.svg\ sources.svg\
sources.png\
splash.jpg\ splash.jpg\
stock_add-bookmark.png\ stock_add-bookmark.png\
stock_bookmark.png\ stock_bookmark.png\

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1022 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 853 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB