forked from enlightenment/enlightenment
emixer - actually count cards
This commit is contained in:
parent
bb8f1a84ee
commit
d0e7a1907c
|
@ -1130,6 +1130,7 @@ _emix_card_add(Emix_Card *card)
|
|||
NULL, ELM_ICON_NONE,
|
||||
_cb_card_profile_change, profile);
|
||||
if (profile->active) elm_object_text_set(hv, profile->description);
|
||||
cards++;
|
||||
}
|
||||
if (cards == 0) elm_object_text_set(hv, "Not Connected");
|
||||
evas_object_size_hint_weight_set(hv, 0.0, 0.5);
|
||||
|
|
Loading…
Reference in New Issue