missed this ibar config item function, fix fix!

SVN revision: 72690
This commit is contained in:
Mike Blumenkrantz 2012-06-22 07:24:31 +00:00
parent 74edef9f46
commit f715dc41fe
1 changed files with 4 additions and 5 deletions

View File

@ -225,13 +225,12 @@ _gc_icon(E_Gadcon_Client_Class *client_class __UNUSED__, Evas *evas)
} }
static const char * static const char *
_gc_id_new(E_Gadcon_Client_Class *client_class) _gc_id_new(E_Gadcon_Client_Class *client_class __UNUSED__)
{ {
static char buf[PATH_MAX]; Config_Item *ci;
snprintf(buf, sizeof(buf), "%s.%d", client_class->name, ci = _ibar_config_item_get(NULL);
eina_list_count(ibar_config->instances) + 1); return ci->id;
return buf;
} }
static void static void