Show name of checkbox beside it not in the "on" position.
Without this one has to toggle them first to see which one is
which. This fixes #1700 and #2109.

Signed-off-by: Jakob Drexel <jak...@rommel.stw.uni-erlangen.de>
---
 src/view/call-active-view.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/view/call-active-view.c b/src/view/call-active-view.c
index 694498d..b6e1dac 100644
--- a/src/view/call-active-view.c
+++ b/src/view/call-active-view.c
@@ -159,7 +159,7 @@ call_active_view_show(struct Window *win, GHashTable * 
options)
        g_debug("adding the speaker toggle...");
        data->speaker_toggle = elm_check_add(window_evas_object_get(win));
        elm_object_style_set(data->speaker_toggle, "toggle");
-       elm_object_part_text_set(data->speaker_toggle, "on", D_("Speaker"));
+       elm_object_part_text_set(data->speaker_toggle, "default", 
D_("Speaker"));
        elm_check_state_set(data->speaker_toggle, EINA_FALSE);
        elm_object_scale_set(data->speaker_toggle, 1.2);
        evas_object_smart_callback_add(data->speaker_toggle, "changed",
@@ -170,7 +170,7 @@ call_active_view_show(struct Window *win, GHashTable * 
options)
        g_debug("adding the mute toggle...");
        data->mute_toggle = elm_check_add(window_evas_object_get(win));
        elm_object_style_set(data->mute_toggle, "toggle");
-       elm_object_part_text_set(data->mute_toggle, "on", D_("Mute"));
+       elm_object_part_text_set(data->mute_toggle, "default", D_("Mute"));
        elm_check_state_set(data->mute_toggle, EINA_FALSE);
        elm_object_scale_set(data->mute_toggle, 1.2);
        evas_object_smart_callback_add(data->mute_toggle, "changed",
-- 
1.8.5.5

_______________________________________________
Shr-devel mailing list
Shr-devel@lists.shr-project.org
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to