Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made possible to make the OO/LO panel a bit more narrow #1652

Merged
merged 2 commits into from
Aug 1, 2016

Conversation

oscargus
Copy link
Contributor

By using a shorter text for the button introduced in #1630 , it is possible to make it more narrow. Now, "OpenOffice/LibreOffice" is limiting the width.

Some small refactorings.

  • Manually tested changed features in running JabRef

@oscargus oscargus added type: enhancement ui cleanup-ops status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers openoffice/libreoffice labels Jul 31, 2016
Object o = xSupplier.getReferenceMarks().getByName(name);
XNameAccess nameAccess = getReferenceMarks();
if (nameAccess.hasByName(name)) {
Object o = nameAccess.getByName(name);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible to have a more speaking name for Object o?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A more speaking name for the nameAcces, maybe xNamedRefMarks, or similar as in the getBookmarkRange method, would be nice, too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For sure it is possible. I just left it as is (and have no real idea what it does since I didn't consider that part of the code). While it looks like added code, it is just a consequence of the diff algorithm not really working.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah okay. yeah, it looked like you changed it. If it is too much effort then leave it as is.

Copy link
Contributor Author

@oscargus oscargus Aug 1, 2016 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

@oscargus oscargus Aug 1, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are 111 hits for Object o. Some are probably OK as they are in equals, but it may be better to make a major overhaul for that issue.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, then I would suggest making this in a new PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated most variable names that were a bit short in OOBibBase.

@Siedlerchr
Copy link
Member

Just some minor remarks, rest looks good 👍

@oscargus oscargus merged commit 47b02ee into JabRef:master Aug 1, 2016
@oscargus oscargus deleted the renameoo branch August 1, 2016 16:58
Siedlerchr added a commit to Siedlerchr/jabref that referenced this pull request Aug 5, 2016
* master:
  Fixed OO/LO manual connection dialog on Linux
  Removed thrown Exception declarations (JabRef#1673)
  Fix JabRef#1288 Newly opened bib-file is not focused (JabRef#1671)
  Refactor DB loading
  Fix OutOfBoundsException when importing multiple entries in medline format (JabRef#1611)
  Removed the possibility to auto show or hide the groups interface (JabRef#1668)
  Add test to describe workaround for JabRef#1633
  Fixed JabRef#1643: Searching with double quotes in a specific field ignores the last character
  fix build
  Fixes JabRef#1554: JabRefFrame is set as owner for ImportInspectionDialog
  Fixed most of the ErrorProne warnings
  Replaced output of getResolvedField to Optional<String> (JabRef#1650)
  PushToApplication cleanup and refactoring (JabRef#1659)
  Replaced Object with appropriate class where possible (JabRef#1660)
  Replaced some array return types (JabRef#1661)
  Fix XMP test
  Localization
  Moved the main part of XMPUtil to jabref.XMPUtilMain and injected a b… (JabRef#1642)
  Made possible to make the OO/LO panel a bit more narrow (JabRef#1652)
  French localization: Jabref_fr: empty strings + some cleaning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup-ops openoffice/libreoffice status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers type: enhancement ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants