diff --git a/ChangeLog b/ChangeLog index a67997060..b4b0510fd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ * src/glade/gramps.glade: new date_entry * src/Errors.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 * src/docgen/GtkPrint.py: minor tweeks diff --git a/src/DateEdit.py b/src/DateEdit.py index 3e6b7e44a..7158b11ea 100644 --- a/src/DateEdit.py +++ b/src/DateEdit.py @@ -119,6 +119,9 @@ class DateEdit: self.text_obj = text_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.text_obj.connect('validate',self.validate) diff --git a/src/gramps_main.py b/src/gramps_main.py index 225ff5428..60e89efb0 100644 --- a/src/gramps_main.py +++ b/src/gramps_main.py @@ -91,6 +91,8 @@ sharefam_icon = "share-fam.png" def register_stock_icons (): 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), ('gramps-person',_('Person'),gtk.gdk.CONTROL_MASK,0,'')), (os.path.join(const.image_dir, parents_icon), diff --git a/src/images/Makefile.am b/src/images/Makefile.am index dd6d53418..e7e66dc85 100644 --- a/src/images/Makefile.am +++ b/src/images/Makefile.am @@ -83,6 +83,7 @@ dist_pkgdata_DATA = \ sources.png\ splash.jpg\ stock_add-bookmark.png\ + stock_calendar.png\ stock_bookmark.png\ stock_delete-bookmark.png\ stock_edit-bookmark.png\ diff --git a/src/images/stock_calendar.png b/src/images/stock_calendar.png new file mode 100644 index 000000000..0c224e9f0 Binary files /dev/null and b/src/images/stock_calendar.png differ