[bijiben] Update note icon
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] Update note icon
- Date: Tue, 10 Jun 2014 21:41:22 +0000 (UTC)
commit e4ede7487af3a4204ee02f79079b8e13cc588146
Author: Pierre-Yves Luyten <py luyten fr>
Date: Tue Jun 10 23:36:27 2014 +0200
Update note icon
See 731441
data/icons/hicolor_actions_scalable_note.svg | 79 +++++---------------------
src/bjb-empty-results-box.c | 3 +-
2 files changed, 15 insertions(+), 67 deletions(-)
---
diff --git a/data/icons/hicolor_actions_scalable_note.svg b/data/icons/hicolor_actions_scalable_note.svg
index a8160df..825e130 100644
--- a/data/icons/hicolor_actions_scalable_note.svg
+++ b/data/icons/hicolor_actions_scalable_note.svg
@@ -1,74 +1,23 @@
<?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="64px"
- height="64px"
- id="svg11721"
- version="1.1"
- inkscape:version="0.48.4 r9939"
- sodipodi:docname="New document 3">
- <defs
- id="defs11723" />
- <sodipodi:namedview
- id="base"
- pagecolor="#ffffff"
- bordercolor="#666666"
- borderopacity="1.0"
- inkscape:pageopacity="0.0"
- inkscape:pageshadow="2"
- inkscape:zoom="1"
- inkscape:cx="86.208614"
- inkscape:cy="-4.5168404"
- inkscape:current-layer="layer1"
- showgrid="false"
- inkscape:document-units="px"
- inkscape:grid-bbox="true"
- inkscape:snap-nodes="false"
- inkscape:snap-bbox="true"
- inkscape:window-width="1600"
- inkscape:window-height="841"
- inkscape:window-x="0"
- inkscape:window-y="27"
- inkscape:window-maximized="1">
- <inkscape:grid
- type="xygrid"
- id="grid11740" />
+<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="svg6320"
version="1.1" inkscape:version="0.48.4 r9939" sodipodi:docname="New document 3">
+ <defs id="defs6322"/>
+ <sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0"
inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="22" inkscape:cx="4.6043651"
inkscape:cy="12.443382" inkscape:current-layer="layer1" showgrid="true" inkscape:document-units="px"
inkscape:grid-bbox="true" inkscape:window-width="1920" inkscape:window-height="1134" inkscape:window-x="0"
inkscape:window-y="27" inkscape:window-maximized="1">
+ <inkscape:grid type="xygrid" id="grid6339" empspacing="5" visible="true" enabled="true"
snapvisiblegridlinesonly="true"/>
</sodipodi:namedview>
- <metadata
- id="metadata11726">
+ <metadata id="metadata6325">
<rdf:RDF>
- <cc:Work
- rdf:about="">
+ <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>
+ <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
+ <dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
- <g
- id="layer1"
- inkscape:label="Layer 1"
- inkscape:groupmode="layer">
- <path
- style="fill:#ffffff;fill-opacity:1;stroke:none"
- d="M 2.165515,3.020685 2.165515,62 46,62 l 0,-14.0625 0,-2 2,0 14,0 0,-42.916815 z M 48,47.9375 48,62
50.0625,62 62,49.84375 62,47.9375 z"
- id="rect12512-4"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="ccccccccccccccc" />
- <path
- style="fill:#bebebe;fill-opacity:1;stroke:none"
- d="M 2.165515,2.0206849 2.165515,61 46,61 l 0,-14.0625 0,-2 2,0 14,0 0,-42.9168151 z M 48,46.9375
48,61 50.0625,61 62,48.84375 62,46.9375 z"
- id="rect12512"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="ccccccccccccccc" />
+ <g id="layer1" inkscape:label="Layer 1" inkscape:groupmode="layer" transform="translate(0,-48)">
+ <g style="display:inline;enable-background:new" transform="translate(-377,-317)" id="g6293">
+ <rect style="fill:#ef2929;fill-opacity:0;stroke:none" id="rect6295" width="16" height="16" x="377"
y="365"/>
+ <path style="fill:#bebebe;fill-opacity:1;stroke:none" d="m 378,366.00026 0,14.02148 9,-0.0217 0,-5 5,0
0,-9.00017 z M 388.00634,376 388,380 l 4,-4 z" id="path6297" inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccccccccc"/>
+ </g>
</g>
-</svg>
+</svg>
\ No newline at end of file
diff --git a/src/bjb-empty-results-box.c b/src/bjb-empty-results-box.c
index ac02f86..23218e0 100644
--- a/src/bjb-empty-results-box.c
+++ b/src/bjb-empty-results-box.c
@@ -79,7 +79,7 @@ bjb_empty_results_box_constructed (GObject *object)
NULL);
error = NULL;
- pixbuf = gdk_pixbuf_new_from_file (note_icon_path, &error);
+ pixbuf = gdk_pixbuf_new_from_file_at_size (note_icon_path, 64, 64, &error);
if (error)
{
@@ -90,7 +90,6 @@ bjb_empty_results_box_constructed (GObject *object)
priv->image = gtk_image_new_from_pixbuf (pixbuf);
g_free (note_icon_path);
- gtk_image_set_pixel_size (GTK_IMAGE (priv->image), 64);
gtk_container_add (GTK_CONTAINER (self), priv->image);
labels_grid = gtk_grid_new ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]