* src/ViewManager.py: new stock icon support
* src/gramps_main.py: new stock icon support * src/PageView.py: new stock icon support * src/images/stock_new-html.png: added * src/images/stock_delete-bookmark.png: added * src/images/stock_export.png: added * src/images/stock_edit-bookmark.png: added * src/images/stock_add-bookmark.png: added * src/images/stock_undo-history.png: added * src/images/stock_bookmark.png: added svn: r6678
@ -1,4 +1,14 @@
|
||||
2006-05-15 Don Allingham <don@gramps-project.org>
|
||||
* src/ViewManager.py: new stock icon support
|
||||
* src/gramps_main.py: new stock icon support
|
||||
* src/PageView.py: new stock icon support
|
||||
* src/images/stock_new-html.png: added
|
||||
* src/images/stock_delete-bookmark.png: added
|
||||
* src/images/stock_export.png: added
|
||||
* src/images/stock_edit-bookmark.png: added
|
||||
* src/images/stock_add-bookmark.png: added
|
||||
* src/images/stock_undo-history.png: added
|
||||
* src/images/stock_bookmark.png: added
|
||||
* src/DisplayTabs/_DataEmbedList.py: disable DND
|
||||
|
||||
2006-05-15 Alex Roitman <shura@gramps-project.org>
|
||||
|
@ -242,9 +242,9 @@ class BookMarkView(PageView):
|
||||
def define_actions(self):
|
||||
self.book_action = gtk.ActionGroup(self.title + '/Bookmark')
|
||||
self.book_action.add_actions([
|
||||
('AddBook',gtk.STOCK_INDEX,_('_Add bookmark'),'<control>d',None,
|
||||
('AddBook','gramps-add-bookmark', _('_Add bookmark'),'<control>d',None,
|
||||
self.add_bookmark),
|
||||
('EditBook',None,_('_Edit bookmarks'),'<control>b',None,
|
||||
('EditBook','gramps-edit-bookmark', _('_Edit bookmarks'),'<control>b',None,
|
||||
self.edit_bookmarks),
|
||||
])
|
||||
|
||||
|
@ -337,7 +337,7 @@ class ViewManager:
|
||||
self._action_action_list = [
|
||||
('SaveAs', gtk.STOCK_SAVE_AS, _('_Save As'),"<control><shift>s",
|
||||
None, self.save_as_activate),
|
||||
('Export', gtk.STOCK_SAVE_AS, _('_Export'), "<control>e", None,
|
||||
('Export', 'gramps-export', _('_Export'), "<control>e", None,
|
||||
self.export_data),
|
||||
('Abandon', gtk.STOCK_REVERT_TO_SAVED,
|
||||
_('_Abandon changes and quit'), None, None, self.abort),
|
||||
@ -387,7 +387,7 @@ class ViewManager:
|
||||
]
|
||||
|
||||
self._undo_history_action_list = [
|
||||
('UndoHistory', 'stock_undo-history',
|
||||
('UndoHistory', 'gramps-undo-history',
|
||||
_('Undo History'), None, None, self.undo_history),
|
||||
]
|
||||
|
||||
|
@ -74,6 +74,14 @@ def register_stock_icons ():
|
||||
('gramps-place',_('Places'),gtk.gdk.CONTROL_MASK,0,'')),
|
||||
(os.path.join(const.image_dir,'place.png'),
|
||||
('gramps-map',_('Map'),gtk.gdk.CONTROL_MASK,0,'')),
|
||||
(os.path.join(const.image_dir,'stock_export.png'),
|
||||
('gramps-export',_('Map'),gtk.gdk.CONTROL_MASK,0,'')),
|
||||
(os.path.join(const.image_dir,'stock_undo-history.png'),
|
||||
('gramps-undo-history',_('Undo History'),gtk.gdk.CONTROL_MASK,0,'')),
|
||||
(os.path.join(const.image_dir,'stock_add-bookmark.png'),
|
||||
('gramps-add-bookmark',_('Add bookmark'),gtk.gdk.CONTROL_MASK,0,'')),
|
||||
(os.path.join(const.image_dir,'stock_edit-bookmark.png'),
|
||||
('gramps-edit-bookmark',_('Edit bookmarks'),gtk.gdk.CONTROL_MASK,0,'')),
|
||||
]
|
||||
|
||||
# Register our stock items
|
||||
|
BIN
gramps2/src/images/stock_add-bookmark.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
gramps2/src/images/stock_bookmark.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
gramps2/src/images/stock_delete-bookmark.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
gramps2/src/images/stock_edit-bookmark.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
gramps2/src/images/stock_export.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
gramps2/src/images/stock_new-html.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
gramps2/src/images/stock_undo-history.png
Normal file
After Width: | Height: | Size: 738 B |