[gnome-software] more freatured apps



commit ee80a1ec2842821f454474a7512d74d1cdf3f997
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Nov 28 19:26:29 2013 +0100

    more freatured apps
    
    - with banners
    - would be nice to be able to control text-shadow form the ini.

 data/Makefile.am                          |    4 ++-
 data/featured-blender.png                 |  Bin 0 -> 93848 bytes
 data/featured-chess.png                   |  Bin 0 -> 196551 bytes
 data/featured-darktable.png               |  Bin 286568 -> 0 bytes
 data/featured-firefox.png                 |  Bin 71392 -> 123811 bytes
 data/featured-transmission.png            |  Bin 0 -> 98890 bytes
 data/featured.ini.in                      |   32 +++++++++++++++++++++++-----
 src/plugins/gs-plugin-hardcoded-popular.c |    1 +
 8 files changed, 30 insertions(+), 7 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index a5ef461..7177cdb 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -4,11 +4,13 @@ SUBDIRS =                                             \
 
 resourcesdir = $(datadir)/gnome-software
 dist_resources_DATA =                                  \
-       featured-darktable.png                          \
+  featured-blender.png  \
+  featured-chess.png  \
        featured-firefox.png                            \
        featured-gimp.png                               \
        featured-gnome-sudoku.png                       \
        featured-mypaint.png                            \
+       featured-transmission.png \
        featured-weather.png                            \
        featured-weather-bg.png                         \
        featured-xchat.png                              \
diff --git a/data/featured-blender.png b/data/featured-blender.png
new file mode 100644
index 0000000..d8c9f58
Binary files /dev/null and b/data/featured-blender.png differ
diff --git a/data/featured-chess.png b/data/featured-chess.png
new file mode 100644
index 0000000..0752130
Binary files /dev/null and b/data/featured-chess.png differ
diff --git a/data/featured-firefox.png b/data/featured-firefox.png
index f32154b..6285628 100644
Binary files a/data/featured-firefox.png and b/data/featured-firefox.png differ
diff --git a/data/featured-transmission.png b/data/featured-transmission.png
new file mode 100644
index 0000000..a005893
Binary files /dev/null and b/data/featured-transmission.png differ
diff --git a/data/featured.ini.in b/data/featured.ini.in
index 88248f9..58105c4 100644
--- a/data/featured.ini.in
+++ b/data/featured.ini.in
@@ -1,19 +1,39 @@
-[darktable.desktop]
-background=url('@prefix@/share/gnome-software/featured-darktable.png') left 20% / 50% auto no-repeat, 
linear-gradient(to bottom, #393d39, #5a5e58)
-stroke=#1f2122
+[blender.desktop]
+background=url('/opt/gnome/share/gnome-software/featured-blender.png') 10% 40% / 50% auto no-repeat, 
-gtk-gradient (radial, center bottom, 0, center center, 1, from(#fcbf83), to(#c06105))
+stroke=#783d03
 text=#ffffff
 
+[glchess.desktop]
+background=url('/opt/gnome/share/gnome-software/featured-chess.png') 10% center / 40% auto no-repeat, 
linear-gradient(to bottom, #555753, #888a85)
+stroke=#2e3436
+text=#ffffff
+
+[firefox.desktop]
+background=url('/opt/gnome/share/gnome-software/featured-firefox.png') 10% center / 40% auto no-repeat, 
linear-gradient(to bottom, #d3d7cf, #eeeeec)
+stroke=#babdb6
+text=#888a85
+
 [gimp.desktop]
-background=url('@prefix@/share/gnome-software/featured-gimp.png') left 50% / 50% auto no-repeat, 
linear-gradient(to bottom, #8ac674, #cbddc3)
+background=url('/opt/gnome/share/gnome-software/featured-gimp.png') left 50% / 50% auto no-repeat, 
linear-gradient(to bottom, #8ac674, #cbddc3)
 stroke=#2a6c10
 text=#000000
 
 [mypaint.desktop]
-background=url('@prefix@/share/gnome-software/featured-mypaint.png') left 67% / 50% auto no-repeat, 
linear-gradient(to bottom, #8fa5d9, #d8e0ef)
+background=url('/opt/gnome/share/gnome-software/featured-mypaint.png') left 67% / 50% auto no-repeat, 
linear-gradient(to bottom, #8fa5d9, #d8e0ef)
 stroke=#4c52aa
 text=#362d89
 
 [org.gnome.Weather.Application.desktop]
-background=url('@prefix@/share/gnome-software/featured-weather.png') left 80% / 50% auto no-repeat, 
url('@prefix@/share/gnome-software/featured-weather-bg.png'), linear-gradient(to bottom, #25486d, #6693ce)
+background=url('/opt/gnome/share/gnome-software/featured-weather.png') left 80% / 50% auto no-repeat, 
url('/opt/gnome/share/gnome-software/featured-weather-bg.png'), linear-gradient(to bottom, #25486d, #6693ce)
 stroke=#d8e0ef
 text=#ffffff
+
+[transmission-gtk.desktop]
+background=url('/opt/gnome/share/gnome-software/featured-transmission.png') 10% 20% / 40% auto no-repeat, 
-gtk-gradient (radial, center bottom, 0, center center, 1, from(#ff0d0d), to(#b00000))
+stroke=#a40000
+text=#ffffff
+
+[xchat.desktop]
+background=url('/opt/gnome/share/gnome-software/featured-xchat.png') 10% 50% / 40% auto no-repeat, 
linear-gradient(to bottom, #274c7b, #407cbc)
+stroke=#407cbc
+text=#ffffff
diff --git a/src/plugins/gs-plugin-hardcoded-popular.c b/src/plugins/gs-plugin-hardcoded-popular.c
index 6d3577e..bab8ff1 100644
--- a/src/plugins/gs-plugin-hardcoded-popular.c
+++ b/src/plugins/gs-plugin-hardcoded-popular.c
@@ -143,6 +143,7 @@ static Featured featured[] = {
        { "Game", "wesnoth.desktop" },
        { "Game", "supertuxkart.desktop" }, // id ?
        { "Game", "redeclipse.desktop" },
+       { "Game", "glchess.desktop" },
        { "Office", "evolution.desktop" },
        { "Office", "geary.desktop" },
        { "Office", "gnucash.desktop" },


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