forked from enlightenment/edi
remove tabs from indent
This commit is contained in:
parent
2604a3cdfd
commit
7cc03ec58d
|
@ -60,10 +60,10 @@ edi_mainview_item_prev()
|
||||||
EINA_LIST_FOREACH(_edi_mainview_items, item, it)
|
EINA_LIST_FOREACH(_edi_mainview_items, item, it)
|
||||||
{
|
{
|
||||||
if (first->view == current)
|
if (first->view == current)
|
||||||
{
|
{
|
||||||
prev = eina_list_nth(_edi_mainview_items, eina_list_count(_edi_mainview_items)-1);
|
prev = eina_list_nth(_edi_mainview_items, eina_list_count(_edi_mainview_items)-1);
|
||||||
edi_mainview_item_select(prev);
|
edi_mainview_item_select(prev);
|
||||||
}
|
}
|
||||||
if (it && it->view == current)
|
if (it && it->view == current)
|
||||||
{
|
{
|
||||||
if (prev)
|
if (prev)
|
||||||
|
@ -89,10 +89,10 @@ edi_mainview_item_next()
|
||||||
EINA_LIST_FOREACH(_edi_mainview_items, item, it)
|
EINA_LIST_FOREACH(_edi_mainview_items, item, it)
|
||||||
{
|
{
|
||||||
if (last->view == current)
|
if (last->view == current)
|
||||||
{
|
{
|
||||||
next = eina_list_nth(_edi_mainview_items, 0);
|
next = eina_list_nth(_edi_mainview_items, 0);
|
||||||
edi_mainview_item_select(next);
|
edi_mainview_item_select(next);
|
||||||
}
|
}
|
||||||
if (it && open_next)
|
if (it && open_next)
|
||||||
{
|
{
|
||||||
edi_mainview_item_select(it);
|
edi_mainview_item_select(it);
|
||||||
|
|
|
@ -55,14 +55,13 @@ _edi_message_open(const char *message, Eina_Bool deletable)
|
||||||
|
|
||||||
popup = elm_popup_add(_welcome_window);
|
popup = elm_popup_add(_welcome_window);
|
||||||
_edi_new_popup = popup;
|
_edi_new_popup = popup;
|
||||||
elm_object_part_text_set(popup, "title,text",
|
elm_object_part_text_set(popup, "title,text", message);
|
||||||
message);
|
|
||||||
|
|
||||||
button = elm_button_add(popup);
|
button = elm_button_add(popup);
|
||||||
elm_object_text_set(button, "Ok");
|
elm_object_text_set(button, "Ok");
|
||||||
elm_object_part_content_set(popup, "button1", button);
|
elm_object_part_content_set(popup, "button1", button);
|
||||||
evas_object_smart_callback_add(button, "clicked",
|
evas_object_smart_callback_add(button, "clicked",
|
||||||
_edi_on_close_message, NULL);
|
_edi_on_close_message, NULL);
|
||||||
|
|
||||||
if (deletable)
|
if (deletable)
|
||||||
{
|
{
|
||||||
|
@ -70,7 +69,7 @@ _edi_message_open(const char *message, Eina_Bool deletable)
|
||||||
elm_object_text_set(button, "Delete");
|
elm_object_text_set(button, "Delete");
|
||||||
elm_object_part_content_set(popup, "button2", button);
|
elm_object_part_content_set(popup, "button2", button);
|
||||||
evas_object_smart_callback_add(button, "clicked",
|
evas_object_smart_callback_add(button, "clicked",
|
||||||
_edi_on_delete_message, NULL);
|
_edi_on_delete_message, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
evas_object_show(popup);
|
evas_object_show(popup);
|
||||||
|
|
Loading…
Reference in New Issue