summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzmike <michael.blumenkrantz@gmail.com>2014-02-15 12:33:35 -0500
committerzmike <michael.blumenkrantz@gmail.com>2014-02-15 12:33:35 -0500
commit5f954a5d16f4dd0d035e5bbfbc63408c9d07d70e (patch)
treeb5bd09e9c6f0dac3ce783507b8119569f018cf34
parent2b446b9699d4846c599101ee3907e90b79f93801 (diff)
hide previous bg when swapping
-rw-r--r--src/bin/empc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/empc.c b/src/bin/empc.c
index 0109735..7d6acb3 100644
--- a/src/bin/empc.c
+++ b/src/bin/empc.c
@@ -134,7 +134,7 @@ bg_add(void *data EINA_UNUSED, Empc_Fetch_Request *req, Evas_Object *obj)
134static void 134static void
135bg_changed(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *sig EINA_UNUSED, const char *src EINA_UNUSED) 135bg_changed(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *sig EINA_UNUSED, const char *src EINA_UNUSED)
136{ 136{
137 elm_object_part_content_unset(layout, EMPC_BASE_SWALLOW_BACKGROUND); 137 evas_object_hide(elm_object_part_content_unset(layout, EMPC_BASE_SWALLOW_BACKGROUND));
138 elm_object_part_content_set(layout, EMPC_BASE_SWALLOW_BACKGROUND, bg[background_num]); 138 elm_object_part_content_set(layout, EMPC_BASE_SWALLOW_BACKGROUND, bg[background_num]);
139 elm_object_signal_emit(layout, "empc,bg,done", "empc"); 139 elm_object_signal_emit(layout, "empc,bg,done", "empc");
140} 140}