diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2014-11-07 12:23:14 +0100 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2014-11-12 16:28:01 +0100 |
commit | 32ff68f9692429705fbae1d5ea70fdabc907c038 (patch) | |
tree | b69530b90f50a6418b7180487b0e1e638eb91f0b | |
parent | 6c8e15219f2fdb270214a4b514a944bee0ac3ad0 (diff) | |
download | elementary-devs/stefan/geolocation-module-theme.tar.gz |
theme/geolocation: Add theme and icons for geolocation module in E.devs/stefan/geolocation-module-theme
-rw-r--r-- | data/themes/Makefile.am | 3 | ||||
-rw-r--r-- | data/themes/default.edc | 1 | ||||
-rw-r--r-- | data/themes/edc/geolocation.edc | 33 | ||||
-rw-r--r-- | data/themes/img/location_off.png | bin | 0 -> 2491 bytes | |||
-rw-r--r-- | data/themes/img/location_on.png | bin | 0 -> 2381 bytes |
5 files changed, 37 insertions, 0 deletions
diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am index 2de990b0d..ff8de689a 100644 --- a/data/themes/Makefile.am +++ b/data/themes/Makefile.am @@ -56,6 +56,7 @@ edc/fileman.edc \ edc/fontpreview.edc \ edc/frame.edc \ edc/gadman.edc \ +edc/geolocation.edc \ edc/ibar-ibox.edc \ edc/icons.edc \ edc/ilist.edc \ @@ -509,6 +510,8 @@ img/led_strobe.png \ img/led_tiny_blue.png \ img/led_tiny_green.png \ img/led_tiny_orange.png \ +img/location_on.png \ +img/location_off.png \ img/logo_blue_bottom.png \ img/logo_blue_small_glow.png \ img/logo_blue_small.png \ diff --git a/data/themes/default.edc b/data/themes/default.edc index 953de8b40..42f5bc509 100644 --- a/data/themes/default.edc +++ b/data/themes/default.edc @@ -139,6 +139,7 @@ collections { #include "edc/illume.edc" #include "edc/bluez4.edc" #include "edc/packagekit.edc" +#include "edc/geolocation.edc" // icons #include "edc/icons.edc" diff --git a/data/themes/edc/geolocation.edc b/data/themes/edc/geolocation.edc new file mode 100644 index 000000000..ecd8eb26b --- /dev/null +++ b/data/themes/edc/geolocation.edc @@ -0,0 +1,33 @@ +group { name: "e/modules/geolocation/main"; + images.image: "location_off.png" COMP; + images.image: "location_on.png" COMP; + min: 16 16; + max: 160 160; + parts { + part { name: "in_use"; + description { state: "default" 0.0; + rel1.relative: (4/160) (4/160); + rel2.relative: (156/160) (156/160); + aspect: 1.0 1.0; aspect_preference: BOTH; + image.normal: "location_off.png"; + max: 152 152; + } + description { state: "visible" 0.0; + inherit: "default" 0.0; + image.normal: "location_on.png"; + } + } + } + programs { + program { + signal: "e,state,location_on"; source: "e"; + action: STATE_SET "visible" 0.0; + target: "in_use"; + } + program { + signal: "e,state,location_off"; source: "e"; + action: STATE_SET "default" 0.0; + target: "in_use"; + } + } +} diff --git a/data/themes/img/location_off.png b/data/themes/img/location_off.png Binary files differnew file mode 100644 index 000000000..b87b5d4a9 --- /dev/null +++ b/data/themes/img/location_off.png diff --git a/data/themes/img/location_on.png b/data/themes/img/location_on.png Binary files differnew file mode 100644 index 000000000..6bdc3ebe0 --- /dev/null +++ b/data/themes/img/location_on.png |