mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
fix the linux desktop filename mapping for ebook-edit
This was initially added in commit efb83eb6fcd1b175e70281fc0776ca2e53422ad0 with a filler name that, however, didn't match the usual style of desktop filenames. When the actual desktop file was added in commit a87092ba4f5e61aa51149c2c34880582613037f0 it didn't match the filename. Although it was mass renamed from "tweak" to "edit" in commit 289ef5f0b9a4a87e6918744af64ff0d80f6a6c42, 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
@ -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…
x
Reference in New Issue
Block a user