forked from enlightenment/enlightenment
fix pager id saving, fixes #684 and also deletes your pager configs
SVN revision: 72586
This commit is contained in:
parent
fc51fe7208
commit
3ccb0c6b95
|
@ -271,9 +271,13 @@ _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 __UNUSED__)
|
_gc_id_new(E_Gadcon_Client_Class *client_class)
|
||||||
{
|
{
|
||||||
return _gadcon_class.name;
|
char buf[PATH_MAX];
|
||||||
|
|
||||||
|
snprintf(buf, sizeof(buf), "%s.%d", client_class->name,
|
||||||
|
eina_list_count(pager_config->instances));
|
||||||
|
return strdup(buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
static Pager *
|
static Pager *
|
||||||
|
|
Loading…
Reference in New Issue