aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/modules/pager/e_mod_main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/modules/pager/e_mod_main.c b/src/modules/pager/e_mod_main.c
index baeade7cc..f6725f7f3 100644
--- a/src/modules/pager/e_mod_main.c
+++ b/src/modules/pager/e_mod_main.c
@@ -271,9 +271,13 @@ _gc_icon(E_Gadcon_Client_Class *client_class __UNUSED__, Evas *evas)
}
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 *