[Ttssh2-commit] [4944] 再起動が必要な設定項目での保存・再起動をしないようにした

svnno****@sourc***** svnno****@sourc*****
2012年 5月 14日 (月) 00:41:52 JST


Revision: 4944
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/4944
Author:   maya
Date:     2012-05-14 00:41:52 +0900 (Mon, 14 May 2012)
Log Message:
-----------
再起動が必要な設定項目での保存・再起動をしないようにした

Modified Paths:
--------------
    trunk/installer/release/lang/English.lng
    trunk/installer/release/lang/French.lng
    trunk/installer/release/lang/German.lng
    trunk/installer/release/lang/Japanese.lng
    trunk/teraterm/common/tt_res.h
    trunk/teraterm/teraterm/addsetting.cpp
    trunk/teraterm/teraterm/ttermpro.rc

-------------- next part --------------
Modified: trunk/installer/release/lang/English.lng
===================================================================
--- trunk/installer/release/lang/English.lng	2012-05-13 14:53:23 UTC (rev 4943)
+++ trunk/installer/release/lang/English.lng	2012-05-13 15:41:52 UTC (rev 4944)
@@ -196,7 +196,7 @@
 DLG_TAB_COPYPASTE_PASTEDELAY2=ms
 
 DLG_TAB_VISUAL_ALHPA=&Alpha blend
-DLG_TAB_VISUAL_ETERM=&Eterm lookfeel
+DLG_TAB_VISUAL_ETERM=&Eterm lookfeel(*)
 DLG_TAB_VISUAL_MOUSE=&Mouse cursor
 DLG_TAB_VISUAL_FONT_QUALITY=&Font quality
 DLG_TAB_VISUAL_FONT_QUALITY_DEFAULT=Default
@@ -212,6 +212,7 @@
 DLG_TAB_VISUAL_URL=Enable &URL attribute color
 DLG_TAB_VISUAL_ANSI=Enable A&NSI color
 DLG_TAB_VISUAL_URLUL=Un&derline URL string
+DLG_TAB_VISUAL_RESTART=(*)Need to Save setup and restart Tera Term
 
 DLG_TAB_LOG_EDITOR=View log &editor
 DLG_TAB_LOG_FILENAME=Default log &file name(strftime format)

Modified: trunk/installer/release/lang/French.lng
===================================================================
--- trunk/installer/release/lang/French.lng	2012-05-13 14:53:23 UTC (rev 4943)
+++ trunk/installer/release/lang/French.lng	2012-05-13 15:41:52 UTC (rev 4944)
@@ -196,7 +196,7 @@
 DLG_TAB_COPYPASTE_PASTEDELAY2=ms
 
 DLG_TAB_VISUAL_ALHPA=M\xE9lange alpha
-DLG_TAB_VISUAL_ETERM=Apparence Eterm
+DLG_TAB_VISUAL_ETERM=Apparence Eterm(*)
 DLG_TAB_VISUAL_MOUSE=Curseur de la souris
 DLG_TAB_VISUAL_FONT_QUALITY=&Font quality
 DLG_TAB_VISUAL_FONT_QUALITY_DEFAULT=Default
@@ -212,6 +212,7 @@
 DLG_TAB_VISUAL_URL=Aut. attribut couleur URL
 DLG_TAB_VISUAL_ANSI=Aut. couleur ANSI
 DLG_TAB_VISUAL_URLUL=Souligner les URL
+DLG_TAB_VISUAL_RESTART=(*)Need to Save setup and restart Tera Term
 
 DLG_TAB_LOG_EDITOR=Prog affich journal
 DLG_TAB_LOG_FILENAME=Nom par d\xE9faut du fichier journal (format strftime)

Modified: trunk/installer/release/lang/German.lng
===================================================================
--- trunk/installer/release/lang/German.lng	2012-05-13 14:53:23 UTC (rev 4943)
+++ trunk/installer/release/lang/German.lng	2012-05-13 15:41:52 UTC (rev 4944)
@@ -196,7 +196,7 @@
 DLG_TAB_COPYPASTE_PASTEDELAY2=ms
 
 DLG_TAB_VISUAL_ALHPA=&Transparenz
-DLG_TAB_VISUAL_ETERM=&Eterm-Aussehen
+DLG_TAB_VISUAL_ETERM=&Eterm-Aussehen(*)
 DLG_TAB_VISUAL_MOUSE=&Mauszeiger
 DLG_TAB_VISUAL_FONT_QUALITY=&Font quality
 DLG_TAB_VISUAL_FONT_QUALITY_DEFAULT=Default
@@ -212,6 +212,7 @@
 DLG_TAB_VISUAL_URL=Enable &URL attribute color
 DLG_TAB_VISUAL_ANSI=A&NSI-Farben aktivieren
 DLG_TAB_VISUAL_URLUL=&URLs unterstreichen
+DLG_TAB_VISUAL_RESTART=(*)Need to Save setup and restart Tera Term
 
 DLG_TAB_LOG_EDITOR=&Auswahl-Editor
 DLG_TAB_LOG_FILENAME=&Standardprotokoll-Name

Modified: trunk/installer/release/lang/Japanese.lng
===================================================================
--- trunk/installer/release/lang/Japanese.lng	2012-05-13 14:53:23 UTC (rev 4943)
+++ trunk/installer/release/lang/Japanese.lng	2012-05-13 15:41:52 UTC (rev 4944)
@@ -196,7 +196,7 @@
 DLG_TAB_COPYPASTE_PASTEDELAY2=\x83~\x83\x8A\x95b
 
 DLG_TAB_VISUAL_ALHPA=\x94\xBC\x93\xA7\x96\xBE\x93x(&A)
-DLG_TAB_VISUAL_ETERM=&Eterm\x95\x97\x82ɂ\xB7\x82\xE9
+DLG_TAB_VISUAL_ETERM=&Eterm\x95\x97\x82ɂ\xB7\x82\xE9(*)
 DLG_TAB_VISUAL_MOUSE=\x83}\x83E\x83X\x83J\x81[\x83\\x83\x8B(&M)
 DLG_TAB_VISUAL_FONT_QUALITY=\x83t\x83H\x83\x93\x83g\x82̕i\x8E\xBF(&F)
 DLG_TAB_VISUAL_FONT_QUALITY_DEFAULT=\x83f\x83t\x83H\x83\x8B\x83g
@@ -212,6 +212,7 @@
 DLG_TAB_VISUAL_URL=URL\x91\xAE\x90\xAB\x90F\x82\xF0\x97L\x8C\xF8\x82ɂ\xB7\x82\xE9(&U)
 DLG_TAB_VISUAL_ANSI=ANSI\x83J\x83\x89\x81[\x82\xF0\x97L\x8C\xF8\x82ɂ\xB7\x82\xE9(&N)
 DLG_TAB_VISUAL_URLUL=URL\x95\xB6\x8E\x9A\x97\xF1\x82ɉ\xBA\x90\xFC\x82\xF0\x95t\x89\xC1\x82\xB7\x82\xE9(&D)
+DLG_TAB_VISUAL_RESTART=(*)\x90ݒ\xE8\x82̕ۑ\xB6\x82\xC6Tera Term\x82̍ċN\x93\xAE\x82\xAA\x95K\x97v
 
 DLG_TAB_LOG_EDITOR=\x83\x8D\x83O\x95\\x8E\xA6\x97p\x83G\x83f\x83B\x83^(&E)
 DLG_TAB_LOG_FILENAME=\x95W\x8F\x80\x83\x8D\x83O\x83t\x83@\x83C\x83\x8B\x96\xBC(strftime\x83t\x83H\x81[\x83}\x83b\x83g\x89\xC2) (&F)

Modified: trunk/teraterm/common/tt_res.h
===================================================================
--- trunk/teraterm/common/tt_res.h	2012-05-13 14:53:23 UTC (rev 4943)
+++ trunk/teraterm/common/tt_res.h	2012-05-13 15:41:52 UTC (rev 4944)
@@ -38,6 +38,7 @@
 #define IDC_COLOR_BLUE                  1015
 #define IDC_SAMPLE_COLOR                1016
 #define IDC_COMMAND_EDIT                1017
+#define IDC_RESTART                     1017
 #define IDC_ENTERKEY_CHECK              1018
 #define IDC_RADIO_CRLF                  1019
 #define IDC_RADIO_CR                    1020

Modified: trunk/teraterm/teraterm/addsetting.cpp
===================================================================
--- trunk/teraterm/teraterm/addsetting.cpp	2012-05-13 14:53:23 UTC (rev 4943)
+++ trunk/teraterm/teraterm/addsetting.cpp	2012-05-13 15:41:52 UTC (rev 4944)
@@ -773,6 +773,7 @@
 		SendDlgItemMessage(IDC_BGIMG_LABEL, WM_SETFONT, (WPARAM)DlgVisualFont, MAKELPARAM(TRUE,0));
 		SendDlgItemMessage(IDC_BGIMG_EDIT, WM_SETFONT, (WPARAM)DlgVisualFont, MAKELPARAM(TRUE,0));
 		SendDlgItemMessage(IDC_BGIMG_BUTTON, WM_SETFONT, (WPARAM)DlgVisualFont, MAKELPARAM(TRUE,0));
+		SendDlgItemMessage(IDC_RESTART, WM_SETFONT, (WPARAM)DlgVisualFont, MAKELPARAM(TRUE,0));
 	}
 	else {
 		DlgVisualFont = NULL;
@@ -817,6 +818,9 @@
 	GetDlgItemText(IDC_URL_UNDERLINE, uimsg, sizeof(uimsg));
 	get_lang_msg("DLG_TAB_VISUAL_URLUL", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
 	SetDlgItemText(IDC_URL_UNDERLINE, ts.UIMsg);
+	GetDlgItemText(IDC_RESTART, uimsg, sizeof(uimsg));
+	get_lang_msg("DLG_TAB_VISUAL_RESTART", ts.UIMsg, sizeof(ts.UIMsg), uimsg, ts.UILanguageFile);
+	SetDlgItemText(IDC_RESTART, ts.UIMsg);
 
 	get_lang_msg("DLG_TAB_VISUAL_FONT_QUALITY_DEFAULT", ts.UIMsg, sizeof(ts.UIMsg), "Default", ts.UILanguageFile);
 	SendDlgItemMessage(IDC_FONT_QUALITY, CB_ADDSTRING, 0, (LPARAM)ts.UIMsg);
@@ -1166,7 +1170,7 @@
 
 	if (flag_changed) {
 		// re-launch
-		RestartTeraTerm(GetSafeHwnd(), &ts);
+		// RestartTeraTerm(GetSafeHwnd(), &ts);
 	}
 }
 

Modified: trunk/teraterm/teraterm/ttermpro.rc
===================================================================
--- trunk/teraterm/teraterm/ttermpro.rc	2012-05-13 14:53:23 UTC (rev 4943)
+++ trunk/teraterm/teraterm/ttermpro.rc	2012-05-13 15:41:52 UTC (rev 4944)
@@ -114,33 +114,34 @@
 BEGIN
     LTEXT           "&Alpha blend",IDC_ALPHABLEND,10,10,43,8
     EDITTEXT        IDC_ALPHA_BLEND,58,8,28,12,ES_AUTOHSCROLL | ES_NUMBER
-    CONTROL         "&Eterm lookfeel",IDC_ETERM_LOOKFEEL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,116,8,72,12
-    LTEXT           "&Mouse cursor",IDC_MOUSE,10,26,70,8
-    LISTBOX         IDC_MOUSE_CURSOR,10,36,48,35,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
-    LTEXT           "&Font Quality",IDC_FONT_QUALITY_LABEL,100,51,70,8
-    COMBOBOX        IDC_FONT_QUALITY,100,61,80,52,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
-    LTEXT           "ANSI color",IDC_ANSICOLOR,10,78,43,8
-    LISTBOX         IDC_ANSI_COLOR,10,88,28,51,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
-    LTEXT           "&Red",IDC_RED,45,91,22,8
-    EDITTEXT        IDC_COLOR_RED,69,89,15,14,ES_AUTOHSCROLL | ES_NUMBER
-    LTEXT           "&Green",IDC_GREEN,45,108,22,8
-    EDITTEXT        IDC_COLOR_GREEN,69,106,15,14,ES_AUTOHSCROLL | ES_NUMBER
-    LTEXT           "&Blue",IDC_BLUE,45,125,22,8
-    EDITTEXT        IDC_COLOR_BLUE,69,123,15,14,ES_AUTOHSCROLL | ES_NUMBER
-    LTEXT           "SAMPLE",IDC_SAMPLE_COLOR,90,108,25,8
+    CONTROL         "&Eterm lookfeel(*)",IDC_ETERM_LOOKFEEL,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,99,8,72,12
+    LTEXT           "&Mouse cursor",IDC_MOUSE,10,22,70,8
+    LISTBOX         IDC_MOUSE_CURSOR,10,32,48,35,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
+    LTEXT           "Background Image",IDC_BGIMG_LABEL,100,22,60,8
+    EDITTEXT        IDC_BGIMG_EDIT,98,31,108,14,ES_AUTOHSCROLL
+    PUSHBUTTON      "...",IDC_BGIMG_BUTTON,213,31,14,14
+    LTEXT           "&Font Quality",IDC_FONT_QUALITY_LABEL,100,47,70,8
+    COMBOBOX        IDC_FONT_QUALITY,100,56,80,52,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
+    LTEXT           "ANSI color",IDC_ANSICOLOR,10,74,43,8
+    LISTBOX         IDC_ANSI_COLOR,10,84,28,51,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
+    LTEXT           "&Red",IDC_RED,45,87,22,8
+    EDITTEXT        IDC_COLOR_RED,69,85,15,14,ES_AUTOHSCROLL | ES_NUMBER
+    LTEXT           "&Green",IDC_GREEN,45,104,22,8
+    EDITTEXT        IDC_COLOR_GREEN,69,102,15,14,ES_AUTOHSCROLL | ES_NUMBER
+    LTEXT           "&Blue",IDC_BLUE,45,121,22,8
+    EDITTEXT        IDC_COLOR_BLUE,69,119,15,14,ES_AUTOHSCROLL | ES_NUMBER
+    LTEXT           "SAMPLE",IDC_SAMPLE_COLOR,90,104,25,8
     CONTROL         "Enable B&old attribute color",IDC_ENABLE_ATTR_COLOR_BOLD,
-                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,125,78,105,12
+                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,125,74,105,12
     CONTROL         "Enable B&link attribute color",IDC_ENABLE_ATTR_COLOR_BLINK,
-                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,125,90,105,12
+                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,125,86,105,12
     CONTROL         "Enable Re&verse attribute color",IDC_ENABLE_ATTR_COLOR_REVERSE,
-                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,125,102,105,12
+                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,125,98,105,12
     CONTROL         "Enable &URL attribute color",IDC_ENABLE_URL_COLOR,
-                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,125,114,105,12
-    CONTROL         "Enable A&NSI color",IDC_ENABLE_ANSI_COLOR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,125,126,105,12
-    CONTROL         "Un&derline URL string",IDC_URL_UNDERLINE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,125,138,105,12
-    LTEXT           "Background Image",IDC_BGIMG_LABEL,100,22,60,8
-    EDITTEXT        IDC_BGIMG_EDIT,98,31,108,14,ES_AUTOHSCROLL
-    PUSHBUTTON      "...",IDC_BGIMG_BUTTON,213,30,14,14
+                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,125,110,105,12
+    CONTROL         "Enable A&NSI color",IDC_ENABLE_ANSI_COLOR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,125,122,105,12
+    CONTROL         "Un&derline URL string",IDC_URL_UNDERLINE,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,125,134,105,12
+    LTEXT           "(*)Need to Save setup and restart Tera Term",IDC_RESTART,5,147,231,8
 END
 
 IDD_TABSHEET_LOG DIALOGEX 0, 0, 242, 158



Ttssh2-commit メーリングリストの案内