[libgda] Browser: added svg icon version



commit 73c3e69be3bfa017cf7468647c55287247a74e43
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date:   Wed Feb 6 18:06:05 2019 -0600

    Browser: added svg icon version

 tools/browser/org.gnome.gda.Browser.desktop.in.in |  6 ++--
 tools/meson.build                                 |  1 +
 tools/resources/meson.build                       | 14 +++++++++
 tools/resources/org.gnome.gda.Browser.svg         | 37 +++++++++++++++++++++++
 4 files changed, 55 insertions(+), 3 deletions(-)
---
diff --git a/tools/browser/org.gnome.gda.Browser.desktop.in.in 
b/tools/browser/org.gnome.gda.Browser.desktop.in.in
index 37426dd84..acefa2ce9 100644
--- a/tools/browser/org.gnome.gda.Browser.desktop.in.in
+++ b/tools/browser/org.gnome.gda.Browser.desktop.in.in
@@ -1,7 +1,7 @@
 [Desktop Entry]
-_GenericName=Database browser
-_Name=GdaBrowser
-_Comment=Browse database's contents
+GenericName=Database browser
+Name=GdaBrowser
+Comment=Browse database's contents
 Icon=org.gnome.gda.Browser
 Exec=org.gnome.gda.Browser
 Terminal=false
diff --git a/tools/meson.build b/tools/meson.build
index c1ca1d5ca..5e9ab31fe 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -5,6 +5,7 @@ subdir('misc')
 subdir('common')
 subdir('base')
 subdir('help')
+subdir('resources')
 
 gda_sql_sources = files([
        'tools-main.c'
diff --git a/tools/resources/meson.build b/tools/resources/meson.build
new file mode 100644
index 000000000..25d2e3607
--- /dev/null
+++ b/tools/resources/meson.build
@@ -0,0 +1,14 @@
+install_data([
+               'org.gnome.gda.Browser.png',
+       ],
+       install_dir:
+               join_paths(get_option('datadir'),'icons', 'hicolor','512x512','apps')
+       )
+
+
+install_data([
+               'org.gnome.gda.Browser.svg',
+       ],
+       install_dir:
+               join_paths(get_option('datadir'),'icons', 'hicolor','scalable','apps')
+       )
\ No newline at end of file
diff --git a/tools/resources/org.gnome.gda.Browser.svg b/tools/resources/org.gnome.gda.Browser.svg
new file mode 100644
index 000000000..1abbac8f8
--- /dev/null
+++ b/tools/resources/org.gnome.gda.Browser.svg
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
+<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; xmlns="http://www.w3.org/2000/svg"; width="512" 
height="512">
+    <defs>
+       <filter id="filter1" y="0" filterUnits="userSpaceOnUse" width="1000" height="520" x="0">
+         <feGaussianBlur in="SourceAlpha" stdDeviation="4" result="blur"/>
+         <feOffset dy="4" in="blur" result="offsetBlur" dx="4"/>
+         <feSpecularLighting in="blur" surfaceScale="5" lighting-color="#bbbbbb" result="specOut" 
specularConstant=".75" specularExponent="20">
+           <fePointLight y="500" z="500" x="100"/>
+         </feSpecularLighting>
+         <feComposite in="specOut" operator="in" in2="SourceAlpha" result="specOut"/>
+         <feComposite in="SourceGraphic" operator="arithmetic" k1="0" in2="specOut" k2="1" k3="1" k4="0" 
result="litPaint"/>
+         <feMerge>
+           <feMergeNode in="offsetBlur"/>
+           <feMergeNode in="litPaint"/>
+         </feMerge>
+       </filter>
+    </defs>
+    <svg xmlns="http://www.w3.org/2000/svg"; transform="translate(10)">
+       <svg xmlns="http://www.w3.org/2000/svg"; filter="url(#filter1)" transform="translate(0,200)">
+           <ellipse cx="203" cy="203" rx="200" ry="100" style="fill:gray; stroke: white; stroke-width: 3;"/>
+           <rect x="3" y="103" width="400" height="100" d="M3,100 L3,203 403,203 403,103" style="fill:gray; 
stroke: whithe; stroke-width: 3;"/>
+           <ellipse cx="203" cy="103" rx="200" ry="100" style="fill:gray; stroke: white; stroke-width: 3;"/>
+       </svg>
+       <svg xmlns="http://www.w3.org/2000/svg"; filter="url(#filter1)" transform="translate(0,100)">
+           <ellipse cx="203" cy="203" rx="200" ry="100" style="fill:gray; stroke: white; stroke-width: 3;"/>
+           <rect x="3" y="103" width="400" height="100" d="M3,100 L3,203 403,203 403,103" style="fill:gray; 
stroke: whithe; stroke-width: 3;"/>
+           <ellipse cx="203" cy="103" rx="200" ry="100" style="fill:gray; stroke: white; stroke-width: 3;"/>
+       </svg>
+       <svg xmlns="http://www.w3.org/2000/svg"; filter="url(#filter1)">
+           <ellipse cx="203" cy="203" rx="200" ry="100" style="fill:gray; stroke: white; stroke-width: 3;"/>
+           <rect x="3" y="103" width="400" height="100" d="M3,100 L3,203 403,203 403,103" style="fill:gray; 
stroke: whithe; stroke-width: 3;"/>
+           <ellipse cx="203" cy="103" rx="200" ry="100" style="fill:gray; stroke: white; stroke-width: 3;"/>
+       </svg>
+    </svg>
+    <text filter="url(#filter1)" x="50" y="200" style="font-size: 200; font-family: Times; fill: green; 
stroke: green; stroke-width: 3;">SQL</text>
+</svg>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]