/[winpt]/trunk/Src/wptTextInputDlg.cpp
ViewVC logotype

Diff of /trunk/Src/wptTextInputDlg.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 36 by werner, Thu Oct 27 15:25:13 2005 UTC revision 91 by twoaday, Tue Nov 22 09:23:02 2005 UTC
# Line 22  Line 22 
22  #endif  #endif
23    
24  #include <windows.h>  #include <windows.h>
 #include <windows.h>  
25    
26  #include "../resource.h"  #include "resource.h"
27  #include "wptTypes.h"  #include "wptTypes.h"
28  #include "wptGPG.h"  #include "wptGPG.h"
29  #include "wptCommonCtl.h"  #include "wptCommonCtl.h"
# Line 76  text_input_dlg_proc (HWND dlg, UINT msg, Line 75  text_input_dlg_proc (HWND dlg, UINT msg,
75          ctx = (text_input_s *)lparam;          ctx = (text_input_s *)lparam;
76          if (ctx == NULL)          if (ctx == NULL)
77              dlg_fatal_error (dlg, "Could not get dialog param.");              dlg_fatal_error (dlg, "Could not get dialog param.");
         #ifndef LANG_DE  
78          SetWindowText (dlg, _("Text Input"));          SetWindowText (dlg, _("Text Input"));
         #endif  
79          switch (ctx->type)  {          switch (ctx->type)  {
80          case 0:          case 0:
81              SetDlgItemText (dlg, IDC_TEXT_INFO, _("Enter the text that was signed"));              SetDlgItemText (dlg, IDC_TEXT_INFO, _("Enter the text that was signed"));
# Line 94  text_input_dlg_proc (HWND dlg, UINT msg, Line 91  text_input_dlg_proc (HWND dlg, UINT msg,
91          case IDC_TEXT_FILE:          case IDC_TEXT_FILE:
92              const char *file;              const char *file;
93                            
94              file = get_filename_dlg( dlg, FILE_OPEN, _("Text Input from File"), NULL, NULL );              file = get_fileopen_dlg( dlg, _("Text Input from File"), NULL, NULL );
95              if( file )              if( file )
96                  load_file_contents( dlg, file );                  load_file_contents( dlg, file );
97              break;              break;

Legend:
Removed from v.36  
changed lines
  Added in v.91

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26