Skip to content

Commit

Permalink
Move edit custom entry types to bibtex menu as it is directly bibtex-…
Browse files Browse the repository at this point in the history
…related
  • Loading branch information
stefan-kolb committed Jan 29, 2016
1 parent 8fcf6fc commit b99fa52
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/net/sf/jabref/gui/JabRefFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ void addJToogleButton(JToggleButton button) {
Localization.lang("Edit strings"),
Globals.getKeyPrefs().getKey(KeyBinding.EDIT_STRINGS),
IconTheme.JabRefIcon.EDIT_STRINGS.getIcon());
private final AbstractAction customizeAction = new CustomizeEntryTypeAction();
private final AbstractAction toggleToolbar = new AbstractAction(Localization.menuTitle("Hide/show toolbar")) {

{
Expand Down Expand Up @@ -1271,6 +1272,8 @@ private void fillMenu() {
bibtex.add(editPreamble);
bibtex.add(editStrings);
bibtex.addSeparator();
bibtex.add(customizeAction);
bibtex.addSeparator();
bibtex.add(deleteEntry);
mb.add(bibtex);

Expand Down Expand Up @@ -1305,9 +1308,8 @@ private void fillMenu() {
mb.add(tools);

options.add(showPrefs);
AbstractAction customizeAction = new CustomizeEntryTypeAction();

AbstractAction genFieldsCustomization = new GenFieldsCustomizationAction();
options.add(customizeAction);
options.add(genFieldsCustomization);
options.add(customExpAction);
options.add(customImpAction);
Expand Down

0 comments on commit b99fa52

Please sign in to comment.