From 2b7de105c740ee70da42a89bfcdd9f3427dcec0f Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Sun, 27 Jan 2013 06:50:42 +0000 Subject: [PATCH] quick improvement of bluez4 gadget icon... :) SVN revision: 83366 --- data/themes/Makefile.am | 1 + data/themes/default.edc | 1 + data/themes/edc/bluez4.edc | 26 ++++++++++++++++++++++++++ src/modules/bluez4/e_mod_main.c | 4 ++-- 4 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 data/themes/edc/bluez4.edc diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am index f0c4efa..0cb73bd 100644 --- a/data/themes/Makefile.am +++ b/data/themes/Makefile.am @@ -23,6 +23,7 @@ edc/appmenu.edc \ edc/background.edc \ edc/backlight.edc \ edc/battery.edc \ +edc/bluez4.edc \ edc/border.edc \ edc/border-icons.edc \ edc/button.edc \ diff --git a/data/themes/default.edc b/data/themes/default.edc index 6bb2754..047d26e 100644 --- a/data/themes/default.edc +++ b/data/themes/default.edc @@ -62,6 +62,7 @@ collections { #include "edc/battery.edc" #include "edc/evrything.edc" #include "edc/illume.edc" +#include "edc/bluez4.edc" // icons #include "edc/icons.edc" #include "edc/border-icons.edc" diff --git a/data/themes/edc/bluez4.edc b/data/themes/edc/bluez4.edc new file mode 100644 index 0000000..b9a89fb --- /dev/null +++ b/data/themes/edc/bluez4.edc @@ -0,0 +1,26 @@ +group { name: "e/modules/bluez4/main"; + images.image: "bt_base.png" COMP; + max: 160 160; + parts { + part { name: "base"; + description { state: "default" 0.0; + aspect: (160/144) (160/144); aspect_preference: BOTH; + image.normal: "bt_base.png"; + } + } + } +} + +group { name: "e/modules/bluez4/inactive"; + images.image: "bt_base.png" COMP; + max: 160 160; + parts { + part { name: "base"; + description { state: "default" 0.0; + aspect: (160/144) (160/144); aspect_preference: BOTH; + image.normal: "bt_base.png"; + color: 255 255 255 128; + } + } + } +} diff --git a/src/modules/bluez4/e_mod_main.c b/src/modules/bluez4/e_mod_main.c index feb6777..7fff133 100644 --- a/src/modules/bluez4/e_mod_main.c +++ b/src/modules/bluez4/e_mod_main.c @@ -373,9 +373,9 @@ _ebluez4_set_mod_icon(Evas_Object *base) snprintf(edj_path, sizeof(edj_path), "%s/e-module-bluez4.edj", mod->dir); if (ctxt->adap_obj) - group = "modules/bluez4/main"; + group = "e/modules/bluez4/main"; else - group = "modules/bluez4/inactive"; + group = "e/modules/bluez4/inactive"; if (!e_theme_edje_object_set(base, "base/theme/modules/bluez4", group)) edje_object_file_set(base, edj_path, group); -- 2.7.4