changeset 2cf50567693d in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset;node=2cf50567693d
description:
Remove shortcuts from labels
diffstat:
tryton/gui/main.py | 7 +++++--
tryton/gui/window/view_form/view/form_gtk/many2many.py | 2 +-
tryton/gui/window/view_form/view/form_gtk/one2many.py | 6 +++---
3 files changed, 9 insertions(+), 6 deletions(-)
diffs (60 lines):
diff -r 13836047b0ac -r 2cf50567693d tryton/gui/main.py
--- a/tryton/gui/main.py Fri Mar 22 11:26:31 2019 +0100
+++ b/tryton/gui/main.py Fri Mar 22 11:40:32 2019 +0100
@@ -630,9 +630,12 @@
('F2', _("Open/Search relation")),
]),
(_("List Entries"), [
- ('F3', _("Create new line")),
+ ('F4', _("Switch view")),
+ ('F3', _("Create/Select new line")),
('F2', _("Open relation")),
- ('Delete', _("Mark line for deletion")),
+ ('Delete',
+ _("Mark line for deletion/removal")),
+ ('<Ctrl>Delete', _("Mark line for removal")),
('Insert', _("Unmark line for deletion")),
]),
]),
diff -r 13836047b0ac -r 2cf50567693d
tryton/gui/window/view_form/view/form_gtk/many2many.py
--- a/tryton/gui/window/view_form/view/form_gtk/many2many.py Fri Mar 22
11:26:31 2019 +0100
+++ b/tryton/gui/window/view_form/view/form_gtk/many2many.py Fri Mar 22
11:40:32 2019 +0100
@@ -72,7 +72,7 @@
hbox.pack_start(self.but_add, expand=False, fill=False, padding=0)
self.but_remove = Gtk.Button(can_focus=False)
- tooltips.set_tip(self.but_remove, _('Remove selected record <Del>'))
+ tooltips.set_tip(self.but_remove, _('Remove selected record'))
self.but_remove.connect('clicked', self._sig_remove)
self.but_remove.add(common.IconFactory.get_image(
'tryton-remove', Gtk.IconSize.SMALL_TOOLBAR))
diff -r 13836047b0ac -r 2cf50567693d
tryton/gui/window/view_form/view/form_gtk/one2many.py
--- a/tryton/gui/window/view_form/view/form_gtk/one2many.py Fri Mar 22
11:26:31 2019 +0100
+++ b/tryton/gui/window/view_form/view/form_gtk/one2many.py Fri Mar 22
11:40:32 2019 +0100
@@ -46,7 +46,7 @@
tooltips = common.Tooltips()
but_switch = Gtk.Button(can_focus=False)
- tooltips.set_tip(but_switch, _('Switch <F4>'))
+ tooltips.set_tip(but_switch, _('Switch'))
but_switch.connect('clicked', self.switch_view)
but_switch.add(common.IconFactory.get_image(
'tryton-switch', Gtk.IconSize.SMALL_TOOLBAR))
@@ -106,7 +106,7 @@
self.but_remove = Gtk.Button(can_focus=False)
tooltips.set_tip(self.but_remove,
- _('Remove selected record <CTRL> + <Del>'))
+ _('Remove selected record'))
self.but_remove.connect('clicked', self._sig_remove, True)
self.but_remove.add(common.IconFactory.get_image(
'tryton-remove', Gtk.IconSize.SMALL_TOOLBAR))
@@ -134,7 +134,7 @@
hbox.pack_start(self.but_open, expand=False, fill=False, padding=0)
self.but_del = Gtk.Button(can_focus=False)
- tooltips.set_tip(self.but_del, _('Delete selected record <Del>'))
+ tooltips.set_tip(self.but_del, _('Delete selected record'))
self.but_del.connect('clicked', self._sig_remove, False)
self.but_del.add(common.IconFactory.get_image(
'tryton-delete', Gtk.IconSize.SMALL_TOOLBAR))