* src/images/stock_calendar.png: added

* src/gramps_main.py: add gramps-date as a stock icon


svn: r7873
This commit is contained in:
Don Allingham 2007-01-06 23:03:55 +00:00
parent 927922a9be
commit dbe5e405a8
5 changed files with 8 additions and 0 deletions

View File

@ -10,6 +10,8 @@
* src/glade/gramps.glade: new date_entry * src/glade/gramps.glade: new date_entry
* src/Errors.py: new date_entry * src/Errors.py: new date_entry
* src/DateEdit.py: new date_entry * src/DateEdit.py: new date_entry
* src/images/stock_calendar.png: added
* src/gramps_main.py: add gramps-date as a stock icon
2007-01-05 Richard Taylor <rjt-gramps@thegrindstone.me.uk> 2007-01-05 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/docgen/GtkPrint.py: minor tweeks * src/docgen/GtkPrint.py: minor tweeks

View File

@ -119,6 +119,9 @@ class DateEdit:
self.text_obj = text_obj self.text_obj = text_obj
self.button_obj = button_obj self.button_obj = button_obj
image = gtk.Image()
image.set_from_stock('gramps-date', gtk.ICON_SIZE_MENU)
self.button_obj.set_image(image)
self.pixmap_obj = button_obj.get_child() self.pixmap_obj = button_obj.get_child()
self.text_obj.connect('validate',self.validate) self.text_obj.connect('validate',self.validate)

View File

@ -91,6 +91,8 @@ sharefam_icon = "share-fam.png"
def register_stock_icons (): def register_stock_icons ():
items = [ items = [
(os.path.join(const.image_dir, "stock_calendar.png"),
('gramps-date',_('Date'),gtk.gdk.CONTROL_MASK,0,'')),
(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, parents_icon), (os.path.join(const.image_dir, parents_icon),

View File

@ -83,6 +83,7 @@ dist_pkgdata_DATA = \
sources.png\ sources.png\
splash.jpg\ splash.jpg\
stock_add-bookmark.png\ stock_add-bookmark.png\
stock_calendar.png\
stock_bookmark.png\ stock_bookmark.png\
stock_delete-bookmark.png\ stock_delete-bookmark.png\
stock_edit-bookmark.png\ stock_edit-bookmark.png\

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB