formatting

SVN revision: 72691
This commit is contained in:
Mike Blumenkrantz 2012-06-22 07:28:13 +00:00
parent f715dc41fe
commit 21d37fcbbc
2 changed files with 472 additions and 464 deletions

View File

@ -305,3 +305,4 @@ _show_label_cb_change(void *data, Evas_Object *obj __UNUSED__)
e_widget_disabled_set(cfdata->radio_comment, !cfdata->show_label); e_widget_disabled_set(cfdata->radio_comment, !cfdata->show_label);
e_widget_disabled_set(cfdata->radio_generic, !cfdata->show_label); e_widget_disabled_set(cfdata->radio_generic, !cfdata->show_label);
} }

View File

@ -189,6 +189,7 @@ _gc_orient(E_Gadcon_Client *gcc, E_Gadcon_Orient orient)
_ibar_orient_set(inst->ibar, 1); _ibar_orient_set(inst->ibar, 1);
e_gadcon_client_aspect_set(gcc, eina_list_count(inst->ibar->icons) * 16, 16); e_gadcon_client_aspect_set(gcc, eina_list_count(inst->ibar->icons) * 16, 16);
break; break;
case E_GADCON_ORIENT_VERT: case E_GADCON_ORIENT_VERT:
case E_GADCON_ORIENT_LEFT: case E_GADCON_ORIENT_LEFT:
case E_GADCON_ORIENT_RIGHT: case E_GADCON_ORIENT_RIGHT:
@ -199,6 +200,7 @@ _gc_orient(E_Gadcon_Client *gcc, E_Gadcon_Orient orient)
_ibar_orient_set(inst->ibar, 0); _ibar_orient_set(inst->ibar, 0);
e_gadcon_client_aspect_set(gcc, 16, eina_list_count(inst->ibar->icons) * 16); e_gadcon_client_aspect_set(gcc, 16, eina_list_count(inst->ibar->icons) * 16);
break; break;
default: default:
break; break;
} }
@ -481,10 +483,12 @@ _ibar_config_update(Config_Item *ci)
edje_object_part_text_set(ic->o_holder2, "e.text.label", edje_object_part_text_set(ic->o_holder2, "e.text.label",
ic->app->name); ic->app->name);
break; break;
case 1: case 1:
edje_object_part_text_set(ic->o_holder2, "e.text.label", edje_object_part_text_set(ic->o_holder2, "e.text.label",
ic->app->comment); ic->app->comment);
break; break;
case 2: case 2:
edje_object_part_text_set(ic->o_holder2, "e.text.label", edje_object_part_text_set(ic->o_holder2, "e.text.label",
ic->app->generic_name); ic->app->generic_name);
@ -586,9 +590,11 @@ _ibar_icon_fill(IBar_Icon *ic)
case 0: /* Eap Name */ case 0: /* Eap Name */
edje_object_part_text_set(ic->o_holder2, "e.text.label", ic->app->name); edje_object_part_text_set(ic->o_holder2, "e.text.label", ic->app->name);
break; break;
case 1: /* Eap Comment */ case 1: /* Eap Comment */
edje_object_part_text_set(ic->o_holder2, "e.text.label", ic->app->comment); edje_object_part_text_set(ic->o_holder2, "e.text.label", ic->app->comment);
break; break;
case 2: /* Eap Generic */ case 2: /* Eap Generic */
edje_object_part_text_set(ic->o_holder2, "e.text.label", ic->app->generic_name); edje_object_part_text_set(ic->o_holder2, "e.text.label", ic->app->generic_name);
break; break;
@ -694,17 +700,17 @@ _ibar_cb_menu_configuration(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __
} }
/* /*
static void static void
_ibar_cb_menu_add(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__) _ibar_cb_menu_add(void *data, E_Menu *m __UNUSED__, E_Menu_Item *mi __UNUSED__)
{ {
IBar *b; IBar *b;
b = data; b = data;
e_configure_registry_call("internal/ibar_other", e_configure_registry_call("internal/ibar_other",
b->inst->gcc->gadcon->zone->container, b->inst->gcc->gadcon->zone->container,
b->apps->path); b->apps->path);
} }
*/ */
static void static void
_ibar_cb_menu_post(void *data __UNUSED__, E_Menu *m __UNUSED__) _ibar_cb_menu_post(void *data __UNUSED__, E_Menu *m __UNUSED__)
@ -1125,7 +1131,7 @@ _ibar_inst_cb_drop(void *data, const char *type, void *event_info)
} }
else else
{ {
atend: atend:
if (inst->ibar->apps) if (inst->ibar->apps)
{ {
if (app) if (app)
@ -1258,3 +1264,4 @@ _ibar_cb_config_icons(__UNUSED__ void *data, __UNUSED__ int ev_type, __UNUSED__
} }
return ECORE_CALLBACK_PASS_ON; return ECORE_CALLBACK_PASS_ON;
} }