forked from enlightenment/evisum
menu: remove button...
redundant button like the author (for now)... XD
This commit is contained in:
parent
aef57c2e8c
commit
94f4e9c620
|
@ -778,16 +778,6 @@ _btn_state_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED,
|
||||||
_btn_clicked_state_save(ui, ui->btn_state);
|
_btn_clicked_state_save(ui, ui->btn_state);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
_quit_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
|
|
||||||
void *event_info EINA_UNUSED)
|
|
||||||
{
|
|
||||||
Ui *ui = data;
|
|
||||||
|
|
||||||
ui->shutdown_now = EINA_TRUE;
|
|
||||||
evisum_ui_shutdown(ui);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_item_menu_dismissed_cb(void *data EINA_UNUSED, Evas_Object *obj,
|
_item_menu_dismissed_cb(void *data EINA_UNUSED, Evas_Object *obj,
|
||||||
void *ev EINA_UNUSED)
|
void *ev EINA_UNUSED)
|
||||||
|
@ -1210,8 +1200,6 @@ _main_menu_create(Ui *ui, Evas_Object *btn)
|
||||||
|
|
||||||
btn = _btn_create(hbox, "evisum", _("About"), _about_clicked_cb, ui);
|
btn = _btn_create(hbox, "evisum", _("About"), _about_clicked_cb, ui);
|
||||||
elm_box_pack_end(hbox, btn);
|
elm_box_pack_end(hbox, btn);
|
||||||
btn = _btn_create(hbox, "exit", _("Quit"), _quit_cb, ui);
|
|
||||||
elm_box_pack_end(hbox, btn);
|
|
||||||
|
|
||||||
sli = elm_slider_add(o);
|
sli = elm_slider_add(o);
|
||||||
evas_object_size_hint_weight_set(sli, EXPAND, EXPAND);
|
evas_object_size_hint_weight_set(sli, EXPAND, EXPAND);
|
||||||
|
|
Loading…
Reference in New Issue