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:
parent
a1e29c9daf
commit
b6687ee12e
@ -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>
|
2008-02-19 Benny Malengier <benny.malengier@gramps-project.org>
|
||||||
* src/ViewManager.py: CTRL+B as accel for clipboard
|
* src/ViewManager.py: CTRL+B as accel for clipboard
|
||||||
|
|
||||||
|
@ -189,14 +189,14 @@ class Bookmarks :
|
|||||||
|
|
||||||
def draw_window(self):
|
def draw_window(self):
|
||||||
"""Draws the bookmark dialog box"""
|
"""Draws the bookmark dialog box"""
|
||||||
title = "%s - GRAMPS" % _("Edit Bookmarks")
|
title = _("%(title)s - GRAMPS") % {'title': _("Organize Bookmarks")}
|
||||||
self.top = gtk.Dialog(title)
|
self.top = gtk.Dialog(title)
|
||||||
self.top.set_default_size(400, 350)
|
self.top.set_default_size(400, 350)
|
||||||
self.top.set_modal(True)
|
self.top.set_modal(True)
|
||||||
self.top.set_has_separator(False)
|
self.top.set_has_separator(False)
|
||||||
self.top.vbox.set_spacing(5)
|
self.top.vbox.set_spacing(5)
|
||||||
label = gtk.Label('<span size="larger" weight="bold">%s</span>'
|
label = gtk.Label('<span size="larger" weight="bold">%s</span>'
|
||||||
% _("Edit Bookmarks"))
|
% _("Organize Bookmarks"))
|
||||||
label.set_use_markup(True)
|
label.set_use_markup(True)
|
||||||
self.top.vbox.pack_start(label, 0, 0, 5)
|
self.top.vbox.pack_start(label, 0, 0, 5)
|
||||||
box = gtk.HBox()
|
box = gtk.HBox()
|
||||||
|
@ -350,8 +350,9 @@ class BookMarkView(PageView):
|
|||||||
self.book_action.add_actions([
|
self.book_action.add_actions([
|
||||||
('AddBook', 'gramps-bookmark-new', _('_Add Bookmark'),
|
('AddBook', 'gramps-bookmark-new', _('_Add Bookmark'),
|
||||||
'<control>d', None, self.add_bookmark),
|
'<control>d', None, self.add_bookmark),
|
||||||
('EditBook', 'gramps-bookmark-edit', _('_Edit Bookmarks'),
|
('EditBook', 'gramps-bookmark-edit',
|
||||||
'<control>b', None,
|
_("%(title)s...") % {'title': _("Organize Bookmarks")},
|
||||||
|
'<shift><control>b', None,
|
||||||
self.edit_bookmarks),
|
self.edit_bookmarks),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ def register_stock_icons ():
|
|||||||
('gramps-attribute', _('Attribute'), gtk.gdk.CONTROL_MASK, 0, ''),
|
('gramps-attribute', _('Attribute'), gtk.gdk.CONTROL_MASK, 0, ''),
|
||||||
#('gramps-bookmark', _('Bookmarks'), 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-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-bookmark-new', _('Add Bookmark'), gtk.gdk.CONTROL_MASK, 0, ''),
|
||||||
('gramps-date', _('Date'), gtk.gdk.CONTROL_MASK, 0, ''),
|
('gramps-date', _('Date'), gtk.gdk.CONTROL_MASK, 0, ''),
|
||||||
('gramps-date-edit', _('Edit Date'), gtk.gdk.CONTROL_MASK, 0, ''),
|
('gramps-date-edit', _('Edit Date'), gtk.gdk.CONTROL_MASK, 0, ''),
|
||||||
|
Loading…
Reference in New Issue
Block a user