Usermode/axwin3 - Implimented terminal spawn command
authorJohn Hodge (sonata) <[email protected]>
Sun, 20 Jan 2013 06:30:22 +0000 (14:30 +0800)
committerJohn Hodge (sonata) <[email protected]>
Sun, 20 Jan 2013 06:30:22 +0000 (14:30 +0800)
Usermode/Applications/axwin3_src/Interface/main.c

index e8b5834..a098614 100644 (file)
@@ -111,14 +111,16 @@ void create_sidebar(void)
 
 void mainmenu_app_textedit(void *unused)
 {
-       const char      *args[] = {"ate",NULL};
 //     _SysDebug("TODO: Launch text editor");
+       const char      *args[] = {"ate",NULL};
        _SysSpawn("/Acess/Apps/AxWin/3.0/ate", args, (const char **)gEnvion, 0, NULL, NULL);
 }
 
 void mainmenu_app_terminal(void *unused)
 {
-       _SysDebug("TODO: Launch terminal emulator");
+       _SysDebug("Launch terminal emulator");
+       const char      *args[] = {"terminal",NULL};
+       _SysSpawn("/Acess/Apps/AxWin/3.0/terminal", args, (const char **)gEnvion, 0, NULL, NULL);
 }
 
 void mainmenu_run_dialog(void *unused)

UCC git Repository :: git.ucc.asn.au