Browse Source

Change the name of global view to __global

Serj Kalichev 9 years ago
parent
commit
06d7605d15
2 changed files with 1 additions and 6 deletions
  1. 0 5
      clish/shell/shell_startup.c
  2. 1 1
      clish/shell/shell_xml.c

+ 0 - 5
clish/shell/shell_startup.c

@@ -80,11 +80,6 @@ const char * clish_shell__get_default_shebang(const clish_shell_t *this)
 }
 
 /*-------------------------------------------------------- */
-/* Don't forget:
- *    Global view
- *    hooks
- */
-
 int clish_shell_prepare(clish_shell_t *this)
 {
 	clish_command_t *cmd;

+ 1 - 1
clish/shell/shell_xml.c

@@ -263,7 +263,7 @@ static int process_clish_module(clish_shell_t *shell, clish_xmlnode_t *element,
 	/* Create the global view */
 	if (!shell->global)
 		shell->global = clish_shell_find_create_view(shell,
-			"global", "");
+			"__global", "");
 
 	parent = parent; /* Happy compiler */