From 45090c8f264ed3d794f08c590b19ca33fb1fd58f Mon Sep 17 00:00:00 2001 From: Carsten Haitzler Date: Sun, 24 Jun 2012 01:27:44 +0000 Subject: [PATCH] set terminology env var and add others for copyright. SVN revision: 72742 --- src/bin/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/bin/main.c b/src/bin/main.c index 35295619..65b1b778 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -155,7 +155,7 @@ static const Ecore_Getopt options = { PACKAGE_NAME, "%prog [options]", PACKAGE_VERSION, - "(C) 2012 Carsten Haitzler", + "(C) 2012 Carsten Haitzler and others", "BSD 2-Clause", "Terminal emulator written with Enlightenment Foundation Libraries.", EINA_TRUE, @@ -205,7 +205,6 @@ elm_main(int argc, char **argv) Config *config; Evas_Object *o; - _log_domain = eina_log_domain_register("terminology", NULL); if (_log_domain < 0) { @@ -280,6 +279,9 @@ elm_main(int argc, char **argv) config->temporary = EINA_TRUE; } + // set an env so terminal apps can detect they are in terminology :) + putenv("TERMINOLOGY=1"); + win = tg_win_add(); bg = o = edje_object_add(evas_object_evas_get(win));