Skip to content

Commit edf8b7e

Browse files
authored
Merge pull request #3522 from ferdnyc/fix-mime-icon-name
Add new OSP icon, install & use
2 parents 6508414 + 8f1b287 commit edf8b7e

File tree

3 files changed

+136
-7
lines changed

3 files changed

+136
-7
lines changed

setup.py

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
"""
1+
"""
22
@file
33
@brief Setup script to install OpenShot (on Linux and without any dependencies such as libopenshot)
44
@author Jonathan Thomas <[email protected]>
5-
5+
66
@section LICENSE
7-
7+
88
Copyright (c) 2008-2016 OpenShot Studios, LLC
99
(http://www.openshotstudios.com). This file is part of
1010
OpenShot Video Editor (http://www.openshot.org), an open-source project
1111
dedicated to delivering high quality video editing and animation solutions
1212
to the world.
13-
13+
1414
OpenShot Video Editor is free software: you can redistribute it and/or modify
1515
it under the terms of the GNU General Public License as published by
1616
the Free Software Foundation, either version 3 of the License, or
1717
(at your option) any later version.
18-
18+
1919
OpenShot Video Editor is distributed in the hope that it will be useful,
2020
but WITHOUT ANY WARRANTY; without even the implied warranty of
2121
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2222
GNU General Public License for more details.
23-
23+
2424
You should have received a copy of the GNU General Public License
2525
along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
2626
"""
@@ -71,6 +71,7 @@
7171
('share/pixmaps', ['xdg/openshot-qt.svg']),
7272
# XDG Freedesktop icon paths
7373
('share/icons/hicolor/scalable/apps', ['xdg/openshot-qt.svg']),
74+
('share/icons/hicolor/scalable/mimetypes', ['xdg/openshot-qt-doc.svg']),
7475
('share/icons/hicolor/64x64/apps', ['xdg/icon/64/openshot-qt.png']),
7576
('share/icons/hicolor/128x128/apps', ['xdg/icon/128/openshot-qt.png']),
7677
('share/icons/hicolor/256x256/apps', ['xdg/icon/256/openshot-qt.png']),

xdg/openshot-qt-doc.svg

+128
Loading

xdg/org.openshot.OpenShot.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<mime-type type="application/vnd.openshot-qt-project">
44
<comment>OpenShot 2.0 project</comment>
55
<glob pattern="*.osp"/>
6-
<icon name="openshot"/>
6+
<generic-icon name="openshot-qt-doc"/>
77
</mime-type>
88
</mime-info>
99

0 commit comments

Comments
 (0)