diff --git a/data/themes/default.edc b/data/themes/default.edc index 16970ef6..670c7a47 100644 --- a/data/themes/default.edc +++ b/data/themes/default.edc @@ -2619,9 +2619,15 @@ target: "4.bottom" program { signal: "key,down"; source: "terminology"; script { +#if (EINA_VERSION_MAJOR > 1) || (EINA_VERSION_MINOR >= 8) new buf[32]; snprintf(buf, 31, "key-down%i", (rand() % 5) + 1); run_program(get_program_id(buf)); +#else + run_program(PROGRAM:"key-down4"); // chosen by a fair dice roll + // guaranteed to be random. + // http://xkcd.com/221/ +#endif } } program { name: "key-down1"; diff --git a/data/themes/mild.edc b/data/themes/mild.edc index f2a85ccd..89c2227c 100644 --- a/data/themes/mild.edc +++ b/data/themes/mild.edc @@ -1210,9 +1210,15 @@ collections { program { signal: "key,down"; source: "terminology"; script { +#if (EINA_VERSION_MAJOR > 1) || (EINA_VERSION_MINOR >= 8) new buf[32]; snprintf(buf, 31, "key-down%i", (rand() % 5) + 1); run_program(get_program_id(buf)); +#else + run_program(PROGRAM:"key-down4"); // chosen by a fair dice roll + // guaranteed to be random. + // http://xkcd.com/221/ +#endif } } program { name: "key-down1";