[gnome-documents] Add application-specific theme extensions



commit cf80ec435d9b794002860e3381df8cd14acd6185
Author: Saurav Agarwalla <saurav agarwalla92 gmail com>
Date:   Thu Jul 24 11:02:30 2014 +0530

    Add application-specific theme extensions
    
    This used to live in gnome-themes-standard, but with the move of
    Adwaita to GTK+, it needs to find a new home.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=733486

 src/application.js                                |   23 +++
 src/gnome-documents.gresource.xml                 |    6 +
 src/resources/Adwaita.css                         |  140 ++++++++++++++++
 src/resources/dnd-counter.svg                     |  183 +++++++++++++++++++++
 src/resources/sidebar-radio-checked.svg           |   66 ++++++++
 src/resources/sidebar-radio-prelight.svg          |   66 ++++++++
 src/resources/sidebar-radio-selected-prelight.svg |   66 ++++++++
 src/resources/sidebar-radio-selected.svg          |   66 ++++++++
 8 files changed, 616 insertions(+), 0 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 0315bc1..f3e2020 100644
--- a/src/application.js
+++ b/src/application.js
@@ -74,6 +74,7 @@ let settings = null;
 // used by the application, but not by the search provider
 let changeMonitor = null;
 let collectionManager = null;
+let cssProvider = null;
 let documentManager = null;
 let modeController = null;
 let notificationManager = null;
@@ -380,6 +381,24 @@ const Application = new Lang.Class({
             }));
     },
 
+    _themeChanged: function(gtkSettings) {
+        let screen = Gdk.Screen.get_default();
+
+        if (gtkSettings.gtk_theme_name == 'Adwaita') {
+            if (cssProvider == null) {
+                cssProvider = new Gtk.CssProvider();
+                let file = Gio.File.new_for_uri("resource:///org/gnome/documents/Adwaita.css");
+                cssProvider.load_from_file(file);
+            }
+
+            Gtk.StyleContext.add_provider_for_screen(screen,
+                                                     cssProvider,
+                                                     Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
+        } else if (cssProvider != null) {
+            Gtk.StyleContext.remove_provider_for_screen(screen, cssProvider);
+        }
+    },
+
     vfunc_startup: function() {
         this.parent();
         String.prototype.format = Format.format;
@@ -392,6 +411,10 @@ const Application = new Lang.Class({
         application = this;
         settings = new Gio.Settings({ schema: 'org.gnome.documents' });
 
+        let gtkSettings = Gtk.Settings.get_default();
+        gtkSettings.connect('notify::gtk-theme-name', Lang.bind(this, this._themeChanged));
+        this._themeChanged(gtkSettings);
+
         // connect to tracker
         try {
             connection = Tracker.SparqlConnection.get(null);
diff --git a/src/gnome-documents.gresource.xml b/src/gnome-documents.gresource.xml
index aee6f70..ebde9ce 100644
--- a/src/gnome-documents.gresource.xml
+++ b/src/gnome-documents.gresource.xml
@@ -1,9 +1,15 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <gresources>
   <gresource prefix="/org/gnome/documents">
+    <file alias="Adwaita.css">resources/Adwaita.css</file>
     <file alias="app-menu.ui" preprocess="xml-stripblanks">resources/app-menu.ui</file>
+    <file alias="dnd-counter.svg" preprocess="to-pixdata">resources/dnd-counter.svg</file>
     <file alias="preview-menu.ui" preprocess="xml-stripblanks">resources/preview-menu.ui</file>
     <file alias="selection-menu.ui" preprocess="xml-stripblanks">resources/selection-menu.ui</file>
+    <file alias="sidebar-radio-checked.svg" 
preprocess="to-pixdata">resources/sidebar-radio-checked.svg</file>
+    <file alias="sidebar-radio-prelight.svg" 
preprocess="to-pixdata">resources/sidebar-radio-prelight.svg</file>
+    <file alias="sidebar-radio-selected.svg" 
preprocess="to-pixdata">resources/sidebar-radio-selected.svg</file>
+    <file alias="sidebar-radio-selected-prelight.svg" 
preprocess="to-pixdata">resources/sidebar-radio-selected-prelight.svg</file>
     <file alias="preview-context-menu.ui" 
preprocess="xml-stripblanks">resources/preview-context-menu.ui</file>
     <file alias="collections-placeholder.png" 
preprocess="to-pixdata">resources/collections-placeholder.png</file>
     <file alias="thumbnail-frame.png" preprocess="to-pixdata">resources/thumbnail-frame.png</file>
diff --git a/src/resources/Adwaita.css b/src/resources/Adwaita.css
new file mode 100644
index 0000000..4d19614
--- /dev/null
+++ b/src/resources/Adwaita.css
@@ -0,0 +1,140 @@
+ define-color documents_emblem_bg #3465a4;
+ define-color documents_collection_bg #d3d7cf;
+ define-color theme_base_color #ffffff;
+ define-color theme_bg_color #ededed;
+ define-color theme_selected_bg_color #4a90d9;
+ define-color borders #a7aba7;
+ define-color entry_tag_bg #3465a4;
+ define-color entry_tag_fg @theme_base_color;
+
+GdMainIconView.content-view {
+    -GdMainIconView-icon-size: 40;
+}
+
+/* Make spinner visible on both dark and bright backgrounds w/o making
+ * it look ugly/weird.
+ */
+GdMainIconView.content-view.cell:active {
+    color: gray;
+}
+
+.documents-dropdown,
+.documents-dropdown .view {
+    background-color: shade (@theme_bg_color, 1.02);
+}
+
+.documents-dropdown.frame {
+    padding: 6px;
+    border-width: 0 1px 1px 1px;
+    border-style: solid;
+    border-radius: 0 0 5px 5px;
+}
+
+.documents-dropdown .view.radio,
+.documents-dropdown .view.radio:focused,
+.documents-dropdown .view.radio:selected {
+    background-image: none;
+    background-color: alpha(@theme_base_color, 0.0);
+}
+
+.documents-dropdown .view.radio:active,
+.documents-dropdown .view.radio:active:focused,
+.documents-dropdown .view.radio:active:prelight {
+    background-image: url("sidebar-radio-checked.svg");
+}
+
+.documents-dropdown .view.radio:prelight {
+    background-image: url("sidebar-radio-prelight.svg");
+}
+
+.documents-dropdown .view.radio:active:selected,
+.documents-dropdown .view.radio:active:selected:focused {
+    background-image: url("sidebar-radio-selected.svg");
+}
+
+.documents-dropdown .view.radio:selected:prelight,
+.documents-dropdown .view.radio:selected:focused {
+    background-image: url("sidebar-radio-selected-prelight.svg");
+}
+
+.documents-load-more.button {
+    border-image: none;
+    border-color: @borders;
+    border-width: 1px 0 0;
+    border-radius: 0;
+}
+
+.documents-scrolledwin.frame {
+    border-width: 1px 0 0;
+    border-radius: 0;
+}
+
+.documents-icon-bg {
+    background-color: @documents_emblem_bg;
+    border-radius: 4px;
+
+    color: @theme_base_color;
+}
+
+.documents-collection-icon {
+    background-color: @documents_collection_bg;
+    border-radius: 8px;
+}
+
+.documents-counter {
+    background-image: url("dnd-counter.svg");
+    background-size: contain;
+    background-color: transparent;
+    color: @theme_base_color;
+    font: bold;
+}
+
+.documents-favorite.button:active,
+.documents-favorite.button:active:hover {
+    color: shade(@theme_selected_bg_color, 1.20);
+}
+
+.documents-entry-tag {
+    background-color: @entry_tag_bg;
+    color: @entry_tag_fg;
+
+    border-radius: 4px;
+    border-width: 0;
+
+    margin: 2px;
+    padding: 4px;
+}
+
+.documents-entry-tag:hover {
+    background-color: shade(@entry_tag_bg, 1.10);
+    color: @entry_tag_fg;
+}
+
+.documents-entry-tag.button,
+.documents-entry-tag.button:hover,
+.documents-entry-tag.button:active,
+.documents-entry-tag.button:active:hover {
+    background-color: transparent;
+    background-image: none;
+    border-image: none;
+    border-width: 0;
+}
+
+.documents-entry-tag.button:hover {
+    color: shade(@entry_tag_bg, 2.10);
+}
+
+.content-view.document-page {
+    border-style: solid;
+    border-width: 3px 3px 6px 4px;
+    border-image: url("thumbnail-frame.png") 3 3 6 4;
+}
+
+.osd .page-thumbnail {
+    border-style: solid;
+    border-width: 1px;
+    border-color: @osd_lowlight;
+
+    /* when there's no pixbuf yet */
+    background-color: @osd_bg;
+}
diff --git a/src/resources/dnd-counter.svg b/src/resources/dnd-counter.svg
new file mode 100644
index 0000000..d16ea2f
--- /dev/null
+++ b/src/resources/dnd-counter.svg
@@ -0,0 +1,183 @@
+<?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";
+   width="72"
+   height="72"
+   id="svg4267"
+   version="1.1"
+   inkscape:version="0.48.2 r9819"
+   sodipodi:docname="dnd-emblem.svg">
+  <defs
+     id="defs4269">
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient22968-2-3-0"
+       id="radialGradient26234"
+       gradientUnits="userSpaceOnUse"
+       cx="797"
+       cy="165"
+       fx="797"
+       fy="165"
+       r="20.5" />
+    <linearGradient
+       id="linearGradient22968-2-3-0"
+       inkscape:collect="always">
+      <stop
+         id="stop22970-0-16-4"
+         offset="0"
+         style="stop-color:#729fcf;stop-opacity:1" />
+      <stop
+         id="stop22972-8-3-4"
+         offset="1"
+         style="stop-color:#3465a4;stop-opacity:1" />
+    </linearGradient>
+    <filter
+       color-interpolation-filters="sRGB"
+       height="1.24"
+       y="-0.12"
+       width="1.24"
+       x="-0.12"
+       id="filter27236-2"
+       inkscape:collect="always">
+      <feGaussianBlur
+         id="feGaussianBlur27238-6"
+         stdDeviation="1.9"
+         inkscape:collect="always" />
+    </filter>
+    <linearGradient
+       id="linearGradient22968-2-3-0-6">
+      <stop
+         id="stop22970-0-16-4-2"
+         offset="0"
+         style="stop-color:#729fcf;stop-opacity:1" />
+      <stop
+         id="stop22972-8-3-4-6"
+         offset="1"
+         style="stop-color:#3465a4;stop-opacity:1" />
+    </linearGradient>
+    <clipPath
+       id="clipPath27307-6"
+       clipPathUnits="userSpaceOnUse">
+      <path
+         transform="matrix(0.88410615,0,0,0.88410615,92.255124,19.051446)"
+         d="m 806,169.78125 a 9.96875,9.96875 0 1 1 -19.9375,0 9.96875,9.96875 0 1 1 19.9375,0 z"
+         sodipodi:ry="9.96875"
+         sodipodi:rx="9.96875"
+         sodipodi:cy="169.78125"
+         sodipodi:cx="796.03125"
+         id="path27309-78"
+         
style="opacity:0.5;color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.39325762;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+         sodipodi:type="arc" />
+    </clipPath>
+    <filter
+       color-interpolation-filters="sRGB"
+       id="filter27327-9"
+       inkscape:collect="always">
+      <feGaussianBlur
+         id="feGaussianBlur27329-7"
+         stdDeviation="0.598125"
+         inkscape:collect="always" />
+    </filter>
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient22968-2-3-0-6"
+       id="radialGradient5163"
+       gradientUnits="userSpaceOnUse"
+       cx="797"
+       cy="165"
+       fx="797"
+       fy="165"
+       r="20.5" />
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="8.01"
+     inkscape:cx="46.532863"
+     inkscape:cy="38.421319"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     inkscape:document-units="px"
+     inkscape:grid-bbox="true"
+     inkscape:window-width="1280"
+     inkscape:window-height="742"
+     inkscape:window-x="0"
+     inkscape:window-y="26"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata4272">
+    <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>
+  <g
+     id="layer1"
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     transform="translate(0,8)">
+    <g
+       style="display:inline;overflow:visible"
+       id="g24889"
+       transform="matrix(1.5158363,0,0,1.5158363,-3157.4222,-2504.9125)">
+      <g
+         transform="matrix(1.276138,0,0,1.276138,1051.3404,1164.4268)"
+         id="g24145-0"
+         style="display:inline">
+        <g
+           style="display:inline"
+           transform="matrix(0.68076616,0,0,0.68076616,284.42937,281.22745)"
+           id="g27242-9">
+          <path
+             sodipodi:type="inkscape:offset"
+             inkscape:radius="0"
+             inkscape:original="M 797 151 C 786.50659 151 778 159.50659 778 170 C 778 180.49341 786.50659 
189 797 189 C 807.49341 189 816 180.49341 816 170 C 816 159.50659 807.49341 151 797 151 z "
+             xlink:href="#path27224-3"
+             
style="opacity:0.5;color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:1.47955203;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;filter:url(#filter27236-2);enable-background:accumulate"
+             id="path27228-0"
+             inkscape:href="#path27224-3"
+             d="m 797,151 c -10.49341,0 -19,8.50659 -19,19 0,10.49341 8.50659,19 19,19 10.49341,0 
19,-8.50659 19,-19 0,-10.49341 -8.50659,-19 -19,-19 z"
+             transform="translate(0,3)" />
+          <path
+             sodipodi:type="arc"
+             
style="color:#000000;fill:url(#radialGradient5163);fill-opacity:1;fill-rule:nonzero;stroke:#ffffff;stroke-width:1.47955203;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+             id="path27224-3"
+             sodipodi:cx="797"
+             sodipodi:cy="170"
+             sodipodi:rx="19"
+             sodipodi:ry="19"
+             d="m 816,170 c 0,10.49341 -8.50659,19 -19,19 -10.49341,0 -19,-8.50659 -19,-19 0,-10.49341 
8.50659,-19 19,-19 10.49341,0 19,8.50659 19,19 z" />
+        </g>
+        <path
+           clip-path="url(#clipPath27307-6)"
+           sodipodi:type="arc"
+           
style="opacity:0.5;color:#000000;fill:none;stroke:#000000;stroke-width:0.77596396;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;filter:url(#filter27327-9);enable-background:accumulate"
+           id="path27301-28"
+           sodipodi:cx="796.03125"
+           sodipodi:cy="169.78125"
+           sodipodi:rx="9.96875"
+           sodipodi:ry="9.96875"
+           d="m 806,169.78125 c 0,5.50559 -4.46316,9.96875 -9.96875,9.96875 -5.50559,0 -9.96875,-4.46316 
-9.96875,-9.96875 0,-5.50559 4.46316,-9.96875 9.96875,-9.96875 5.50559,0 9.96875,4.46316 9.96875,9.96875 z"
+           transform="matrix(1.2980358,0,0,1.2980358,-206.24585,177.33558)" />
+      </g>
+    </g>
+  </g>
+</svg>
diff --git a/src/resources/sidebar-radio-checked.svg b/src/resources/sidebar-radio-checked.svg
new file mode 100644
index 0000000..28ecf15
--- /dev/null
+++ b/src/resources/sidebar-radio-checked.svg
@@ -0,0 +1,66 @@
+<?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";
+   width="16"
+   height="16"
+   id="svg27352"
+   version="1.1"
+   inkscape:version="0.48.1 r9760"
+   sodipodi:docname="sidebar-radio-checked.svg">
+  <defs
+     id="defs27354" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="22.197802"
+     inkscape:cx="-0.15396047"
+     inkscape:cy="8"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     inkscape:grid-bbox="true"
+     inkscape:document-units="px"
+     inkscape:window-width="1280"
+     inkscape:window-height="741"
+     inkscape:window-x="0"
+     inkscape:window-y="26"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata27357">
+    <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>
+  <g
+     id="layer1"
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer">
+    <path
+       sodipodi:type="arc"
+       
style="color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.27423298;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       id="path5784-4"
+       sodipodi:cx="660.96808"
+       sodipodi:cy="255.0668"
+       sodipodi:rx="4.5078058"
+       sodipodi:ry="7.2937827"
+       d="m 665.47588,255.0668 a 4.5078058,7.2937827 0 1 1 -9.01561,0 4.5078058,7.2937827 0 1 1 9.01561,0 z"
+       transform="matrix(0.88734967,0,0,0.54841228,-578.5098,-131.88177)" />
+  </g>
+</svg>
diff --git a/src/resources/sidebar-radio-prelight.svg b/src/resources/sidebar-radio-prelight.svg
new file mode 100644
index 0000000..812624a
--- /dev/null
+++ b/src/resources/sidebar-radio-prelight.svg
@@ -0,0 +1,66 @@
+<?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";
+   width="16"
+   height="16"
+   id="svg27352"
+   version="1.1"
+   inkscape:version="0.48.1 r9760"
+   sodipodi:docname="sidebar-radio-checked-selected.svg">
+  <defs
+     id="defs27354" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="22.197802"
+     inkscape:cx="-8.3079209"
+     inkscape:cy="8"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     inkscape:grid-bbox="true"
+     inkscape:document-units="px"
+     inkscape:window-width="1280"
+     inkscape:window-height="741"
+     inkscape:window-x="0"
+     inkscape:window-y="26"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata27357">
+    <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>
+  <g
+     id="layer1"
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer">
+    <path
+       sodipodi:type="arc"
+       
style="color:#000000;fill:#aaa8ac;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.27423298000000007;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       id="path5784-4"
+       sodipodi:cx="660.96808"
+       sodipodi:cy="255.0668"
+       sodipodi:rx="4.5078058"
+       sodipodi:ry="7.2937827"
+       d="m 665.47588,255.0668 a 4.5078058,7.2937827 0 1 1 -9.01561,0 4.5078058,7.2937827 0 1 1 9.01561,0 z"
+       transform="matrix(0.88734967,0,0,0.54841228,-578.5098,-131.88177)" />
+  </g>
+</svg>
diff --git a/src/resources/sidebar-radio-selected-prelight.svg 
b/src/resources/sidebar-radio-selected-prelight.svg
new file mode 100644
index 0000000..9fa228b
--- /dev/null
+++ b/src/resources/sidebar-radio-selected-prelight.svg
@@ -0,0 +1,66 @@
+<?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";
+   width="16"
+   height="16"
+   id="svg27352"
+   version="1.1"
+   inkscape:version="0.48.1 r9760"
+   sodipodi:docname="sidebar-radio-selected.svg">
+  <defs
+     id="defs27354" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="22.197802"
+     inkscape:cx="7.0809381"
+     inkscape:cy="8"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     inkscape:grid-bbox="true"
+     inkscape:document-units="px"
+     inkscape:window-width="1280"
+     inkscape:window-height="741"
+     inkscape:window-x="0"
+     inkscape:window-y="26"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata27357">
+    <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>
+  <g
+     id="layer1"
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer">
+    <path
+       sodipodi:type="arc"
+       
style="color:#000000;fill:#a3c3e3;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.27423298000000007;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       id="path5784-4"
+       sodipodi:cx="660.96808"
+       sodipodi:cy="255.0668"
+       sodipodi:rx="4.5078058"
+       sodipodi:ry="7.2937827"
+       d="m 665.47588,255.0668 a 4.5078058,7.2937827 0 1 1 -9.01561,0 4.5078058,7.2937827 0 1 1 9.01561,0 z"
+       transform="matrix(0.88734967,0,0,0.54841228,-578.5098,-131.88177)" />
+  </g>
+</svg>
diff --git a/src/resources/sidebar-radio-selected.svg b/src/resources/sidebar-radio-selected.svg
new file mode 100644
index 0000000..887174e
--- /dev/null
+++ b/src/resources/sidebar-radio-selected.svg
@@ -0,0 +1,66 @@
+<?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";
+   width="16"
+   height="16"
+   id="svg27352"
+   version="1.1"
+   inkscape:version="0.48.1 r9760"
+   sodipodi:docname="sidebar-radio-prelight.svg">
+  <defs
+     id="defs27354" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="22.197802"
+     inkscape:cx="-8.3079209"
+     inkscape:cy="8"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     inkscape:grid-bbox="true"
+     inkscape:document-units="px"
+     inkscape:window-width="1280"
+     inkscape:window-height="741"
+     inkscape:window-x="0"
+     inkscape:window-y="26"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata27357">
+    <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>
+  <g
+     id="layer1"
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer">
+    <path
+       sodipodi:type="arc"
+       
style="color:#000000;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.27423298000000007;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+       id="path5784-4"
+       sodipodi:cx="660.96808"
+       sodipodi:cy="255.0668"
+       sodipodi:rx="4.5078058"
+       sodipodi:ry="7.2937827"
+       d="m 665.47588,255.0668 a 4.5078058,7.2937827 0 1 1 -9.01561,0 4.5078058,7.2937827 0 1 1 9.01561,0 z"
+       transform="matrix(0.88734967,0,0,0.54841228,-578.5098,-131.88177)" />
+  </g>
+</svg>


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