Commit d6055a41 authored by Steven Edwards's avatar Steven Edwards Committed by Alexandre Julliard

winefile: Replace builtin execute dialog with standard RunFile dialog.

parent 8268ed97
......@@ -45,7 +45,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Komprese...", 119
MENUITEM "&Dekomprese...", 120
MENUITEM SEPARATOR
MENUITEM "&Spustit...", ID_EXECUTE
MENUITEM "&Spustit...", ID_RUN
MENUITEM "&Tisknout...", 102
MENUITEM "Asociovat...", 103
MENUITEM SEPARATOR
......@@ -150,21 +150,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Spustit"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Pkaz:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "Jako &Symbol", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "OK", 1, 158, 6, 47, 14
PUSHBUTTON "Zruit", 2, 158, 23, 47, 14
PUSHBUTTON "&Pomoc", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Zvolte cl"
......
......@@ -39,7 +39,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "K&omprimer...", 119
MENUITEM "De&komprimer...", 120
MENUITEM SEPARATOR
MENUITEM "K&r...", ID_EXECUTE
MENUITEM "K&r...", ID_RUN
MENUITEM "&Udskriv...", 102
MENUITEM "Associer...", 103
MENUITEM SEPARATOR
......@@ -144,21 +144,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Kr"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Kommando:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "&Som symbol", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "OK", 1, 158, 6, 47, 14
PUSHBUTTON "Annuller", 2, 158, 23, 47, 14
PUSHBUTTON "&Hjlp", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Vlg destination"
......
......@@ -43,7 +43,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "K&omprimieren...", 119
MENUITEM "Deko&mprimieren...", 120
MENUITEM SEPARATOR
MENUITEM "&Ausführen...", ID_EXECUTE
MENUITEM "&Ausführen...", ID_RUN
MENUITEM "&Drucken...", 102
MENUITEM "Zuord&nen...", 103
MENUITEM SEPARATOR
......@@ -144,21 +144,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Ausführen"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "Befehls&zeile:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "Als &Symbol", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "OK", 1, 158, 6, 47, 14
PUSHBUTTON "Abbrechen", 2, 158, 23, 47, 14
PUSHBUTTON "&Hilfe", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Ziel auswählen"
......
......@@ -41,7 +41,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "C&ompress...", 119
MENUITEM "Dec&ompress...", 120
MENUITEM SEPARATOR
MENUITEM "&Run...", ID_EXECUTE
MENUITEM "&Run...", ID_RUN
MENUITEM "&Print...", 102
MENUITEM "Associate...", 103
MENUITEM SEPARATOR
......@@ -146,21 +146,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Execute"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Command:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "As &Symbol", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "OK", 1, 158, 6, 47, 14
PUSHBUTTON "Cancel", 2, 158, 23, 47, 14
PUSHBUTTON "&Help", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Select destination"
......
......@@ -39,7 +39,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "C&omprimir...", 119
MENUITEM "&Descomprimir...", 120
MENUITEM SEPARATOR
MENUITEM "E&jecutar...", ID_EXECUTE
MENUITEM "E&jecutar...", ID_RUN
MENUITEM "I&mprimir...", 102
MENUITEM "Asoc&iar...", 103
MENUITEM SEPARATOR
......@@ -144,21 +144,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Ejecutar"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Comando:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "Como &smbolo", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "Aceptar", 1, 158, 6, 47, 14
PUSHBUTTON "Cancelar", 2, 158, 23, 47, 14
PUSHBUTTON "&Ayuda", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Seleccione destino"
......
......@@ -46,7 +46,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "Co&mpresser...", 119
MENUITEM "Décompre&sser...", 120
MENUITEM SEPARATOR
MENUITEM "E&xécuter...", ID_EXECUTE
MENUITEM "E&xécuter...", ID_RUN
MENUITEM "&Imprimer...", 102
MENUITEM "&Associer...", 103
MENUITEM SEPARATOR
......@@ -151,21 +151,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Exécuter"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Commande :", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "Sous forme d'icône", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 75, 12
DEFPUSHBUTTON "OK", 1, 158, 6, 47, 14
PUSHBUTTON "Annuler", 2, 158, 23, 47, 14
PUSHBUTTON "Aid&e", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Sélectionner la destination"
......
......@@ -42,7 +42,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Becsomagols...", 119
MENUITEM "K&icsomagols...", 120
MENUITEM SEPARATOR
MENUITEM "&Futtats...", ID_EXECUTE
MENUITEM "&Futtats...", ID_RUN
MENUITEM "&Nyomtats...", 102
MENUITEM "Trsts...", 103
MENUITEM SEPARATOR
......@@ -146,18 +146,3 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Winefile-rl...", ID_ABOUT
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Futtats"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Parancs:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "&Szimblumknt", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "OK", 1, 158, 6, 47, 14
PUSHBUTTON "Mgse", 2, 158, 23, 47, 14
PUSHBUTTON "&Sg", 254, 158, 43, 47, 14
}
......@@ -42,7 +42,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "C&omprimi...", 119
MENUITEM "Dec&omprimi...", 120
MENUITEM SEPARATOR
MENUITEM "&Esegui...", ID_EXECUTE
MENUITEM "&Esegui...", ID_RUN
MENUITEM "&Stampa...", 102
MENUITEM "Associa...", 103
MENUITEM SEPARATOR
......@@ -147,21 +147,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Esegui"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Comando:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "Come &Simbolo", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "OK", 1, 158, 6, 47, 14
PUSHBUTTON "Annulla", 2, 158, 23, 47, 14
PUSHBUTTON "&Aiuto", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Seleziona destinazione"
......
......@@ -44,7 +44,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "圧縮(&O)...", 119
MENUITEM "解凍(&O)...", 120
MENUITEM SEPARATOR
MENUITEM "実行(&R)...", ID_EXECUTE
MENUITEM "実行(&R)...", ID_RUN
MENUITEM "印刷(&P)...", 102
MENUITEM "関連付け...", 103
MENUITEM SEPARATOR
......@@ -149,21 +149,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "実行"
FONT 9, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "コマンド(&C):", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "As &Symbol", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "OK", 1, 158, 6, 47, 14
PUSHBUTTON "キャンセル", 2, 158, 23, 47, 14
PUSHBUTTON "ヘルプ(&H)", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "移動先を選択"
......
......@@ -42,7 +42,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "압축(&O)...", 119
MENUITEM "압축 풀기(&O)...", 120
MENUITEM SEPARATOR
MENUITEM "실행(&R)...", ID_EXECUTE
MENUITEM "실행(&R)...", ID_RUN
MENUITEM "인쇄(&P)...", 102
MENUITEM "연결...", 103
MENUITEM SEPARATOR
......@@ -147,21 +147,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "실행"
FONT 9, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "명령(&C):", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "심벌로(&S)", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "확인", 1, 158, 6, 47, 14
PUSHBUTTON "취소", 2, 158, 23, 47, 14
PUSHBUTTON "도움말(&H)", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "목적지 선택"
......
......@@ -42,7 +42,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Glaudinti...", 119
MENUITEM "Išsk&leisti...", 120
MENUITEM SEPARATOR
MENUITEM "&Vykdyti...", ID_EXECUTE
MENUITEM "&Vykdyti...", ID_RUN
MENUITEM "&Spausdinti...", 102
MENUITEM "Susieti...", 103
MENUITEM SEPARATOR
......@@ -147,21 +147,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Vykdyti"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Komanda:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "Kaip &simbolį", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "Gerai", 1, 158, 6, 47, 14
PUSHBUTTON "Atsisakyti", 2, 158, 23, 47, 14
PUSHBUTTON "&Žinynas", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Išrinkite paskirtį"
......
......@@ -38,7 +38,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Comprimeren...", 119
MENUITEM "&Dec&omprimeren...", 120
MENUITEM SEPARATOR
MENUITEM "&Starten...", ID_EXECUTE
MENUITEM "&Starten...", ID_RUN
MENUITEM "Af&drukken...", 102
MENUITEM "Koppelen...", 103
MENUITEM SEPARATOR
......@@ -143,21 +143,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Uitvoeren"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Opdracht:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "Als &pictogram", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "OK", 1, 158, 6, 47, 14
PUSHBUTTON "Annuleren", 2, 158, 23, 47, 14
PUSHBUTTON "&Help", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Selecteer bestemming"
......
......@@ -39,7 +39,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "K&omprimer...", 119
MENUITEM "De&komprimer...", 120
MENUITEM SEPARATOR
MENUITEM "Kj&r...", ID_EXECUTE
MENUITEM "Kj&r...", ID_RUN
MENUITEM "Skriv &ut...", 102
MENUITEM "Tilknytt...", 103
MENUITEM SEPARATOR
......@@ -144,21 +144,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Kjr"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Kommando:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "&Som symbol", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "OK", 1, 158, 6, 47, 14
PUSHBUTTON "Avbryt", 2, 158, 23, 47, 14
PUSHBUTTON "&Hjelp", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Velg plasserings"
......
......@@ -42,7 +42,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "Ko&mpresja...", 119
MENUITEM "D&ekompresja...", 120
MENUITEM SEPARATOR
MENUITEM "U&ruchom...", ID_EXECUTE
MENUITEM "U&ruchom...", ID_RUN
MENUITEM "&Drukuj...", 102
MENUITEM "Skojarz...", 103
MENUITEM SEPARATOR
......@@ -147,21 +147,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Uruchom"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Polecenie:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "Jako &symbol", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "OK", 1, 158, 6, 47, 14
PUSHBUTTON "Anuluj", 2, 158, 23, 47, 14
PUSHBUTTON "&Pomoc", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Wybr celu"
......
......@@ -42,7 +42,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "C&omprimir...", 119
MENUITEM "Descomprimir...", 120
MENUITEM SEPARATOR
MENUITEM "Execu&tar...", ID_EXECUTE
MENUITEM "Execu&tar...", ID_RUN
MENUITEM "&Imprimir...", 102
MENUITEM "A&ssociar...", 103
MENUITEM SEPARATOR
......@@ -163,7 +163,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "C&omprimir...", 119
MENUITEM "&Descomprimir...", 120
MENUITEM SEPARATOR
MENUITEM "Execu&tar...", ID_EXECUTE
MENUITEM "Execu&tar...", ID_RUN
MENUITEM "&Imprimir...", 102
MENUITEM "A&ssociar...", 103
MENUITEM SEPARATOR
......@@ -268,24 +268,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Executar"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Comando:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "&Minimizado", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "OK", 1, 158, 6, 47, 14
PUSHBUTTON "Cancelar", 2, 158, 23, 47, 14
PUSHBUTTON "&Ajuda", 254, 158, 43, 47, 14
}
LANGUAGE LANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
......
......@@ -42,7 +42,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "Архивировать...", 119
MENUITEM "Распаковать...", 120
MENUITEM SEPARATOR
MENUITEM "&Запустить...", ID_EXECUTE
MENUITEM "&Запустить...", ID_RUN
MENUITEM "&Печатать...", 102
MENUITEM "Ассоциировать...", 103
MENUITEM SEPARATOR
......@@ -147,20 +147,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Выполнить"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Команда:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "Как &символ", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "OK", 1, 158, 6, 47, 14
PUSHBUTTON "Отмена", 2, 158, 23, 47, 14
PUSHBUTTON "&Справка", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Выберите путь назначения"
......
......@@ -41,7 +41,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Stisni ...", 119
MENUITEM "Ra&zširi ...", 120
MENUITEM SEPARATOR
MENUITEM "Zaž&eni ...", ID_EXECUTE
MENUITEM "Zaž&eni ...", ID_RUN
MENUITEM "&Tiskaj ...", 102
MENUITEM "Poveži s programom ...", 103
MENUITEM SEPARATOR
......@@ -146,21 +146,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Zagon"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Ukaz:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "Kot &simbol", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "V redu", 1, 158, 6, 47, 14
PUSHBUTTON "Prekliči", 2, 158, 23, 47, 14
PUSHBUTTON "&Pomoč", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Izbira ciljne poti"
......
......@@ -42,7 +42,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&Komprimera...", 119
MENUITEM "Packa &upp...", 120
MENUITEM SEPARATOR
MENUITEM "&Kr...", ID_EXECUTE
MENUITEM "&Kr...", ID_RUN
MENUITEM "&Skriv ut...", 102
MENUITEM "Associera...", 103
MENUITEM SEPARATOR
......@@ -146,21 +146,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Kr"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Kommando:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "Som &symbol", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "OK", 1, 158, 6, 47, 14
PUSHBUTTON "Avbryt", 2, 158, 23, 47, 14
PUSHBUTTON "&Hjlp", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Vlj ml"
......
......@@ -39,7 +39,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "S&ktr...", 119
MENUITEM "Geni&let...", 120
MENUITEM SEPARATOR
MENUITEM "&altr...", ID_EXECUTE
MENUITEM "&altr...", ID_RUN
MENUITEM "Ya&zdr...", 102
MENUITEM "likilendir...", 103
MENUITEM SEPARATOR
......@@ -144,21 +144,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "altr"
FONT 8, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "&Komut:", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "&Simge Olarak", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "Tamam", 1, 158, 6, 47, 14
PUSHBUTTON "ptal", 2, 158, 23, 47, 14
PUSHBUTTON "&Yardm", 254, 158, 43, 47, 14
}
IDD_SELECT_DESTINATION DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Hedefi se"
......
......@@ -43,7 +43,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "压缩(&O)...", 119
MENUITEM "解压缩(&O)...", 120
MENUITEM SEPARATOR
MENUITEM "运行(&R)...", ID_EXECUTE
MENUITEM "运行(&R)...", ID_RUN
MENUITEM "打印(&P)...", 102
MENUITEM "配置文件相关...", 103
MENUITEM SEPARATOR
......@@ -148,21 +148,6 @@ IDM_WINEFILE MENU FIXED IMPURE
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "运行"
FONT 9, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "命令(&C):", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "作为连接(&S)", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "确定", 1, 158, 6, 47, 14
PUSHBUTTON "取消", 2, 158, 23, 47, 14
PUSHBUTTON "帮助(&H)", 254, 158, 43, 47, 14
}
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL
/* Menu */
......@@ -181,7 +166,7 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "壓縮(&O)...", 119
MENUITEM "解壓縮(&O)...", 120
MENUITEM SEPARATOR
MENUITEM "執行(&R)...", ID_EXECUTE
MENUITEM "執行(&R)...", ID_RUN
MENUITEM "列印(&P)...", 102
MENUITEM "配置檔案相關...", 103
MENUITEM SEPARATOR
......@@ -285,18 +270,3 @@ IDM_WINEFILE MENU FIXED IMPURE
MENUITEM "&關於 Winefile...", ID_ABOUT
}
}
IDD_EXECUTE DIALOG FIXED IMPURE 15, 13, 210, 63
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "執行"
FONT 9, "MS Shell Dlg"
{
CONTROL "", 101, "Static", SS_SIMPLE|SS_NOPREFIX, 3, 6, 162, 10
CONTROL "指令(&C):", -1, "Static", SS_LEFTNOWORDWRAP|WS_GROUP, 3, 18, 60, 10
EDITTEXT 201, 3, 29, 134, 12, ES_AUTOHSCROLL
CONTROL "作為連接(&S)", 214, "Button", BS_AUTOCHECKBOX|WS_TABSTOP,3, 45, 71, 12
DEFPUSHBUTTON "確定", 1, 158, 6, 47, 14
PUSHBUTTON "取消", 2, 158, 23, 47, 14
PUSHBUTTON "幫助(&H)", 254, 158, 43, 47, 14
}
......@@ -35,7 +35,6 @@
/* dialogs */
#define IDD_EXECUTE 103
#define IDD_SELECT_DESTINATION 104
#define IDD_DIALOG_VIEW_TYPE 105
#define IDD_DIALOG_PROPERTIES 106
......@@ -44,7 +43,7 @@
/* control ids */
#define ID_ACTIVATE 101
#define ID_EXECUTE 105
#define ID_RUN 105
#define ID_FILE_MOVE 106
#define ID_FILE_COPY 107
#define ID_FILE_DELETE 108
......
......@@ -1688,38 +1688,18 @@ static HWND create_child_window(ChildWnd* child)
return child->hwnd;
}
#define RFF_NODEFAULT 0x02 /* No default item selected. */
struct ExecuteDialog {
WCHAR cmd[MAX_PATH];
int cmdshow;
};
static INT_PTR CALLBACK ExecuteDialogDlgProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam)
static void WineFile_OnRun( HWND hwnd )
{
static struct ExecuteDialog* dlg;
static const WCHAR shell32_dll[] = {'S','H','E','L','L','3','2','.','D','L','L',0};
void (WINAPI *pRunFileDlgAW )(HWND, HICON, LPWSTR, LPWSTR, LPWSTR, DWORD);
HMODULE hshell = GetModuleHandleW( shell32_dll );
switch(nmsg) {
case WM_INITDIALOG:
dlg = (struct ExecuteDialog*) lparam;
return 1;
case WM_COMMAND: {
int id = (int)wparam;
if (id == IDOK) {
GetWindowTextW(GetDlgItem(hwnd, 201), dlg->cmd, MAX_PATH);
dlg->cmdshow = get_check(hwnd,214) ? SW_SHOWMINIMIZED : SW_SHOWNORMAL;
EndDialog(hwnd, id);
} else if (id == IDCANCEL)
EndDialog(hwnd, id);
return 1;}
}
return 0;
pRunFileDlgAW = (void*)GetProcAddress(hshell, (LPCSTR)61);
if (pRunFileDlgAW) pRunFileDlgAW( hwnd, 0, NULL, NULL, NULL, RFF_NODEFAULT);
}
static INT_PTR CALLBACK DestinationDlgProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM lparam)
{
WCHAR b1[BUFFER_LEN], b2[BUFFER_LEN];
......@@ -2268,18 +2248,9 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM
Globals.saveSettings ? MF_CHECKED : MF_UNCHECKED );
break;
case ID_EXECUTE: {
struct ExecuteDialog dlg;
memset(&dlg, 0, sizeof(struct ExecuteDialog));
if (DialogBoxParamW(Globals.hInstance, MAKEINTRESOURCEW(IDD_EXECUTE), hwnd, ExecuteDialogDlgProc, (LPARAM)&dlg) == IDOK) {
HINSTANCE hinst = ShellExecuteW(hwnd, NULL/*operation*/, dlg.cmd/*file*/, NULL/*parameters*/, NULL/*dir*/, dlg.cmdshow);
if (PtrToUlong(hinst) <= 32)
display_error(hwnd, GetLastError());
}
break;}
case ID_RUN:
WineFile_OnRun( hwnd );
break;
case ID_CONNECT_NETWORK_DRIVE: {
DWORD ret = WNetConnectionDialog(hwnd, RESOURCETYPE_DISK);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment