* 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
This commit is contained in:
Don Allingham 2006-05-16 03:35:10 +00:00
parent 48d83819e3
commit 8139998822
11 changed files with 22 additions and 4 deletions

View File

@ -1,4 +1,14 @@
2006-05-15 Don Allingham <don@gramps-project.org> 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 * src/DisplayTabs/_DataEmbedList.py: disable DND
2006-05-15 Alex Roitman <shura@gramps-project.org> 2006-05-15 Alex Roitman <shura@gramps-project.org>

View File

@ -242,9 +242,9 @@ class BookMarkView(PageView):
def define_actions(self): def define_actions(self):
self.book_action = gtk.ActionGroup(self.title + '/Bookmark') self.book_action = gtk.ActionGroup(self.title + '/Bookmark')
self.book_action.add_actions([ 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), self.add_bookmark),
('EditBook',None,_('_Edit bookmarks'),'<control>b',None, ('EditBook','gramps-edit-bookmark', _('_Edit bookmarks'),'<control>b',None,
self.edit_bookmarks), self.edit_bookmarks),
]) ])

View File

@ -337,7 +337,7 @@ class ViewManager:
self._action_action_list = [ self._action_action_list = [
('SaveAs', gtk.STOCK_SAVE_AS, _('_Save As'),"<control><shift>s", ('SaveAs', gtk.STOCK_SAVE_AS, _('_Save As'),"<control><shift>s",
None, self.save_as_activate), None, self.save_as_activate),
('Export', gtk.STOCK_SAVE_AS, _('_Export'), "<control>e", None, ('Export', 'gramps-export', _('_Export'), "<control>e", None,
self.export_data), self.export_data),
('Abandon', gtk.STOCK_REVERT_TO_SAVED, ('Abandon', gtk.STOCK_REVERT_TO_SAVED,
_('_Abandon changes and quit'), None, None, self.abort), _('_Abandon changes and quit'), None, None, self.abort),
@ -387,7 +387,7 @@ class ViewManager:
] ]
self._undo_history_action_list = [ self._undo_history_action_list = [
('UndoHistory', 'stock_undo-history', ('UndoHistory', 'gramps-undo-history',
_('Undo History'), None, None, self.undo_history), _('Undo History'), None, None, self.undo_history),
] ]

View File

@ -74,6 +74,14 @@ def register_stock_icons ():
('gramps-place',_('Places'),gtk.gdk.CONTROL_MASK,0,'')), ('gramps-place',_('Places'),gtk.gdk.CONTROL_MASK,0,'')),
(os.path.join(const.image_dir,'place.png'), (os.path.join(const.image_dir,'place.png'),
('gramps-map',_('Map'),gtk.gdk.CONTROL_MASK,0,'')), ('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 # Register our stock items

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 738 B