settings/bluetooth: Icons change. 96/97996/1
authorRadoslaw Czerski <r.czerski@samsung.com>
Tue, 15 Nov 2016 14:02:59 +0000 (15:02 +0100)
committerRadoslaw Czerski <r.czerski@samsung.com>
Tue, 15 Nov 2016 14:02:59 +0000 (15:02 +0100)
Change-Id: Ie136678fb3ddaacb483945d41b8d3c92ee52fe01
Signed-off-by: Radoslaw Czerski <r.czerski@samsung.com>
res/resource/icons/Bluetooth, NFC, GPS/b03_bt_activated_on.png [moved from res/resource/icons/Bluetooth, NFC, GPS/b03_bt_on_notconnected.png with 55% similarity]
src/modules/setting/bluetooth.c

similarity index 55%
rename from res/resource/icons/Bluetooth, NFC, GPS/b03_bt_on_notconnected.png
rename to res/resource/icons/Bluetooth, NFC, GPS/b03_bt_activated_on.png
index 9da7771..14e078a 100644 (file)
Binary files a/res/resource/icons/Bluetooth, NFC, GPS/b03_bt_on_notconnected.png and b/res/resource/icons/Bluetooth, NFC, GPS/b03_bt_activated_on.png differ
index a982b33..61ee3cb 100644 (file)
@@ -67,15 +67,15 @@ icon_s bluetooth = {
 
 enum {
        LEVEL_MIN = 0,
-       LEVEL_BT_NOT_CONNECTED = LEVEL_MIN,
+       LEVEL_BT_ON = LEVEL_MIN,
        LEVEL_BT_CONNECTED,
        LEVEL_BT_HEADSET,
        LEVEL_MAX
 };
 
 static const char *icon_path[LEVEL_MAX] = {
-       [LEVEL_BT_NOT_CONNECTED] = "Bluetooth, NFC, GPS/b03_bt_on_notconnected.png",
-       [LEVEL_BT_CONNECTED] = "Bluetooth, NFC, GPS/b03_bt_on_connected.png",
+       [LEVEL_BT_ON] = "Bluetooth, NFC, GPS/b03_bt_on_connected.png",
+       [LEVEL_BT_CONNECTED] = "Bluetooth, NFC, GPS/b03_bt_activated_on.png",
        [LEVEL_BT_HEADSET] = "Bluetooth, NFC, GPS/b03_bt_on_connected&headset.png",
 };
 
@@ -112,7 +112,7 @@ static void hide_image_icon(void)
 static void show_bluetooth_icon(void *data, int status)
 {
        if (status == NO_DEVICE) {
-               show_image_icon(data, LEVEL_BT_CONNECTED);
+               show_image_icon(data, LEVEL_BT_ON);
                return;
        }
 
@@ -194,7 +194,7 @@ static char *access_info_cb(void *data, Evas_Object *obj)
 
        switch(prevIndex)
        {
-               case LEVEL_BT_NOT_CONNECTED:
+               case LEVEL_BT_ON:
                        snprintf(buf, sizeof(buf), "%s, %s", _("IDS_IDLE_BODY_BLUETOOTH_ON"),_("IDS_IDLE_BODY_STATUS_BAR_ITEM"));
                        break;
                case LEVEL_BT_CONNECTED: