Commit ae92f61c authored by Zander's avatar Zander 💥

Remove colour palette

It's free https://gitlab.gnome.org/World/palette/!
parent 4c1f3bab
Pipeline #90840 passed with stage
in 1 minute and 46 seconds
......@@ -7,19 +7,10 @@ desktop_file = i18n.merge_file(
install_dir: join_paths(get_option('datadir'), 'applications'),
)
palette_desktop_file = i18n.merge_file(
input: 'org.gnome.IconPreview.Palette.desktop.in',
output: 'org.gnome.IconPreview.Palette.desktop',
type: 'desktop',
po_dir: '../po',
install: true,
install_dir: join_paths(get_option('datadir'), 'applications'),
)
desktop_utils = find_program('desktop-file-validate', required: false)
if desktop_utils.found()
test('Validate desktop file', desktop_utils,
args: [desktop_file, palette_desktop_file]
args: [desktop_file]
)
endif
......@@ -42,20 +33,9 @@ configure_file(input: 'org.gnome.IconPreview.service.in',
configuration: conf,
install_dir: join_paths([datadir,'dbus-1/services']))
configure_file(input: 'org.gnome.IconPreview.Palette.service.in',
output: 'org.gnome.IconPreview.Palette.service',
configuration: conf,
install_dir: join_paths([datadir,'dbus-1/services']))
install_data('org.gnome.IconPreview.svg',
install_dir: join_paths([datadir,'icons/hicolor/scalable/apps']))
install_data('org.gnome.IconPreview-symbolic.svg',
install_dir: join_paths([datadir,'icons/hicolor/symbolic/apps']))
install_data('org.gnome.IconPreview.Palette.svg',
install_dir: join_paths([datadir,'icons/hicolor/scalable/apps']))
install_data('org.gnome.IconPreview.Palette-symbolic.svg',
install_dir: join_paths([datadir,'icons/hicolor/symbolic/apps']))
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
sodipodi:docname="org.gnome.Palette-symbolic.svg"
height="16"
id="svg7384"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"
version="1.1"
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:bbox-nodes="true"
inkscape:bbox-paths="true"
bordercolor="#666666"
borderopacity="1"
inkscape:current-layer="layer11"
inkscape:cx="36.666062"
inkscape:cy="-8.8982502"
gridtolerance="10"
inkscape:guide-bbox="true"
guidetolerance="10"
id="namedview88"
inkscape:object-nodes="false"
inkscape:object-paths="false"
objecttolerance="10"
pagecolor="#e3e4e3"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
showborder="true"
showgrid="true"
showguides="true"
inkscape:snap-bbox="true"
inkscape:snap-bbox-midpoints="true"
inkscape:snap-global="true"
inkscape:snap-grids="true"
inkscape:snap-nodes="true"
inkscape:snap-others="true"
inkscape:snap-to-guides="true"
inkscape:window-height="1016"
inkscape:window-maximized="1"
inkscape:window-width="1920"
inkscape:window-x="1600"
inkscape:window-y="27"
inkscape:zoom="2.8284271"
inkscape:pagecheckerboard="false"
inkscape:snap-page="true"
inkscape:snap-bbox-edge-midpoints="true">
<inkscape:grid
empspacing="2"
enabled="true"
id="grid4866"
originx="39.9998"
originy="650"
snapvisiblegridlinesonly="true"
spacingx="1"
spacingy="1"
type="xygrid"
visible="true" />
</sodipodi:namedview>
<title
id="title9167">Gnome Symbolic Icon Theme</title>
<defs
id="defs7386" />
<g
inkscape:groupmode="layer"
id="layer11"
inkscape:label="apps"
transform="translate(-201.0004,-867)">
<g
transform="translate(41.0002,695)"
style="display:inline;fill:#241f31;fill-opacity:1;enable-background:new"
id="g1145">
<path
sodipodi:nodetypes="ccccccccccc"
inkscape:connector-curvature="0"
id="rect1088"
transform="translate(0,172)"
d="m 172.65625,9 -5.81836,5.816406 -0.01,0.0098 c -3.6e-4,3.61e-4 3.7e-4,0.0016 0,0.002 -0.008,0.0077 -0.0176,0.0119 -0.0254,0.01953 -0.036,0.03406 -0.0745,0.0654 -0.11523,0.09375 -0.005,0.0039 -0.009,0.0079 -0.0137,0.01172 -0.0184,0.01661 -0.038,0.03067 -0.0566,0.04687 H 176 V 9 Z"
style="opacity:1;vector-effect:none;fill:#241f31;fill-opacity:1;stroke:none;stroke-width:1.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="cccccc"
inkscape:connector-curvature="0"
id="rect1086"
transform="translate(0,172)"
d="M 170.36523,1.3925781 168,3.7578125 V 12 c -9.1e-4,0.09738 -0.0161,0.194103 -0.0449,0.287109 l 6.65234,-6.6523434 z"
style="opacity:1;vector-effect:none;fill:#241f31;fill-opacity:1;stroke:none;stroke-width:1.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="rect1044"
transform="translate(0,172)"
d="M 161,0 V 11.957031 12 h 0.002 a 3,3 0 0 0 0.87696,2.121094 3,3 0 0 0 4.24218,0 A 3,3 0 0 0 166.99805,12 H 167 V 0 Z m 3.01367,11 a 1,1 0 0 1 0.69336,0.292969 1,1 0 0 1 0,1.414062 1,1 0 0 1 -1.41406,0 1,1 0 0 1 0,-1.414062 A 1,1 0 0 1 164.01367,11 Z"
style="opacity:1;vector-effect:none;fill:#241f31;fill-opacity:1;stroke:none;stroke-width:1.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
</g>
</g>
</svg>
[Desktop Entry]
Name=Colour Palette
Comment=Icon colour pallete
Exec=gnome-icon-palette
# Traslators: Don't translate this, it's the application icon name
Icon=org.gnome.IconPreview.Palette
Terminal=false
Type=Application
StartupNotify=true
Categories=Utility;GTK;GNOME;
DBusActivatable=true
StartupWMClass=gnome-icon-palette
[D-BUS Service]
Name=org.gnome.IconPreview.Palette
Exec=@BINDIR@/gnome-icon-palette --gapplication-service
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
enable-background="new"
viewBox="0 0 128 128"
style="display:inline;enable-background:new"
version="1.0"
id="svg11300"
height="128"
width="128">
<title
id="title4162">Adwaita Icon Template</title>
<defs
id="defs3">
<linearGradient
id="linearGradient1698">
<stop
style="stop-color:#9a9996;stop-opacity:1"
offset="0"
id="stop1694" />
<stop
id="stop1700"
offset="0.5"
style="stop-color:#deddda;stop-opacity:1" />
<stop
style="stop-color:#9a9996;stop-opacity:1"
offset="1"
id="stop1696" />
</linearGradient>
<linearGradient
id="linearGradient1684">
<stop
id="stop1680"
offset="0"
style="stop-color:#f6f5f4;stop-opacity:1" />
<stop
id="stop1682"
offset="1"
style="stop-color:#949390;stop-opacity:1" />
</linearGradient>
<radialGradient
r="4"
fy="267"
fx="32"
cy="267"
cx="32"
gradientTransform="translate(0,-7)"
gradientUnits="userSpaceOnUse"
id="radialGradient1678"
xlink:href="#linearGradient1684" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="232"
x2="52"
y1="232"
x1="12"
id="linearGradient1692"
xlink:href="#linearGradient1698" />
<linearGradient
y2="226.64467"
x2="24.928932"
y1="254.92894"
x1="-3.3553388"
gradientUnits="userSpaceOnUse"
id="linearGradient1710"
xlink:href="#linearGradient1698" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="242"
x2="12"
y1="282"
x1="12"
id="linearGradient1718"
xlink:href="#linearGradient1698" />
</defs>
<metadata
id="metadata4">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:creator>
<cc:Agent>
<dc:title>GNOME Design Team</dc:title>
</cc:Agent>
</dc:creator>
<dc:source />
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" />
<dc:title>Adwaita Icon Template</dc:title>
<dc:subject>
<rdf:Bag />
</dc:subject>
<dc:date />
<dc:rights>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:rights>
<dc:publisher>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:publisher>
<dc:identifier />
<dc:relation />
<dc:language />
<dc:coverage />
<dc:description />
<dc:contributor>
<cc:Agent>
<dc:title />
</cc:Agent>
</dc:contributor>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<g
transform="translate(0,-172)"
style="display:inline"
id="layer1">
<g
style="display:inline"
id="layer9">
<g
id="g1038"
style="display:inline;fill:#dc8add;enable-background:new"
transform="rotate(90,-49.75,357.25)">
<g
id="g1036"
style="fill:#ffffff">
<circle
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.00000024;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="circle1030"
cx="31"
cy="269"
r="19" />
<rect
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect1032"
width="38"
height="69.999977"
x="12"
y="200" />
<rect
ry="7.9999995"
rx="8"
y="180"
x="12"
height="48"
width="38"
id="rect1034"
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
</g>
</g>
<g
transform="translate(7.5,169)"
style="display:inline;fill:#dc8add;enable-background:new"
id="g997-5">
<g
style="fill:#ffffff"
id="g1028-4">
<circle
r="19"
cy="269"
cx="31"
id="path985-9"
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.00000024;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
y="200"
x="12"
height="69.999977"
width="38"
id="rect993-1"
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect1023-9"
width="38"
height="48"
x="12"
y="180"
rx="8"
ry="7.9999995" />
</g>
</g>
<g
id="g1674">
<g
id="g1605"
transform="rotate(90,30,264)">
<path
style="opacity:1;vector-effect:none;fill:url(#linearGradient1718);fill-opacity:1;stroke:none;stroke-width:2.00000024;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 22,176 c -4.432,0 -8,3.568 -8,8 v 30 l 0,48 c 0,11.04569 8.954305,20 20,20 11.045695,0 20,-8.95431 20,-20 l 0,-70 v -8 c 0,-4.432 -3.568,-8 -8,-8 z"
id="path1589" />
<g
id="g1597">
<circle
r="20"
cy="262"
cx="32"
id="circle1591"
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.00000024;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
y="194"
x="12"
height="68"
width="40"
id="rect1593"
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.99999976;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect1595"
width="40"
height="44.000015"
x="12"
y="175.99998"
rx="8"
ry="7.9999995" />
</g>
<rect
style="opacity:1;vector-effect:none;fill:#26a269;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect1599"
width="40"
height="16"
x="12"
y="226" />
<rect
y="206"
x="12"
height="16"
width="40"
id="rect1601"
style="opacity:1;vector-effect:none;fill:#33d17a;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
style="opacity:1;vector-effect:none;fill:#8ff0a4;fill-opacity:1;stroke:none;stroke-width:1.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect1603"
width="40"
height="16"
x="12"
y="186" />
</g>
<g
transform="rotate(45,29.585787,263)"
id="g1623">
<path
id="path1607"
d="m 21.414214,179.41422 c -4.432,0 -8,3.568 -8,8 v 28 48 a 20,20 0 0 0 20,20 20,20 0 0 0 20,-20 v -68 -8 c 0,-4.432 -3.568,-8 -8,-8 z"
style="opacity:1;vector-effect:none;fill:url(#linearGradient1710);fill-opacity:1;stroke:none;stroke-width:2.00000024;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<g
id="g1615">
<circle
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.00000024;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="circle1609"
cx="32"
cy="262"
r="20" />
<rect
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.99999976;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect1611"
width="40"
height="68"
x="12"
y="194" />
<rect
ry="7.9999995"
rx="8"
y="177.99998"
x="12"
height="44.000015"
width="40"
id="rect1613"
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
</g>
<rect
y="228"
x="12"
height="16"
width="40"
id="rect1617"
style="opacity:1;vector-effect:none;fill:#a51d2d;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
style="opacity:1;vector-effect:none;fill:#e01b24;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect1619"
width="40"
height="16"
x="12"
y="208" />
<rect
y="188"
x="12"
height="16"
width="40"
id="rect1621"
style="opacity:1;vector-effect:none;fill:#f66151;fill-opacity:1;stroke:none;stroke-width:1.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
</g>
<g
id="g1587">
<path
id="circle1567"
d="m 20,180 c -4.432,0 -8,3.568 -8,8 v 28 48 a 20,20 0 0 0 20,20 20,20 0 0 0 20,-20 v -68 -8 c 0,-4.432 -3.568,-8 -8,-8 z"
style="opacity:1;vector-effect:none;fill:url(#linearGradient1692);fill-opacity:1;stroke:none;stroke-width:2.00000024;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<g
id="g1565">
<circle
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2.00000024;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="path985"
cx="32"
cy="262"
r="20" />
<rect
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.99999976;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect993"
width="40"
height="68"
x="12"
y="194" />
<rect
ry="7.9999995"
rx="8"
y="177.99998"
x="12"
height="44.000015"
width="40"
id="rect1023"
style="opacity:1;vector-effect:none;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
</g>
<rect
y="228"
x="12"
height="16"
width="40"
id="rect1105"
style="opacity:1;vector-effect:none;fill:#1a5fb4;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<rect
style="opacity:1;vector-effect:none;fill:#3584e4;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="rect1109"
width="40"
height="16"
x="12"
y="208" />
<rect
y="188"
x="12"
height="16"
width="40"
id="rect1111"
style="opacity:1;vector-effect:none;fill:#98c1f1;fill-opacity:1;stroke:none;stroke-width:1.99999988;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
</g>
<circle
r="4"
cy="262"
cx="32"
id="circle1092"
style="opacity:1;vector-effect:none;fill:#5e5c64;fill-opacity:1;stroke:none;stroke-width:2.00000024;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<circle
style="opacity:1;vector-effect:none;fill:url(#radialGradient1678);fill-opacity:1;stroke:none;stroke-width:2.00000024;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="circle1676"
cx="32"
cy="261"
r="4" />
</g>
</g>
</g>
</svg>
......@@ -41,7 +41,6 @@ namespace IconPreview {
public class Application : Dazzle.Application {
const GLib.ActionEntry[] entries = {
{ "palette", palette },
{ "new-window", new_window },
{ "quit", quit }
};
......@@ -53,21 +52,7 @@ namespace IconPreview {
application_id = "org.gnome.IconPreview";
flags = HANDLES_OPEN | HANDLES_COMMAND_LINE;
// Open the palette instead of a normal window
add_main_option ("palette", 'p', IN_MAIN, NONE, _("Open colour palette"), null);
}
// Handler for app.palette
private void palette () {
var context = Gdk.Display.get_default().get_app_launch_context();
context.set_icon_name ("org.gnome.IconPreview.Palette");
var palette = new DesktopAppInfo ("org.gnome.IconPreview.Palette.desktop");
try {
palette.launch (null, context);
} catch (Error e) {
warning ("Launching failed: %s\n", e.message);
}
add_main_option ("palette", 'p', IN_MAIN, NONE, _("no longer supported"), null);
}
// Open a new window (app.new-window)
......@@ -113,7 +98,8 @@ namespace IconPreview {
// If opening the palette directly
if (options.contains("palette")) {
palette();
cli.printerr(_("Palette is all grown up!\n" +
"It's not available seperatly as org.gnome.zbrown.Palette"));
// Don't activate normally
return 0;
......
......@@ -6,10 +6,6 @@
<attribute name="label" translatable="yes">_New Window</attribute>
<attribute name="action">app.new-window</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Colour Palette</attribute>
<attribute name="action">app.palette</attribute>
</item>
</section>
<section id="view">
<item>
......@@ -39,18 +35,4 @@
</item>
</section>
</menu>
<menu id="win-palette-menu">
<section id="app">
<item>
<attribute name="label" translatable="yes">_Icon Preview</attribute>
<attribute name="action">win.icon-preview</attribute>
</item>
</section>
<section id="help">
<item>
<attribute name="label" translatable="yes">_About Colour Palette</attribute>
<attribute name="action">win.about</attribute>
</item>
</section>
</menu>
</interface>
deps = [
dependency('gtk+-3.0'),
dependency('gio-unix-2.0'),
dependency('librsvg-2.0'),
dependency('libdazzle-1.0'),
dependency('libhandy-0.0')
......@@ -44,15 +43,3 @@ sources += gnome.compile_resources('wallpapers',
executable('gnome-icon-preview', sources, dependencies: deps, install: true)
palette_sources = [
config,
'common.vala',
'palette.vala',
]
palette_sources += gnome.compile_resources('palette',
'palette.gresource.xml'
)
executable('gnome-icon-palette', palette_sources, dependencies: deps, install: true)
GIMP Palette
Name: GNOME HIG Colors
Columns: 0
#
152 193 241 Blue 1
98 160 234 Blue 2
53 132 228 Blue 3
28 113 216 Blue 4
26 95 180 Blue 5
143 240 164 Green 1
87 227 137 Green 2
51 209 122 Green 3
46 194 126 Green 4
38 162 105 Green 5
249 240 107 Yellow 1
248 228 92 Yellow 2
246 211 45 Yellow 3
245 194 17 Yellow 4
229 165 10 Yellow 5
255 190 111 Orange 1
255 163 72 Orange 2
255 120 0 Orange 3
230 97 0 Orange 4
198 70 0 Orange 5
246 97 81 Red 1
237 51 59 Red 2
224 27 36 Red 3
192 28 40 Red 4
165 29 45 Red 5
220 138 221 Purple 1
192 97 203 Purple 2
163 71 186 Purple 3
129 61 156 Purple 4
97 53 131 Purple 5
205 171 143 Brown 1
181 131 90 Brown 2
152 106 68 Brown 3
134 94 60 Brown 4
99 69 44 Brown 5
255 255 255 Light 1
246 245 244 Light 2
222 221 218 Light 3
192 191 188 Light 4
154 153 150 Light 5
119 118 123 Dark 1
94 92 100 Dark 2
61 56 70 Dark 3
36 31 49 Dark 4
0 0 0 Dark 5
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/gnome/IconPreview/Palette/">
<file>palette.ui</file>
<file alias="palette.gpl">hig/GNOME HIG.gpl</file>
</gresource>
<gresource prefix="/org/gnome/IconPreview/Palette/gtk/">
<file>style.css</file>
<file>menus.ui</file>
</gresource>
</gresources>
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.0 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<template class="IconPreviewPalette" parent="GtkApplicationWindow">
<property name="can_focus">False</property>
<property name="resizable">False</property>
<child>
<object class="GtkGrid">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">center</property>
<property name="valign">center</property>
<property name="margin_left">16</property>
<property name="margin_right">16</property>
<property name="margin_top">16</property>
<property name="margin_bottom">16</property>
<property name="row_spacing">6</property>
<property name="column_spacing">16</property>
<property name="row_homogeneous">True</property>
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Blue</property>