[gnome-software] featured: add Maps to featured



commit 063621aa9f2829bdb785739396e50034bebde978
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Feb 4 17:18:42 2016 +0100

    featured: add Maps to featured
    
    - requires no border (came as box-shadow)
    - sadly stroke= parameter in featured.ini doesn't seem
      to actually get transformed to .featured-tile { border-color: }
      in src/gs-feature-tile.c. Filed as bug 761562
    
    https://bugzilla.gnome.org/show_bug.cgi?id=761561

 data/Makefile.am          |    2 ++
 data/featured-maps-bg.png |  Bin 0 -> 306261 bytes
 data/featured-maps.png    |  Bin 0 -> 46939 bytes
 data/featured.ini.in      |    6 ++++++
 src/gtk-style.css         |    2 +-
 5 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 411eb06..cd2902f 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -15,6 +15,8 @@ dist_resources_DATA =                                 \
        featured-gimp.png                               \
        featured-gnome-sudoku.png                       \
        featured-inkscape.png                           \
+       featured-maps.png           \
+       featured-maps-bg.png        \
        featured-mypaint.png                            \
        featured-polari.svg                             \
        featured-transmission.png                       \
diff --git a/data/featured-maps-bg.png b/data/featured-maps-bg.png
new file mode 100644
index 0000000..64172ba
Binary files /dev/null and b/data/featured-maps-bg.png differ
diff --git a/data/featured-maps.png b/data/featured-maps.png
new file mode 100644
index 0000000..d9e4a75
Binary files /dev/null and b/data/featured-maps.png differ
diff --git a/data/featured.ini.in b/data/featured.ini.in
index b6699e4..989a2db 100644
--- a/data/featured.ini.in
+++ b/data/featured.ini.in
@@ -62,3 +62,9 @@ background=url('@prefix@/share/gnome-software/featured-builder.png') left center
 stroke=#000000
 text=#ffffff
 text-shadow=0 1px 1px rgba(0,0,0,0.5)
+
+[org.gnome.Maps.desktop]
+background=url('@prefix@/share/gnome-software/featured-maps.png') left -10px / 352px auto no-repeat, 
url('@prefix@/share/gnome-software/featured-maps-bg.png') bottom center / contain no-repeat
+stroke=#ff0000
+text=#000000
+text-shadow=0 1px 1px rgba(255,255,255,0.5)
diff --git a/src/gtk-style.css b/src/gtk-style.css
index 58eb399..78b5cfa 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -97,7 +97,7 @@
        border-radius: 0;
        border-width: 1px;
        border-image: none;
-       box-shadow: inset 0 0 0 1px alpha(@theme_fg_color,0.3), 0 0 1px alpha(black,0.4);
+       /* box-shadow: inset 0 0 0 1px alpha(@theme_fg_color,0.3), 0 0 1px alpha(black,0.4); */
 }
 
 .application-details-infobar.info {


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