From: Jürgen Spitzmüller Date: Sat, 5 Apr 2008 10:46:48 +0000 (+0000) Subject: * src/frontends/qt4/GuiPrefs.cpp: X-Git-Tag: 1.6.10~5290 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2704fa5466e68e49d323d2ec3476fe3ee610950b;p=features.git * src/frontends/qt4/GuiPrefs.cpp: * src/frontends/qt4/ui/PrefShortcutsUi.ui: - add/disambiguate key accelerators. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24123 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/qt4/GuiPrefs.cpp b/src/frontends/qt4/GuiPrefs.cpp index e44041693c..c742e4ae42 100644 --- a/src/frontends/qt4/GuiPrefs.cpp +++ b/src/frontends/qt4/GuiPrefs.cpp @@ -2185,9 +2185,9 @@ void PrefShortcuts::on_shortcutsTW_itemSelectionChanged() item_type tag = static_cast(items[0]->data(0, Qt::UserRole).toInt()); if (tag == UserUnbind) - removePB->setText(qt_("Restore")); + removePB->setText(qt_("Res&tore")); else - removePB->setText(qt_("Remove")); + removePB->setText(qt_("Remo&ve")); } @@ -2242,7 +2242,7 @@ void PrefShortcuts::on_removePB_pressed() // but add an user unbind item user_unbind_.bind(shortcut, func); setItemType(items[i], UserUnbind); - removePB->setText(qt_("Restore")); + removePB->setText(qt_("Res&tore")); break; } case UserBind: { @@ -2262,7 +2262,7 @@ void PrefShortcuts::on_removePB_pressed() // become System again. user_unbind_.unbind(shortcut, func); setItemType(items[i], System); - removePB->setText(qt_("Remove")); + removePB->setText(qt_("Remo&ve")); break; } case UserExtraUnbind: { diff --git a/src/frontends/qt4/ui/PrefShortcutsUi.ui b/src/frontends/qt4/ui/PrefShortcutsUi.ui index d0adc2daba..96860da3af 100644 --- a/src/frontends/qt4/ui/PrefShortcutsUi.ui +++ b/src/frontends/qt4/ui/PrefShortcutsUi.ui @@ -38,7 +38,7 @@ - Show key-bindings containing: + Show ke&y-bindings containing: searchLE @@ -63,7 +63,7 @@ - B&rowse... + Br&owse... @@ -97,14 +97,14 @@ - &Remove + Remo&ve - New + Ne&w