diff --git a/src/cceditor/ccnotepad.cpp b/src/cceditor/ccnotepad.cpp index 0818475..c4a3506 100755 --- a/src/cceditor/ccnotepad.cpp +++ b/src/cceditor/ccnotepad.cpp @@ -5347,7 +5347,7 @@ void hide_file(const QString& szFile) //isBakWrite 是否写保护swp文件,默认true。只有新文件时不需要,因为新文件不存在覆盖写的问题 //isStatic 是否静默:不弹出对话框,在外部批量查找替换文件夹时使用,避免弹窗中断。默认false //isClearSwpFile:是否回收swp交换文件,在外部批量查找替换文件夹时使用,替换后直接删除swp文件。默认false -bool CCNotePad::saveFile(QString fileName, ScintillaEditView* pEdit, bool isBakWrite, bool isStatic,bool /*isClearSwpFile*/) +bool CCNotePad::saveFile(QString fileName, ScintillaEditView* pEdit, bool isBakWrite, bool isStatic, bool isClearSwpFile) { QFile srcfile(fileName); diff --git a/src/linux/usr/share/applications/io.gitee.cxasm.notepad--.desktop b/src/linux/usr/share/applications/NotePad--.desktop similarity index 75% rename from src/linux/usr/share/applications/io.gitee.cxasm.notepad--.desktop rename to src/linux/usr/share/applications/NotePad--.desktop index 3e50291..d6a61ac 100644 --- a/src/linux/usr/share/applications/io.gitee.cxasm.notepad--.desktop +++ b/src/linux/usr/share/applications/NotePad--.desktop @@ -1,13 +1,12 @@ [Desktop Entry] Version=1.0 -Name=Notepad-- -Name[zh_CN]=Notepad-- -Comment=Notepad-- 是一个国产跨平台、简单的文本编辑器。 +Name=NotePad-- +Name[zh_CN]=NotePad-- +Comment=NotePad-- 是一个国产跨平台、简单的文本编辑器。 Type=Application -Exec=notepad-- %F -Icon=notepad-- +Exec=NotePad-- %F +Icon=/usr/share/icons/hicolor/128x128/apps/notepad--.png Categories=Development;Office; Terminal=false MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-patch;text/x-adasrc;text/x-chdr;text/x-csrc;text/css;application/x-desktop;text/x-patch;text/x-fortran;text/html;text/x-java;text/x-tex;text/x-makefile;text/x-objcsrc;text/x-pascal;application/x-perl;application/x-perl;application/x-php;text/vnd.wap.wml;text/x-python;application/x-ruby;text/sgml;application/xml;model/vrml;image/svg+xml;application/json; -# Generated from the DesktopGenerater component of the z-Tools toolkit