Skip to content

Commit

Permalink
display path to lilypond command in "engrave custom" dialog
Browse files Browse the repository at this point in the history
As a LilyPond developer, i have multiple (>20) lilypond builds
in separate directories, with different patches applied etc.
Lilypond version number is not enough to tell them apart in the
"engrave custom" dialog, so i made the actual paths visible
there.  A more elegant solution would be to give builds names,
but i don't think it's worth the trouble.
  • Loading branch information
jan-warchol committed Aug 14, 2013
1 parent f3dd5f5 commit 59f54df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frescobaldi_app/engrave/custom.py
Expand Up @@ -40,6 +40,7 @@
import listmodel
import widgets
import qutil
import util

from . import command

Expand Down Expand Up @@ -152,7 +153,9 @@ def loadLilyPondVersions(self):
self.versionCombo.clear()
for i in infos:
icon = 'lilypond-run' if i.version() else 'dialog-error'
text = _("LilyPond {version}").format(version=i.versionString())
text = _("LilyPond {version} ({command})").format(
version=i.versionString(),
command=util.homify(i.command))
self.versionCombo.addItem(icons.get(icon), text)
self.versionCombo.setCurrentIndex(index)

Expand Down

0 comments on commit 59f54df

Please sign in to comment.