mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-01 00:45:42 +01:00
fix the linux desktop filename mapping for ebook-edit
This was initially added in commitefb83eb6fcwith a filler name that, however, didn't match the usual style of desktop filenames. When the actual desktop file was added in commita87092ba4fit didn't match the filename. Although it was mass renamed from "tweak" to "edit" in commit289ef5f0b9, 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:
parent
4761866fa3
commit
030c80a68c
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue