2008-02-19 Benny Malengier b <benny.malengier@gramps-project.org>

* src/Bookmarks.py:
	* src/gramps_main.py:
	* src/PageView.py:
	Don't edit bookmarks, organize them, key: shift+ctrl+b



svn: r10063
This commit is contained in:
Benny Malengier 2008-02-19 09:18:47 +00:00
parent a1e29c9daf
commit b6687ee12e
4 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2008-02-19 Benny Malengier b <benny.malengier@gramps-project.org>
* src/Bookmarks.py:
* src/gramps_main.py:
* src/PageView.py:
Don't edit bookmarks, organize them, key: shift+ctrl+b
2008-02-19 Benny Malengier <benny.malengier@gramps-project.org>
* src/ViewManager.py: CTRL+B as accel for clipboard

View File

@ -189,14 +189,14 @@ class Bookmarks :
def draw_window(self):
"""Draws the bookmark dialog box"""
title = "%s - GRAMPS" % _("Edit Bookmarks")
title = _("%(title)s - GRAMPS") % {'title': _("Organize Bookmarks")}
self.top = gtk.Dialog(title)
self.top.set_default_size(400, 350)
self.top.set_modal(True)
self.top.set_has_separator(False)
self.top.vbox.set_spacing(5)
label = gtk.Label('<span size="larger" weight="bold">%s</span>'
% _("Edit Bookmarks"))
% _("Organize Bookmarks"))
label.set_use_markup(True)
self.top.vbox.pack_start(label, 0, 0, 5)
box = gtk.HBox()

View File

@ -350,8 +350,9 @@ class BookMarkView(PageView):
self.book_action.add_actions([
('AddBook', 'gramps-bookmark-new', _('_Add Bookmark'),
'<control>d', None, self.add_bookmark),
('EditBook', 'gramps-bookmark-edit', _('_Edit Bookmarks'),
'<control>b', None,
('EditBook', 'gramps-bookmark-edit',
_("%(title)s...") % {'title': _("Organize Bookmarks")},
'<shift><control>b', None,
self.edit_bookmarks),
])

View File

@ -98,7 +98,7 @@ def register_stock_icons ():
('gramps-attribute', _('Attribute'), gtk.gdk.CONTROL_MASK, 0, ''),
#('gramps-bookmark', _('Bookmarks'), gtk.gdk.CONTROL_MASK, 0, ''),
#('gramps-bookmark-delete', _('Delete bookmark'), gtk.gdk.CONTROL_MASK, 0, ''),
('gramps-bookmark-edit', _('Edit Bookmarks'), gtk.gdk.CONTROL_MASK, 0, ''),
('gramps-bookmark-edit', _('Organize Bookmarks'), gtk.gdk.CONTROL_MASK, 0, ''),
('gramps-bookmark-new', _('Add Bookmark'), gtk.gdk.CONTROL_MASK, 0, ''),
('gramps-date', _('Date'), gtk.gdk.CONTROL_MASK, 0, ''),
('gramps-date-edit', _('Edit Date'), gtk.gdk.CONTROL_MASK, 0, ''),