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 960e10d5f7
commit 525c779b0d
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>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_10,
gramps_upgrade_11): Properly use TXN.

View File

@ -65,33 +65,47 @@ iconpaths = [const.image_dir,"."]
if platform.system() == "Windows":
person_icon = "person.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:
person_icon = "person.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 ():
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,'')),
(os.path.join(const.image_dir,relation_icon),
(os.path.join(const.image_dir, relation_icon),
('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,'')),
(os.path.join(const.image_dir,'media.svg'),
(os.path.join(const.image_dir, media_icon),
('gramps-media',_('Media'),gtk.gdk.CONTROL_MASK,0,'')),
(os.path.join(const.image_dir,'ped24.png'),
('gramps-pedigree',_('Pedigree'),gtk.gdk.CONTROL_MASK,0,'')),
(os.path.join(const.image_dir,'repos.png'),
('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,'')),
(os.path.join(const.image_dir,'events.svg'),
(os.path.join(const.image_dir, events_icon),
('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,'')),
(os.path.join(const.image_dir,'tools.svg'),
(os.path.join(const.image_dir, tools_icon),
('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,'')),
(os.path.join(const.image_dir,'stock_export.png'),
('gramps-export',_('Export'),gtk.gdk.CONTROL_MASK,0,'')),

View File

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1022 B

BIN
src/images/events.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
src/images/flist.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
src/images/media.png Normal file

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

BIN
src/images/relation.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
src/images/reports.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 853 B

BIN
src/images/sources.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

BIN
src/images/tools.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB