aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2014-04-15 21:43:32 +0300
committerKai Huuhko <kai.huuhko@gmail.com>2014-04-15 21:43:32 +0300
commit451d49d7315f1a2156e3a8ff77d7931eb75137da (patch)
tree758d8594751c43f63f34deeba8fdd76732929cf0 /examples
parentCode cleanup: Remove unused exception instances (diff)
downloadpython-efl-451d49d7315f1a2156e3a8ff77d7931eb75137da.tar.gz
Examples: Fixed elm.popup duplicate function names
Diffstat (limited to 'examples')
-rw-r--r--examples/elementary/test_popup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/elementary/test_popup.py b/examples/elementary/test_popup.py
index 1c7b232..7dfa4a3 100644
--- a/examples/elementary/test_popup.py
+++ b/examples/elementary/test_popup.py
@@ -46,7 +46,7 @@ def cb_popup_center_title_text_1button(li, item, win):
popup.part_content_set("button1", bt)
popup.show()
-def cb_popup_center_title_text_1button(li, item, win):
+def cb_popup_center_title_text_2button(li, item, win):
popup = Popup(win, size_hint_weight=EXPAND_BOTH)
popup.text = "This Popup has title area, content area and " \
"action area set, action area has one button Close"
@@ -184,7 +184,7 @@ def popup_clicked(obj):
li.item_append("popup-center-text + 1 button", None, None,
cb_popup_center_title_text_1button, win)
li.item_append("popup-center-title + text + 1 button", None, None,
- cb_popup_center_title_text_1button, win)
+ cb_popup_center_title_text_2button, win)
li.item_append("popup-center-title + text (block,clicked handling)", None, None,
cb_popup_center_title_text_block_clicked_event, win)
li.item_append("popup-bottom-title + text + 3 buttons", None, None,