E codingstyle

SVN revision: 16899
This commit is contained in:
sebastid 2005-09-24 02:49:55 +00:00 committed by sebastid
parent 755a36e40a
commit 0c9265219a
2 changed files with 68 additions and 65 deletions

View File

@ -129,8 +129,7 @@ e_dialog_button_focus(E_Dialog *dia, int button)
db = evas_list_nth(dia->buttons, button);
if (!db)
return 0;
if (!db) return 0;
if (dia->focused)
{
@ -237,8 +236,11 @@ _e_dialog_cb_button_clicked(void *data, Evas_Object *obj, const char *emission,
static int
_e_dialog_key_down_cb(void *data, int type, void *event)
{
Ecore_X_Event_Key_Down *ev = event;
E_Dialog *dia = data;
Ecore_X_Event_Key_Down *ev;
E_Dialog *dia;
ev = event;
dia = data;
if (!strcmp(ev->keyname, "Tab") || !strcmp(ev->keyname, "Right"))
{
@ -254,9 +256,9 @@ _e_dialog_key_down_cb (void *data, int type, void *event)
dia->focused = dia->focused->next;
db = dia->focused->data;
edje_object_signal_emit(db->obj, "focus", "");
} else {
}
else
{
E_Dialog_Button *db;
db = dia->focused->data;
@ -266,8 +268,9 @@ _e_dialog_key_down_cb (void *data, int type, void *event)
db = evas_list_data(dia->focused);
edje_object_signal_emit(db->obj, "focus", "");
}
} else {
}
else
{
E_Dialog_Button *db;
dia->focused = dia->buttons;