From f8c2aa95fb0cf8e5164db3a3f42442c2033facb3 Mon Sep 17 00:00:00 2001 From: Jaime Thomas Date: Tue, 23 Sep 2008 16:56:04 +0000 Subject: [PATCH] Get rid of useless programs --- .../themes/default/groups/welcome_page.edc | 59 ------------------- experimental/ecdb/trunk/src/ecdb_gui.c | 6 +- 2 files changed, 3 insertions(+), 62 deletions(-) diff --git a/experimental/ecdb/trunk/data/themes/default/groups/welcome_page.edc b/experimental/ecdb/trunk/data/themes/default/groups/welcome_page.edc index 258d9631..c620fcc4 100644 --- a/experimental/ecdb/trunk/data/themes/default/groups/welcome_page.edc +++ b/experimental/ecdb/trunk/data/themes/default/groups/welcome_page.edc @@ -87,63 +87,4 @@ group { } } } - - programs { - program { - name: "b1_selected"; - signal: "mouse,down,1"; - action: SIGNAL_EMIT "selected" "ecdb/burn_data"; - source: "ecdb/burn_data"; - } - - - program { - name: "b1_clicked"; - signal: "mouse,clicked,1"; - action: SIGNAL_EMIT "clicked" "ecdb/burn_data"; - source: "ecdb/burn_data"; - } - - program { - name: "b2_selected"; - signal: "mouse,down,1"; - action: SIGNAL_EMIT "selected" "ecdb/burn_audio"; - source: "ecdb/burn_audio"; - } - - program { - name: "b2_clicked"; - signal: "mouse,clicked,1"; - action: SIGNAL_EMIT "clicked" "ecdb/burn_audio"; - source: "ecdb/burn_audio"; - } - - program { - name: "b3_selected"; - signal: "mouse,down,1"; - action: SIGNAL_EMIT "selected" "ecdb/burn_image"; - source: "ecdb/burn_image"; - } - - program { - name: "b3_clicked"; - signal: "mouse,clicked,1"; - action: SIGNAL_EMIT "clicked" "ecdb/burn_image"; - source: "ecdb/burn_image"; - } - - program { - name: "b4_selected"; - signal: "mouse,down,1"; - action: SIGNAL_EMIT "selected" "ecdb/erase"; - source: "ecdb/erase"; - } - - program { - name: "b4_clicked"; - signal: "mouse,clicked,1"; - action: SIGNAL_EMIT "clicked" "ecdb/erase"; - source: "ecdb/erase"; - } - } } diff --git a/experimental/ecdb/trunk/src/ecdb_gui.c b/experimental/ecdb/trunk/src/ecdb_gui.c index 469be2b4..b4e6f1c9 100644 --- a/experimental/ecdb/trunk/src/ecdb_gui.c +++ b/experimental/ecdb/trunk/src/ecdb_gui.c @@ -227,10 +227,10 @@ ecdb_create_main_gui(void) evas_object_move(welcome_page, x, y); evas_object_resize(welcome_page, w, h); edje_object_part_swallow(gui, "action_area", welcome_page); - edje_object_signal_callback_add(welcome_page, "selected", "ecdb/*", + edje_object_signal_callback_add(welcome_page, "mouse,down,1", "ecdb/*", ecdb_cb_welcome_page_buttons_focused, NULL); - edje_object_signal_callback_add(welcome_page, "clicked", "ecdb/*", - ecdb_cb_welcome_page_buttons_clicked, NULL); + edje_object_signal_callback_add(welcome_page, "mouse,clicked,1", + "ecdb/*", ecdb_cb_welcome_page_buttons_clicked, NULL); evas_object_show(welcome_page); /* Buttons next, do properly next */