fix the linux desktop filename mapping for ebook-edit

This was initially added in commit
efb83eb6fc with a filler name that,
however, didn't match the usual style of desktop filenames. When the
actual desktop file was added in commit
a87092ba4f it didn't match the filename.

Although it was mass renamed from "tweak" to "edit" in commit
289ef5f0b9, the word ordering was still
wrong.

As a result, application menus failed to correlate open windows to
pinned icons, or (on application menus that support it) group the
windows together.
This commit is contained in:
Eli Schwartz 2021-12-02 10:29:32 -05:00
parent 4761866fa3
commit 030c80a68c
No known key found for this signature in database
GPG key ID: CEB167EFB5722BD6

View file

@ -70,7 +70,7 @@ def _run(args, notify=None):
parser = option_parser()
opts, args = parser.parse_args(args)
decouple('edit-book-'), set_gui_prefs(tprefs)
override = 'calibre-edit-book' if islinux else None
override = 'calibre-ebook-edit' if islinux else None
app = Application(args, override_program_name=override, color_prefs=tprefs, windows_app_uid=EDITOR_APP_UID)
app.file_event_hook = EventAccumulator()
app.load_builtin_fonts()