summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2008-07-30 12:01:52 +0200
committerBenjamin Otte <otte@gnome.org>2008-07-30 12:01:52 +0200
commit99901b6ca1e833010178f71f76df1722d235da24 (patch)
tree6f8d6ffe2451239aec47736634d0d6d95002a2d3
parent7626dc407ba0c913fcd679adea6ff3937d43bdaa (diff)
add an icon, now that the core doesn't ship one
-rw-r--r--Makefile.am1
-rw-r--r--configure.ac7
-rw-r--r--icons/16x16/Makefile.am5
-rw-r--r--icons/16x16/swfdec-mozilla.pngbin0 -> 698 bytes
-rw-r--r--icons/22x22/Makefile.am5
-rw-r--r--icons/22x22/swfdec-mozilla.pngbin0 -> 1058 bytes
-rw-r--r--icons/24x24/Makefile.am5
-rw-r--r--icons/24x24/swfdec-mozilla.pngbin0 -> 1225 bytes
-rw-r--r--icons/32x32/Makefile.am5
-rw-r--r--icons/32x32/swfdec-mozilla.pngbin0 -> 1848 bytes
-rw-r--r--icons/48x48/Makefile.am5
-rw-r--r--icons/48x48/swfdec-mozilla.pngbin0 -> 3380 bytes
-rw-r--r--icons/Makefile.am15
-rw-r--r--icons/scalable/Makefile.am5
-rw-r--r--icons/scalable/swfdec-mozilla.svg320
-rw-r--r--src/swfmoz_player.c2
16 files changed, 374 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index d3a9b59..3fb1548 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,5 @@
SUBDIRS= \
+ icons \
mozilla-sucks \
src
diff --git a/configure.ac b/configure.ac
index 35d2f72..a9f721a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -87,6 +87,13 @@ dnl #########################
AC_CONFIG_FILES(
Makefile
+icons/Makefile
+icons/16x16/Makefile
+icons/22x22/Makefile
+icons/24x24/Makefile
+icons/32x32/Makefile
+icons/48x48/Makefile
+icons/scalable/Makefile
mozilla-sucks/Makefile
src/Makefile
)
diff --git a/icons/16x16/Makefile.am b/icons/16x16/Makefile.am
new file mode 100644
index 0000000..0c84b34
--- /dev/null
+++ b/icons/16x16/Makefile.am
@@ -0,0 +1,5 @@
+icondir = $(datadir)/icons/hicolor/16x16/apps
+icon_DATA = swfdec-mozilla.png
+
+EXTRA_DIST = $(icon_DATA)
+
diff --git a/icons/16x16/swfdec-mozilla.png b/icons/16x16/swfdec-mozilla.png
new file mode 100644
index 0000000..6771f9a
--- /dev/null
+++ b/icons/16x16/swfdec-mozilla.png
Binary files differ
diff --git a/icons/22x22/Makefile.am b/icons/22x22/Makefile.am
new file mode 100644
index 0000000..f26fddc
--- /dev/null
+++ b/icons/22x22/Makefile.am
@@ -0,0 +1,5 @@
+icondir = $(datadir)/icons/hicolor/22x22/apps
+icon_DATA = swfdec-mozilla.png
+
+EXTRA_DIST = $(icon_DATA)
+
diff --git a/icons/22x22/swfdec-mozilla.png b/icons/22x22/swfdec-mozilla.png
new file mode 100644
index 0000000..3965243
--- /dev/null
+++ b/icons/22x22/swfdec-mozilla.png
Binary files differ
diff --git a/icons/24x24/Makefile.am b/icons/24x24/Makefile.am
new file mode 100644
index 0000000..173ae99
--- /dev/null
+++ b/icons/24x24/Makefile.am
@@ -0,0 +1,5 @@
+icondir = $(datadir)/icons/hicolor/24x24/apps
+icon_DATA = swfdec-mozilla.png
+
+EXTRA_DIST = $(icon_DATA)
+
diff --git a/icons/24x24/swfdec-mozilla.png b/icons/24x24/swfdec-mozilla.png
new file mode 100644
index 0000000..78084d4
--- /dev/null
+++ b/icons/24x24/swfdec-mozilla.png
Binary files differ
diff --git a/icons/32x32/Makefile.am b/icons/32x32/Makefile.am
new file mode 100644
index 0000000..5567b6c
--- /dev/null
+++ b/icons/32x32/Makefile.am
@@ -0,0 +1,5 @@
+icondir = $(datadir)/icons/hicolor/32x32/apps
+icon_DATA = swfdec-mozilla.png
+
+EXTRA_DIST = $(icon_DATA)
+
diff --git a/icons/32x32/swfdec-mozilla.png b/icons/32x32/swfdec-mozilla.png
new file mode 100644
index 0000000..f81c69e
--- /dev/null
+++ b/icons/32x32/swfdec-mozilla.png
Binary files differ
diff --git a/icons/48x48/Makefile.am b/icons/48x48/Makefile.am
new file mode 100644
index 0000000..570148c
--- /dev/null
+++ b/icons/48x48/Makefile.am
@@ -0,0 +1,5 @@
+icondir = $(datadir)/icons/hicolor/48x48/apps
+icon_DATA = swfdec-mozilla.png
+
+EXTRA_DIST = $(icon_DATA)
+
diff --git a/icons/48x48/swfdec-mozilla.png b/icons/48x48/swfdec-mozilla.png
new file mode 100644
index 0000000..c5ca6cb
--- /dev/null
+++ b/icons/48x48/swfdec-mozilla.png
Binary files differ
diff --git a/icons/Makefile.am b/icons/Makefile.am
new file mode 100644
index 0000000..c55242d
--- /dev/null
+++ b/icons/Makefile.am
@@ -0,0 +1,15 @@
+SUBDIRS = 16x16 22x22 24x24 32x32 48x48 scalable
+
+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
diff --git a/icons/scalable/Makefile.am b/icons/scalable/Makefile.am
new file mode 100644
index 0000000..85c2e97
--- /dev/null
+++ b/icons/scalable/Makefile.am
@@ -0,0 +1,5 @@
+icondir = $(datadir)/icons/hicolor/scalable/apps
+icon_DATA = swfdec-mozilla.svg
+
+EXTRA_DIST = $(icon_DATA)
+
diff --git a/icons/scalable/swfdec-mozilla.svg b/icons/scalable/swfdec-mozilla.svg
new file mode 100644
index 0000000..46a5e4c
--- /dev/null
+++ b/icons/scalable/swfdec-mozilla.svg
@@ -0,0 +1,320 @@
+<?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://web.resource.org/cc/"
+ 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"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="64px"
+ height="64px"
+ id="svg2160"
+ sodipodi:version="0.32"
+ inkscape:version="0.45.1"
+ sodipodi:docbase="/home/cris/Desktop"
+ sodipodi:docname="swfdec_logo+lightning_mod.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape">
+ <defs
+ id="defs2162">
+ <linearGradient
+ id="linearGradient6086">
+ <stop
+ id="stop6089"
+ offset="0"
+ style="stop-color:#ffffff;stop-opacity:0.5;" />
+ <stop
+ style="stop-color:#daeb7f;stop-opacity:0.5;"
+ offset="0.25"
+ id="stop6097" />
+ <stop
+ style="stop-color:#b5d700;stop-opacity:0.48958334;"
+ offset="0.5"
+ id="stop6091" />
+ <stop
+ id="stop6093"
+ offset="1"
+ style="stop-color:#5d7f00;stop-opacity:0;" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient3167">
+ <stop
+ style="stop-color:#000000;stop-opacity:1;"
+ offset="0"
+ id="stop3169" />
+ <stop
+ style="stop-color:#3d421a;stop-opacity:1;"
+ offset="1"
+ id="stop3171" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient7077">
+ <stop
+ id="stop7079"
+ offset="0"
+ style="stop-color:#ffffff;stop-opacity:1;" />
+ <stop
+ id="stop7081"
+ offset="1"
+ style="stop-color:#d2d2d2;stop-opacity:1;" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient6092">
+ <stop
+ id="stop6094"
+ offset="0"
+ style="stop-color:#ff7722;stop-opacity:1;" />
+ <stop
+ style="stop-color:#c2481a;stop-opacity:1;"
+ offset="0.5"
+ id="stop6098" />
+ <stop
+ id="stop6096"
+ offset="1"
+ style="stop-color:#af1a12;stop-opacity:1;" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient6084">
+ <stop
+ style="stop-color:#ffffff;stop-opacity:1;"
+ offset="0"
+ id="stop6086" />
+ <stop
+ style="stop-color:#ffffff;stop-opacity:0;"
+ offset="1"
+ id="stop6088" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient5101">
+ <stop
+ style="stop-color:#ffffff;stop-opacity:1;"
+ offset="0"
+ id="stop5103" />
+ <stop
+ style="stop-color:#ffffff;stop-opacity:0;"
+ offset="1"
+ id="stop5105" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient4122">
+ <stop
+ style="stop-color:#2d4a00;stop-opacity:1;"
+ offset="0"
+ id="stop4124" />
+ <stop
+ style="stop-color:#4a7f00;stop-opacity:1;"
+ offset="1"
+ id="stop4126" />
+ </linearGradient>
+ <linearGradient
+ id="linearGradient3141">
+ <stop
+ style="stop-color:#dfff00;stop-opacity:1;"
+ offset="0"
+ id="stop3143" />
+ <stop
+ id="stop3149"
+ offset="0.5"
+ style="stop-color:#b5d700;stop-opacity:1;" />
+ <stop
+ style="stop-color:#5d7f00;stop-opacity:1;"
+ offset="1"
+ id="stop3145" />
+ </linearGradient>
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3141"
+ id="radialGradient3151"
+ cx="42.774372"
+ cy="21.348114"
+ fx="42.774372"
+ fy="21.348114"
+ r="22.727272"
+ gradientTransform="matrix(-5.0076187e-8,0.8656759,-1.0221204,-5.7746845e-8,54.547617,2.2138655)"
+ gradientUnits="userSpaceOnUse" />
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient4122"
+ id="linearGradient4128"
+ x1="32.727272"
+ y1="8.5929136"
+ x2="32.727272"
+ y2="58.917061"
+ gradientUnits="userSpaceOnUse" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient5101"
+ id="radialGradient5107"
+ cx="32.545456"
+ cy="20.427832"
+ fx="32.545456"
+ fy="20.427832"
+ r="12.181818"
+ gradientTransform="matrix(1.8507463,-6.9585484e-8,5.8877557e-8,1.3970149,-27.687927,-8.6974249)"
+ gradientUnits="userSpaceOnUse" />
+ <filter
+ inkscape:collect="always"
+ id="filter11994">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="0.88281265"
+ id="feGaussianBlur11996" />
+ </filter>
+ <filter
+ inkscape:collect="always"
+ x="-0.10231576"
+ width="1.2046315"
+ y="-0.02314285"
+ height="1.0462857"
+ id="filter13015">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="0.51261835"
+ id="feGaussianBlur13017" />
+ </filter>
+ <linearGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3167"
+ id="linearGradient3173"
+ x1="34.782578"
+ y1="14.965515"
+ x2="35.110737"
+ y2="45.892094"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(1.0436464,0,0,1.1317127,-1.30159,-2.936664)" />
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient6086"
+ id="radialGradient6095"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-5.0076187e-8,0.8656759,-1.0221204,-5.7746845e-8,54.547617,2.2138655)"
+ cx="19.112965"
+ cy="21.348116"
+ fx="19.112965"
+ fy="21.348116"
+ r="22.727272" />
+ <filter
+ inkscape:collect="always"
+ id="filter10966">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="0.41033419"
+ id="feGaussianBlur10968" />
+ </filter>
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient5101"
+ id="radialGradient10972"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(-1.0000001,7.9445257e-3,-9.3908749e-3,-1.1054913,65.282749,42.164789)"
+ cx="32.545456"
+ cy="20.427832"
+ fx="32.545456"
+ fy="20.427832"
+ r="12.181818" />
+ <filter
+ inkscape:collect="always"
+ id="filter12936">
+ <feGaussianBlur
+ inkscape:collect="always"
+ stdDeviation="0.42987189"
+ id="feGaussianBlur12938" />
+ </filter>
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="7.7781746"
+ inkscape:cx="18.700083"
+ inkscape:cy="32"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:document-units="px"
+ inkscape:grid-bbox="true"
+ inkscape:window-width="910"
+ inkscape:window-height="705"
+ inkscape:window-x="98"
+ inkscape:window-y="128" />
+ <metadata
+ id="metadata2165">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ id="layer1"
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer">
+ <path
+ transform="matrix(1.046,0,0,1.0584678,-1.7327279,-0.4406171)"
+ d="M 55.454544 31.636364 A 22.727272 22.545454 0 1 1 10,31.636364 A 22.727272 22.545454 0 1 1 55.454544 31.636364 z"
+ sodipodi:ry="22.545454"
+ sodipodi:rx="22.727272"
+ sodipodi:cy="31.636364"
+ sodipodi:cx="32.727272"
+ id="path10014"
+ style="opacity:1;fill:#000000;fill-opacity:0.49714285;stroke:none;stroke-width:1.50907874;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;filter:url(#filter11994)"
+ sodipodi:type="arc" />
+ <path
+ sodipodi:type="arc"
+ style="opacity:1;fill:url(#radialGradient3151);fill-opacity:1.0;stroke:url(#linearGradient4128);stroke-width:1.00605248;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ id="path2168"
+ sodipodi:cx="32.727272"
+ sodipodi:cy="31.636364"
+ sodipodi:rx="22.727272"
+ sodipodi:ry="22.545454"
+ d="M 55.454544 31.636364 A 22.727272 22.545454 0 1 1 10,31.636364 A 22.727272 22.545454 0 1 1 55.454544 31.636364 z"
+ transform="matrix(0.99,0,0,0.9979839,9.9999396e-2,0.1092363)" />
+ <path
+ transform="matrix(0.8598924,0,0,0.9324055,4.3580679,2.2481825)"
+ d="M 55.454544 31.636364 A 22.727272 22.545454 0 1 1 10,31.636364 A 22.727272 22.545454 0 1 1 55.454544 31.636364 z"
+ sodipodi:ry="22.545454"
+ sodipodi:rx="22.727272"
+ sodipodi:cy="31.636364"
+ sodipodi:cx="32.727272"
+ id="path5115"
+ style="opacity:1;fill:url(#radialGradient6095);fill-opacity:1;stroke:none;stroke-width:1.00605249;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ sodipodi:type="arc" />
+ <path
+ sodipodi:nodetypes="cccccccc"
+ d="M 41.698223,17.66376 C 34.450141,23.421281 32.425172,25.369268 28.779364,29.048781 C 35.586572,28.320605 45.393645,27.687509 45.675459,32.562746 C 40.891023,36.481874 24.130868,50.299522 24.130868,50.299522 C 22.734736,47.695098 29.206757,40.436088 33.191607,36.346709 C 36.442048,33.537128 25.599316,34.350701 20.121233,37.12495 C 18.949598,32.700781 26.53113,20.675733 31.609069,17.543393 L 41.698223,17.66376 z "
+ id="path9006"
+ style="opacity:1;fill:#000000;fill-opacity:0.49714284;stroke:none;stroke-width:1.08678794;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;filter:url(#filter10966)" />
+ <path
+ style="opacity:1;fill:url(#linearGradient3173);fill-opacity:1;stroke:#ffffff;stroke-width:1.08678794;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ id="path2199"
+ d="M 40.93284,14.668012 C 34.164295,20.628913 32.273299,22.645711 28.868699,26.4552 C 35.225539,25.701301 44.383771,25.045842 44.64694,30.093293 C 40.179045,34.150861 24.52775,48.456606 24.52775,48.456606 C 23.223987,45.760183 29.267816,38.244754 32.989026,34.010921 C 36.024416,31.102094 25.899045,31.944406 20.783395,34.816653 C 19.689275,30.236204 26.76921,17.78638 31.51119,14.543393 L 40.93284,14.668012 z "
+ sodipodi:nodetypes="cccccccc" />
+ <path
+ sodipodi:type="arc"
+ style="opacity:0.64999999;fill:url(#radialGradient5107);fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
+ id="path4130"
+ sodipodi:cx="32.545456"
+ sodipodi:cy="23.454546"
+ sodipodi:rx="12.181818"
+ sodipodi:ry="9.272727"
+ d="M 44.727274 23.454546 A 12.181818 9.272727 0 1 1 20.363638,23.454546 A 12.181818 9.272727 0 1 1 44.727274 23.454546 z"
+ transform="matrix(1.0261194,0,0,0.9558823,-0.8955235,-2.6470585)" />
+ <path
+ transform="matrix(1.2846883,0,0,1.2521748,-9.2464838,12.656098)"
+ d="M 44.727274 23.454546 A 12.181818 9.272727 0 1 1 20.363638,23.454546 A 12.181818 9.272727 0 1 1 44.727274 23.454546 z"
+ sodipodi:ry="9.272727"
+ sodipodi:rx="12.181818"
+ sodipodi:cy="23.454546"
+ sodipodi:cx="32.545456"
+ id="path10970"
+ style="opacity:0.33;fill:url(#radialGradient10972);fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;filter:url(#filter12936)"
+ sodipodi:type="arc" />
+ </g>
+</svg>
diff --git a/src/swfmoz_player.c b/src/swfmoz_player.c
index 970228a..03746c4 100644
--- a/src/swfmoz_player.c
+++ b/src/swfmoz_player.c
@@ -81,7 +81,7 @@ swfmoz_player_menu_about (GtkMenuItem *item, SwfmozPlayer *player)
};
gtk_show_about_dialog (NULL, "program-name", "Swfdec",
- "logo-icon-name", "swfdec",
+ "logo-icon-name", "swfdec-mozilla",
"authors", authors,
"artists", artists,
"comments", "Play Flash content in your browser",