billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=d802bf6324d89eaff8c9540dda2682b0d1331abf

commit d802bf6324d89eaff8c9540dda2682b0d1331abf
Author: Markus Törnqvist <[email protected]>
Date:   Sun Jan 12 20:08:38 2014 +0200

    Make the login_shell option behave as all others
    
    Cheers cippp!
---
 src/bin/main.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/bin/main.c b/src/bin/main.c
index 72de4c4..2ec099b 100644
--- a/src/bin/main.c
+++ b/src/bin/main.c
@@ -2924,9 +2924,13 @@ elm_main(int argc, char **argv)
              size_h = 24;
           }
      }
-   
-   // for now if not set - dont do login shell - later from config
-   if (login_shell == 0xff) login_shell = EINA_FALSE;
+
+   if (login_shell != 0xff)
+     {
+        config->login_shell = login_shell;
+        config->temporary = EINA_TRUE;
+     }
+   login_shell = config->login_shell;
 
 remote:
    if ((!single) && (config->multi_instance))

-- 


Reply via email to