Get rid of useless programs

This commit is contained in:
Jaime Thomas 2008-09-23 16:56:04 +00:00
parent a357795398
commit f8c2aa95fb
2 changed files with 3 additions and 62 deletions

View File

@ -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";
}
}
} }

View File

@ -227,10 +227,10 @@ ecdb_create_main_gui(void)
evas_object_move(welcome_page, x, y); evas_object_move(welcome_page, x, y);
evas_object_resize(welcome_page, w, h); evas_object_resize(welcome_page, w, h);
edje_object_part_swallow(gui, "action_area", welcome_page); 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); ecdb_cb_welcome_page_buttons_focused, NULL);
edje_object_signal_callback_add(welcome_page, "clicked", "ecdb/*", edje_object_signal_callback_add(welcome_page, "mouse,clicked,1",
ecdb_cb_welcome_page_buttons_clicked, NULL); "ecdb/*", ecdb_cb_welcome_page_buttons_clicked, NULL);
evas_object_show(welcome_page); evas_object_show(welcome_page);
/* Buttons next, do properly next */ /* Buttons next, do properly next */