Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Cantor
Commits
703fcf6f
Commit
703fcf6f
authored
Nov 08, 2020
by
Kishore Gopalakrishnan
Browse files
Define the mimetype for cantor worksheets (.cws files)
parent
25c2fe41
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
703fcf6f
...
...
@@ -46,6 +46,7 @@ install(TARGETS cantor ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
install
(
PROGRAMS org.kde.cantor.desktop DESTINATION
${
KDE_INSTALL_APPDIR
}
)
install
(
FILES cantor_shell.rc DESTINATION
${
KDE_INSTALL_KXMLGUI5DIR
}
/cantor
)
install
(
FILES cantor.knsrc DESTINATION
${
KDE_INSTALL_KNSRCDIR
}
)
install
(
FILES cantor.xml DESTINATION
${
XDG_MIME_INSTALL_DIR
}
)
#########################################################################
# KPART SECTION
...
...
src/cantor.xml
0 → 100644
View file @
703fcf6f
<?xml version="1.0" encoding="utf-8"?>
<mime-info
xmlns=
"http://www.freedesktop.org/standards/shared-mime-info"
>
<mime-type
type=
"application/x-cantor"
>
<comment>
Cantor worksheet
</comment>
<glob
pattern=
"*.cws"
/>
</mime-type>
</mime-info>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment