[evince] view: Add symbolic to show a layer when is visible
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] view: Add symbolic to show a layer when is visible
- Date: Sun, 11 Nov 2018 03:11:07 +0000 (UTC)
commit 456b3d150963b50efd3352fa61ed4b641f532b6a
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Sat Nov 10 23:56:08 2018 -0300
view: Add symbolic to show a layer when is visible
Took icon from gimp, as the cellrenderer we use is also
copied from there.
data/icons/22x22/actions/Makefile.am | 1 -
data/icons/22x22/actions/eye.png | Bin 617 -> 0 bytes
data/icons/meson.build | 1 -
data/icons/scalable/actions/Makefile.am | 3 +-
data/icons/scalable/actions/visible-symbolic.svg | 150 +++++++++++++++++++++++
libview/ev-stock-icons.c | 2 +-
libview/ev-stock-icons.h | 2 +-
7 files changed, 154 insertions(+), 5 deletions(-)
---
diff --git a/data/icons/22x22/actions/Makefile.am b/data/icons/22x22/actions/Makefile.am
index eba54c2a..e8658df3 100644
--- a/data/icons/22x22/actions/Makefile.am
+++ b/data/icons/22x22/actions/Makefile.am
@@ -5,7 +5,6 @@ context = actions
iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = \
- eye.png \
object-rotate-left.png \
object-rotate-right.png \
view-page-continuous.png \
diff --git a/data/icons/meson.build b/data/icons/meson.build
index 0fad69d1..67d6f4f8 100644
--- a/data/icons/meson.build
+++ b/data/icons/meson.build
@@ -14,7 +14,6 @@ actions = [
icons += [['16x16', actions, ['x-office-presentation.png'], [ev_namespace + '.png']]]
actions = [
- 'eye.png',
'object-rotate-left.png',
'object-rotate-right.png',
'view-page-continuous.png',
diff --git a/data/icons/scalable/actions/Makefile.am b/data/icons/scalable/actions/Makefile.am
index 5f1b3abb..19bba52b 100644
--- a/data/icons/scalable/actions/Makefile.am
+++ b/data/icons/scalable/actions/Makefile.am
@@ -8,7 +8,8 @@ icons_DATA = \
object-rotate-left.svg \
object-rotate-right.svg \
outline-symbolic.svg \
- view-sidebar-symbolic.svg
+ view-sidebar-symbolic.svg \
+ visible-symbolic.svg
noinst_DATA =
diff --git a/data/icons/scalable/actions/visible-symbolic.svg
b/data/icons/scalable/actions/visible-symbolic.svg
new file mode 100644
index 00000000..dd561d17
--- /dev/null
+++ b/data/icons/scalable/actions/visible-symbolic.svg
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
+ 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"
+ viewBox="0 0 15.999999 16"
+ id="svg7384"
+ height="16"
+ width="16"
+ version="1.1"
+ inkscape:version="0.91 r13725"
+ sodipodi:docname="gimp-visible.svg">
+ <sodipodi:namedview
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1"
+ objecttolerance="10"
+ gridtolerance="10"
+ guidetolerance="10"
+ inkscape:pageopacity="0"
+ inkscape:pageshadow="2"
+ inkscape:window-width="640"
+ inkscape:window-height="480"
+ id="namedview1508"
+ showgrid="false"
+ inkscape:zoom="14.75"
+ inkscape:cx="-214.7208"
+ inkscape:cy="89.87964"
+ inkscape:window-x="0"
+ inkscape:window-y="27"
+ inkscape:window-maximized="0"
+ inkscape:current-layer="svg7384" />
+ <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 />
+ <dc:contributor>
+ <cc:Agent>
+ <dc:title>Barbara Muraus, Jakub Steiner, Klaus Staedtler</dc:title>
+ </cc:Agent>
+ </dc:contributor>
+ <dc:description>Images originally created as the "Art Libre" icon set. Extended and
adopted for GIMP</dc:description>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs7386">
+ <linearGradient
+ osb:paint="solid"
+ id="linearGradient8074">
+ <stop
+ id="stop8072"
+ offset="0"
+ style="stop-color:#be00be;stop-opacity:1;" />
+ </linearGradient>
+ <linearGradient
+ osb:paint="solid"
+ id="linearGradient7561">
+ <stop
+ id="stop7558"
+ offset="0"
+ style="stop-color:#a5a5a5;stop-opacity:1;" />
+ </linearGradient>
+ <linearGradient
+ osb:paint="solid"
+ id="linearGradient7548">
+ <stop
+ id="stop7546"
+ offset="0"
+ style="stop-color:#ebebeb;stop-opacity:1;" />
+ </linearGradient>
+ <linearGradient
+ osb:paint="solid"
+ id="linearGradient7542">
+ <stop
+ id="stop7538"
+ offset="0"
+ style="stop-color:#c9c9c9;stop-opacity:1;" />
+ </linearGradient>
+ <linearGradient
+ gradientTransform="matrix(0,-735328.32,170712.69,0,2464326300,577972450)"
+ osb:paint="solid"
+ id="linearGradient19282">
+ <stop
+ id="stop19284"
+ offset="0"
+ style="stop-color:#b4b4b4;stop-opacity:1;" />
+ </linearGradient>
+ <linearGradient
+ gradientTransform="matrix(0.34682586,0,0,0.30620888,26.64813,342.03851)"
+ osb:paint="solid"
+ id="linearGradient19282-4">
+ <stop
+ id="stop19284-0"
+ offset="0"
+ style="stop-color:#bebebe;stop-opacity:1;" />
+ </linearGradient>
+ <linearGradient
+ gradientTransform="translate(403.721,85.791047)"
+ gradientUnits="userSpaceOnUse"
+ y2="210"
+ x2="-49"
+ y1="210"
+ x1="-55"
+ id="linearGradient7142"
+ xlink:href="#linearGradient19282-4" />
+ <linearGradient
+ gradientTransform="translate(403.721,85.791047)"
+ gradientUnits="userSpaceOnUse"
+ y2="210"
+ x2="-44"
+ y1="210"
+ x1="-60"
+ id="linearGradient7144"
+ xlink:href="#linearGradient19282-4" />
+ </defs>
+ <g
+ transform="translate(54.09015,81.24019)"
+ style="display:inline"
+ id="stock">
+ <g
+ id="gimp-visible"
+ style="display:inline"
+ transform="translate(-235.09035,-500.24019)">
+ <path
+ style="fill:url(#linearGradient7142);fill-opacity:1;stroke:none"
+ d="m -52,207 c -1.656854,0 -3,1.34315 -3,3 0,1.65685 1.343146,3 3,3 1.656854,0 3,-1.34315 3,-3
0,-1.65685 -1.343146,-3 -3,-3 z m 0,1.53125 c 0.787268,0 1.4375,0.65408 1.4375,1.46875 0,0.81467
-0.650232,1.5 -1.4375,1.5 -0.787268,0 -1.4375,-0.68533 -1.4375,-1.5 0,-0.81467 0.650232,-1.46875
1.4375,-1.46875 z"
+ transform="translate(241.0002,217)"
+ id="path11920"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:url(#linearGradient7144);fill-opacity:1;stroke:none"
+ d="m -52,204 c -4.41828,0 -8,6 -8,6 0,0 3.58172,6 8,6 4.41828,0 8,-6 8,-6 0,0 -3.58172,-6 -8,-6 z m
0,2 c 3.865993,0 6,4 6,4 0,0 -2.134007,4 -6,4 -3.865993,0 -6,-4 -6,-4 0,0 2.134007,-4 6,-4 z"
+ transform="translate(241.0002,217)"
+ id="path11928"
+ inkscape:connector-curvature="0" />
+ </g>
+ </g>
+</svg>
diff --git a/libview/ev-stock-icons.c b/libview/ev-stock-icons.c
index 8819caf7..2e4203f8 100644
--- a/libview/ev-stock-icons.c
+++ b/libview/ev-stock-icons.c
@@ -42,7 +42,7 @@ static const EvStockIcon stock_icons [] = {
{ EV_STOCK_ROTATE_LEFT, "object-rotate-left"},
{ EV_STOCK_ROTATE_RIGHT, "object-rotate-right"},
{ EV_STOCK_RUN_PRESENTATION, "x-office-presentation"},
- { EV_STOCK_VISIBLE, "eye"},
+ { EV_STOCK_VISIBLE, "visible-symbolic"},
{ EV_STOCK_RESIZE_SE, "resize-se"},
{ EV_STOCK_RESIZE_SW, "resize-sw"},
{ EV_STOCK_CLOSE, "close"},
diff --git a/libview/ev-stock-icons.h b/libview/ev-stock-icons.h
index 4b2c7a25..4edc7839 100644
--- a/libview/ev-stock-icons.h
+++ b/libview/ev-stock-icons.h
@@ -41,7 +41,7 @@ G_BEGIN_DECLS
#define EV_STOCK_ROTATE_LEFT "object-rotate-left"
#define EV_STOCK_ROTATE_RIGHT "object-rotate-right"
#define EV_STOCK_RUN_PRESENTATION "x-office-presentation"
-#define EV_STOCK_VISIBLE "eye"
+#define EV_STOCK_VISIBLE "visible-symbolic"
#define EV_STOCK_RESIZE_SE "resize-se"
#define EV_STOCK_RESIZE_SW "resize-sw"
#define EV_STOCK_CLOSE "close"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]