summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-03-18 20:07:55 +0000
committerjstebbins <[email protected]>2014-03-18 20:07:55 +0000
commitea9ec593a50d04a001a75461edcee342dc1913aa (patch)
tree62a07ca31943366d5dcbe74004888829e452cfd6 /gtk
parent0060abd6ff150f90192aba8c243f8763b66be74f (diff)
LinGui: svg'ify the last of the custom icons
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6121 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/Makefile.am4
-rw-r--r--gtk/src/hb-complete.16.pngbin314 -> 0 bytes
-rw-r--r--gtk/src/hb-complete.svg112
-rw-r--r--gtk/src/hb-edit.svg129
-rw-r--r--gtk/src/hb-queue-job.16.pngbin27610 -> 0 bytes
-rw-r--r--gtk/src/queuehandler.c6
-rw-r--r--gtk/src/resources.list5
7 files changed, 248 insertions, 8 deletions
diff --git a/gtk/src/Makefile.am b/gtk/src/Makefile.am
index db026adeb..76d7588d2 100644
--- a/gtk/src/Makefile.am
+++ b/gtk/src/Makefile.am
@@ -21,8 +21,8 @@ icons_dep = \
hb-activity.svg \
hb-source.svg \
hb-remove.svg \
- hb-complete.16.png \
- hb-queue-job.16.png
+ hb-edit.svg \
+ hb-complete.svg
hb_menu = ghb.desktop
diff --git a/gtk/src/hb-complete.16.png b/gtk/src/hb-complete.16.png
deleted file mode 100644
index 503e52c8e..000000000
--- a/gtk/src/hb-complete.16.png
+++ /dev/null
Binary files differ
diff --git a/gtk/src/hb-complete.svg b/gtk/src/hb-complete.svg
new file mode 100644
index 000000000..9ac9261fa
--- /dev/null
+++ b/gtk/src/hb-complete.svg
@@ -0,0 +1,112 @@
+<?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: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"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.4 r9939"
+ width="63.923908"
+ height="63.937237"
+ sodipodi:docname="hb-complete.16.png">
+ <metadata
+ id="metadata8">
+ <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></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs6">
+ <linearGradient
+ id="linearGradient3781">
+ <stop
+ style="stop-color:#1bbf00;stop-opacity:1;"
+ offset="0"
+ id="stop3783" />
+ <stop
+ style="stop-color:#98ff87;stop-opacity:1;"
+ offset="1"
+ id="stop3785" />
+ </linearGradient>
+ <radialGradient
+ inkscape:collect="always"
+ xlink:href="#linearGradient3781"
+ id="radialGradient3787"
+ cx="38.502785"
+ cy="21.131025"
+ fx="38.502785"
+ fy="21.131025"
+ r="19.893009"
+ gradientUnits="userSpaceOnUse"
+ gradientTransform="matrix(0.853633,-0.85991642,0.72456011,0.69956651,-7.5185257,44.001085)" />
+ </defs>
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="2962"
+ inkscape:window-height="1266"
+ id="namedview4"
+ showgrid="false"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0"
+ inkscape:zoom="14.75"
+ inkscape:cx="21.380388"
+ inkscape:cy="31.484599"
+ inkscape:window-x="66"
+ inkscape:window-y="248"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="svg2" />
+ <path
+ sodipodi:type="arc"
+ style="fill:#1bbf00;fill-opacity:1;stroke:#7d7d80;stroke-width:0.031;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path2987"
+ sodipodi:cx="44.305084"
+ sodipodi:cy="19.966103"
+ sodipodi:rx="19.830509"
+ sodipodi:ry="19.830509"
+ d="m 64.135593,19.966103 a 19.830509,19.830509 0 1 1 -39.661018,0 19.830509,19.830509 0 1 1 39.661018,0 z"
+ transform="matrix(1.6086049,0,0,1.608941,-39.307421,-0.1556618)" />
+ <path
+ transform="matrix(1.4482315,0,0,1.475884,-32.269855,2.4331712)"
+ d="m 64.135593,19.966103 a 19.830509,19.830509 0 1 1 -39.661018,0 19.830509,19.830509 0 1 1 39.661018,0 z"
+ sodipodi:ry="19.830509"
+ sodipodi:rx="19.830509"
+ sodipodi:cy="19.966103"
+ sodipodi:cx="44.305084"
+ id="path3779"
+ style="fill:url(#radialGradient3787);fill-opacity:1;stroke:#7d7d80;stroke-width:0.031;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ sodipodi:type="arc" />
+ <text
+ xml:space="preserve"
+ style="font-size:62.36872864px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#fefefe;fill-opacity:1;stroke:none;font-family:Sans"
+ x="8.7644606"
+ y="54.63208"
+ id="text2991"
+ sodipodi:linespacing="125%"
+ transform="scale(0.96989628,1.0310381)"><tspan
+ sodipodi:role="line"
+ id="tspan2993"
+ x="8.7644606"
+ y="54.63208">✔</tspan></text>
+</svg>
diff --git a/gtk/src/hb-edit.svg b/gtk/src/hb-edit.svg
new file mode 100644
index 000000000..448dddebe
--- /dev/null
+++ b/gtk/src/hb-edit.svg
@@ -0,0 +1,129 @@
+<?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"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.4 r9939"
+ width="64.001312"
+ height="63.998154"
+ sodipodi:docname="hb-edit.svg">
+ <metadata
+ id="metadata8">
+ <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 />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs6" />
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="1950"
+ inkscape:window-height="1362"
+ id="namedview4"
+ showgrid="false"
+ inkscape:zoom="7.375"
+ inkscape:cx="39.136957"
+ inkscape:cy="20.379049"
+ inkscape:window-x="798"
+ inkscape:window-y="276"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="svg2"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0" />
+ <g
+ id="g3801"
+ transform="matrix(0.91171267,-0.93439754,0.91171267,0.93439754,93.115545,15.138005)">
+ <path
+ sodipodi:type="star"
+ style="fill:#000000;fill-opacity:0.38823529;stroke:#7d7d80;stroke-width:0.031;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path3023"
+ sodipodi:sides="3"
+ sodipodi:cx="-52.610168"
+ sodipodi:cy="-20.745764"
+ sodipodi:r1="7.5944309"
+ sodipodi:r2="3.7972155"
+ sodipodi:arg1="3.1237374"
+ sodipodi:arg2="4.170935"
+ inkscape:flatsided="true"
+ inkscape:rounded="0"
+ inkscape:randomized="0"
+ d="m -60.203389,-20.61017 11.272403,-6.779312 0.234855,13.151843 z"
+ inkscape:transform-center-x="2.8373957"
+ inkscape:transform-center-y="-0.084402081"
+ transform="matrix(1.5424065,0,0,1.2449419,16.819863,1.8438764)" />
+ <rect
+ style="fill:#000000;fill-opacity:0.38823529;stroke:#7d7d80;stroke-width:0.04319459;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="rect3021"
+ width="42.531689"
+ height="16.147442"
+ x="-58.539501"
+ y="-32.141743" />
+ <g
+ transform="translate(4.20339,-20.067796)"
+ id="g3013">
+ <rect
+ style="fill:#6476ae;fill-opacity:1;stroke:#7d7d80;stroke-width:0.03759439;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="rect3003"
+ width="40.129009"
+ height="12.964183"
+ x="-64.060852"
+ y="-11.9738" />
+ <path
+ sodipodi:type="star"
+ style="fill:#e07373;fill-opacity:1;stroke:#7d7d80;stroke-width:0.031;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path3007"
+ sodipodi:sides="3"
+ sodipodi:cx="-52.610168"
+ sodipodi:cy="-20.745764"
+ sodipodi:r1="7.5944309"
+ sodipodi:r2="3.7972155"
+ sodipodi:arg1="3.1237374"
+ sodipodi:arg2="4.170935"
+ inkscape:flatsided="true"
+ inkscape:rounded="0"
+ inkscape:randomized="0"
+ d="m -60.203389,-20.61017 11.272403,-6.779312 0.234855,13.151843 z"
+ inkscape:transform-center-x="2.677108"
+ inkscape:transform-center-y="-0.067763776"
+ transform="matrix(1.4552737,0,0,0.99951775,7.2302233,15.311997)" />
+ <path
+ sodipodi:type="arc"
+ style="fill:#6476ae;fill-opacity:1;stroke:#7d7d80;stroke-width:0.031;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ id="path3009"
+ sodipodi:cx="-61.084747"
+ sodipodi:cy="-19.050848"
+ sodipodi:rx="2.1016948"
+ sodipodi:ry="2.1016948"
+ d="m -58.983052,-19.050848 c 0,1.160734 -0.940961,2.101695 -2.101695,2.101695 -1.160734,0 -2.101695,-0.940961 -2.101695,-2.101695 0,-1.160734 0.940961,-2.101695 2.101695,-2.101695 1.160734,0 2.101695,0.940961 2.101695,2.101695 z"
+ transform="matrix(1.1400463,0,0,0.86093756,-8.0940607,10.93816)" />
+ <path
+ style="fill:#373737;fill-opacity:1;stroke:#7d7d80;stroke-width:0.00420339;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
+ d="m -78.689016,-3.8783433 c -0.542991,-0.168577 -1.233888,-0.857088 -1.32702,-1.322437 -0.202401,-1.011322 0.879053,-1.925354 2.282558,-1.929192 2.891309,-0.0079 3.110593,3.141685 0.231761,3.328793 -0.426937,0.02775 -0.961222,-0.007 -1.187299,-0.07716 z"
+ id="path3011"
+ inkscape:connector-curvature="0" />
+ </g>
+ </g>
+</svg>
diff --git a/gtk/src/hb-queue-job.16.png b/gtk/src/hb-queue-job.16.png
deleted file mode 100644
index 486885c8e..000000000
--- a/gtk/src/hb-queue-job.16.png
+++ /dev/null
Binary files differ
diff --git a/gtk/src/queuehandler.c b/gtk/src/queuehandler.c
index 11f49b04b..7ae41afee 100644
--- a/gtk/src/queuehandler.c
+++ b/gtk/src/queuehandler.c
@@ -135,11 +135,11 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter)
// Set the job status icon
status = ghb_settings_get_int(settings, "job_status");
- const char *status_icon = "hb-queue-job";
+ const char *status_icon;
switch (status)
{
case GHB_QUEUE_PENDING:
- status_icon = "hb-queue-job";
+ status_icon = "hb-source";
break;
case GHB_QUEUE_CANCELED:
status_icon = "hb-stop";
@@ -148,7 +148,7 @@ add_to_queue_list(signal_user_data_t *ud, GValue *settings, GtkTreeIter *piter)
status_icon = "hb-complete";
break;
default:
- status_icon = "hb-queue-job";
+ status_icon = "hb-source";
break;
}
// Set the status icon, job description, and delete icon button
diff --git a/gtk/src/resources.list b/gtk/src/resources.list
index b05759627..b02864355 100644
--- a/gtk/src/resources.list
+++ b/gtk/src/resources.list
@@ -10,9 +10,8 @@
<icon name="hb-activity" file="hb-activity.svg" />
<icon name="hb-source" file="hb-source.svg" />
<icon name="hb-remove" file="hb-remove.svg" />
- <icon name="hb-complete" file="hb-complete.16.png" />
- <icon name="hb-queue-job" file="hb-queue-job.16.png" />
- <icon name="hb-edit" file="hb-edit.32.png" />
+ <icon name="hb-complete" file="hb-complete.svg" />
+ <icon name="hb-edit" file="hb-edit.svg" />
</section>
<plist name="internal-defaults" file="internal_defaults.xml" />
<plist name="standard-presets" file="standard_presets.xml" />