general: move the Nautilus icon to the source tree
Instead of using a themed icon. This is necessary for flatpak Nautilus properly. Patch made mostly by Mathieu Bridon and help of Patrick Griffis. Thanks a lot!
|
@ -319,6 +319,7 @@ LIBGD_INIT([
|
|||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
data/Makefile
|
||||
data/icons/Makefile
|
||||
docs/Makefile
|
||||
docs/reference/Makefile
|
||||
docs/reference/libnautilus-extension/Makefile
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
NULL=
|
||||
|
||||
SUBDIRS = icons
|
||||
|
||||
desktopdir = $(datadir)/applications
|
||||
desktop_in_files = \
|
||||
org.gnome.Nautilus.desktop.in \
|
||||
|
|
23
data/icons/Makefile.am
Normal file
|
@ -0,0 +1,23 @@
|
|||
icondir = $(datadir)/icons
|
||||
nobase_icon_DATA = \
|
||||
$(srcdir)/hicolor/16x16/apps/org.gnome.Nautilus.png \
|
||||
$(srcdir)/hicolor/22x22/apps/org.gnome.Nautilus.png \
|
||||
$(srcdir)/hicolor/24x24/apps/org.gnome.Nautilus.png \
|
||||
$(srcdir)/hicolor/32x32/apps/org.gnome.Nautilus.png \
|
||||
$(srcdir)/hicolor/48x48/apps/org.gnome.Nautilus.png \
|
||||
$(srcdir)/hicolor/symbolic/apps/org.gnome.Nautilus-symbolic.svg
|
||||
|
||||
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
|
||||
|
||||
install-data-hook: update-icon-cache
|
||||
uninstall-hook: update-icon-cache
|
||||
update-icon-cache:
|
||||
@-if test -z "$(DESTDIR)"; then \
|
||||
echo "Updating Gtk icon cache."; \
|
||||
$(gtk_update_icon_cache); \
|
||||
else \
|
||||
echo "*** Icon cache not updated. After (un)install, run this:"; \
|
||||
echo "*** $(gtk_update_icon_cache)"; \
|
||||
fi
|
||||
|
||||
EXTRA_DIST = $(nobase_icon_DATA)
|
BIN
data/icons/hicolor/16x16/apps/org.gnome.Nautilus.png
Normal file
After Width: | Height: | Size: 777 B |
BIN
data/icons/hicolor/22x22/apps/org.gnome.Nautilus.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
data/icons/hicolor/24x24/apps/org.gnome.Nautilus.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
data/icons/hicolor/256x256/apps/org.gnome.Nautilus.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
data/icons/hicolor/32x32/apps/org.gnome.Nautilus.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
data/icons/hicolor/48x48/apps/org.gnome.Nautilus.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
|
@ -0,0 +1,30 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg xmlns:cc='http://creativecommons.org/ns#' xmlns:svg='http://www.w3.org/2000/svg' xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape' id='svg7384' xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd' version='1.1' inkscape:version='0.47 r22583' height='16' sodipodi:docname='system-file-manager-symbolic.svg' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns='http://www.w3.org/2000/svg' width='16'>
|
||||
<metadata id='metadata90'>
|
||||
<rdf:RDF>
|
||||
<cc:Work rdf:about=''>
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage'/>
|
||||
<dc:title>Gnome Symbolic Icon Theme</dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<sodipodi:namedview inkscape:object-paths='true' inkscape:cy='-218.16054' inkscape:current-layer='layer11' inkscape:window-width='1920' pagecolor='#555753' showborder='false' showguides='true' inkscape:snap-nodes='false' objecttolerance='10' showgrid='true' inkscape:object-nodes='true' inkscape:pageshadow='2' inkscape:guide-bbox='true' inkscape:window-x='0' inkscape:snap-bbox='true' bordercolor='#666666' id='namedview88' inkscape:window-maximized='1' inkscape:snap-global='true' inkscape:window-y='26' gridtolerance='10' inkscape:zoom='1' inkscape:window-height='1021' borderopacity='1' guidetolerance='10' inkscape:snap-bbox-midpoints='false' inkscape:cx='-144.56708' inkscape:bbox-paths='false' inkscape:snap-grids='true' inkscape:pageopacity='1' inkscape:snap-to-guides='true'>
|
||||
<inkscape:grid visible='true' spacingx='1px' type='xygrid' spacingy='1px' id='grid4866' empspacing='2' enabled='true' snapvisiblegridlinesonly='true'/>
|
||||
</sodipodi:namedview>
|
||||
<title id='title9167'>Gnome Symbolic Icon Theme</title>
|
||||
<defs id='defs7386'/>
|
||||
<g transform='translate(-202.0002,-490)' inkscape:groupmode='layer' id='layer9' inkscape:label='status' style='display:inline'/>
|
||||
<g transform='translate(-202.0002,-490)' inkscape:groupmode='layer' id='layer10' inkscape:label='devices'/>
|
||||
<g transform='translate(-202.0002,-490)' inkscape:groupmode='layer' id='layer11' inkscape:label='apps'>
|
||||
|
||||
<path inkscape:connector-curvature='0' d='M 205.1875,490 C 203.98238,490 203,491.01795 203,492.21875 l 0,11.5625 c 0,1.2008 0.98238,2.21875 2.1875,2.21875 l 9.625,0 c 1.20512,0 2.1875,-1.01795 2.1875,-2.21875 l 0,-11.5625 C 217,491.01795 216.01762,490 214.8125,490 l -9.625,0 z m -0.1875,3 10,0 0,11 -10,0 0,-11 z m 1,1 0,4 8.03125,0 0,-4 L 206,494 z m 2.34375,1.4375 a 0.50004997,0.50004997 0 0 1 0.0625,0 0.50004997,0.50004997 0 0 1 0.59375,0.5 l 0,0.0625 2,0 0,-0.0625 a 0.50004997,0.50004997 0 1 1 1,0 L 212,496 c 0,0.54535 -0.45465,1 -1,1 l -2,0 c -0.54535,0 -1,-0.45465 -1,-1 l 0,-0.0625 a 0.50004997,0.50004997 0 0 1 0.34375,-0.5 z m -2.3125,3.5625 0,4 8.03125,0 0,-4 -8.03125,0 z m 2.3125,1.4375 a 0.50004997,0.50004997 0 0 1 0.0625,0 0.50004997,0.50004997 0 0 1 0.59375,0.5 l 0,0.0625 2,0 0,-0.0625 a 0.50004997,0.50004997 0 1 1 1,0 L 212,501 c 0,0.54535 -0.45465,1 -1,1 l -2,0 c -0.54535,0 -1,-0.45465 -1,-1 l 0,-0.0625 a 0.50004997,0.50004997 0 0 1 0.34375,-0.5 z' id='rect11668-7' style='color:#000000;fill:#bebebe;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate'/>
|
||||
</g>
|
||||
<g transform='translate(-202.0002,-490)' inkscape:groupmode='layer' id='layer12' inkscape:label='actions'/>
|
||||
<g transform='translate(-202.0002,-490)' inkscape:groupmode='layer' id='layer13' inkscape:label='places'/>
|
||||
<g transform='translate(-202.0002,-490)' inkscape:groupmode='layer' id='layer14' inkscape:label='mimetypes'/>
|
||||
<g transform='translate(-202.0002,-490)' inkscape:groupmode='layer' id='layer15' inkscape:label='emblems' style='display:inline'/>
|
||||
<g transform='translate(-202.0002,-490)' inkscape:groupmode='layer' id='g4953' inkscape:label='categories' style='display:inline'/>
|
||||
</svg>
|
After Width: | Height: | Size: 4 KiB |
9909
data/icons/src/org.gnome.Nautilus.svg
Normal file
After Width: | Height: | Size: 432 KiB |
|
@ -5,7 +5,7 @@ Comment=Access and organize files
|
|||
Keywords=folder;manager;explore;disk;filesystem;
|
||||
Exec=nautilus --new-window %U
|
||||
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
|
||||
Icon=system-file-manager
|
||||
Icon=org.gnome.Nautilus
|
||||
Terminal=false
|
||||
Type=Application
|
||||
DBusActivatable=true
|
||||
|
|