From: Radoslaw Czerski Date: Tue, 15 Nov 2016 14:02:59 +0000 (+0100) Subject: settings/bluetooth: Icons change. X-Git-Tag: submit/tizen/20161117.163911~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09df4c341520c1724b442aadb2cb43515e9a61f7;p=profile%2Fmobile%2Fapps%2Fnative%2Findicator.git settings/bluetooth: Icons change. Change-Id: Ie136678fb3ddaacb483945d41b8d3c92ee52fe01 Signed-off-by: Radoslaw Czerski --- diff --git a/res/resource/icons/Bluetooth, NFC, GPS/b03_bt_activated_on.png b/res/resource/icons/Bluetooth, NFC, GPS/b03_bt_activated_on.png new file mode 100644 index 0000000..14e078a Binary files /dev/null and b/res/resource/icons/Bluetooth, NFC, GPS/b03_bt_activated_on.png differ diff --git a/res/resource/icons/Bluetooth, NFC, GPS/b03_bt_on_notconnected.png b/res/resource/icons/Bluetooth, NFC, GPS/b03_bt_on_notconnected.png deleted file mode 100644 index 9da7771..0000000 Binary files a/res/resource/icons/Bluetooth, NFC, GPS/b03_bt_on_notconnected.png and /dev/null differ diff --git a/src/modules/setting/bluetooth.c b/src/modules/setting/bluetooth.c index a982b33..61ee3cb 100644 --- a/src/modules/setting/bluetooth.c +++ b/src/modules/setting/bluetooth.c @@ -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: