Mercurial > hg > xemacs-beta
diff netinstall/desktop.cc @ 672:42a8626b741e
[xemacs-hg @ 2001-10-26 02:42:53 by andyp]
more netinstaller fixes
author | andyp |
---|---|
date | Fri, 26 Oct 2001 02:42:53 +0000 |
parents | 146d342ff859 |
children | a307f9a2021d |
line wrap: on
line diff
--- a/netinstall/desktop.cc Mon Oct 01 12:47:10 2001 +0000 +++ b/netinstall/desktop.cc Fri Oct 26 02:42:53 2001 +0000 @@ -316,6 +316,11 @@ log (0, "Registering .txt files"); setup_explorer ("txt", "Text file", batname); } + if (reg_idl) + { + log (0, "Registering .idl files"); + setup_explorer ("idl", "OMG IDL file", batname); + } } } } @@ -328,6 +333,7 @@ static int cppt[] = { IDC_CPP_TYPE, 0 }; static int elispt[] = { IDC_ELISP_TYPE, 0 }; static int txtt[] = { IDC_TXT_TYPE, 0 }; +static int idlt[] = { IDC_IDL_TYPE, 0 }; static void check_if_enable_next (HWND h) @@ -345,6 +351,7 @@ rbset (h, cppt, reg_cpp); rbset (h, elispt, reg_elisp); rbset (h, txtt, reg_txt); + rbset (h, idlt, reg_idl); check_if_enable_next (h); } @@ -418,6 +425,7 @@ reg_cpp = rbget (h, cppt); reg_elisp = rbget (h, elispt); reg_txt = rbget (h, txtt); + reg_idl = rbget (h, idlt); } static BOOL @@ -487,6 +495,7 @@ reg_java = IDC_JAVA_TYPE; reg_elisp = IDC_ELISP_TYPE; reg_txt = IDC_TXT_TYPE; + reg_idl = IDC_IDL_TYPE; } else { @@ -497,6 +506,7 @@ reg_java = 0; reg_elisp = 0; reg_txt = 0; + reg_idl = 0; } int rv = 0;