* src/images/stock_calendar.png: added
* src/gramps_main.py: add gramps-date as a stock icon svn: r7873
This commit is contained in:
parent
927922a9be
commit
dbe5e405a8
@ -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
|
||||||
|
@ -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)
|
||||||
|
@ -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),
|
||||||
|
@ -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\
|
||||||
|
BIN
gramps2/src/images/stock_calendar.png
Normal file
BIN
gramps2/src/images/stock_calendar.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.0 KiB |
Loading…
Reference in New Issue
Block a user