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

Diff of /trunk/Src/wptFirstRunDlg.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 133 by twoaday, Mon Jan 9 09:15:29 2006 UTC
# Line 1  Line 1 
1  /* wptFirstRunDlg.cpp - Welcome dialog  /* wptFirstRunDlg.cpp - Welcome dialog
2   *      Copyright (C) 2002-2005 Timo Schulz   *      Copyright (C) 2002-2006 Timo Schulz
3   *   *
4   * This file is part of WinPT.   * This file is part of WinPT.
5   *   *
# Line 17  Line 17 
17   * along with WinPT; if not, write to the Free Software Foundation,   * along with WinPT; if not, write to the Free Software Foundation,
18   * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA   * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19   */   */
   
20  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
21  #include <config.h>  #include <config.h>
22  #endif  #endif
23    
24  #include <windows.h>  #include <windows.h>
 #include <windows.h>  
25    
26  #include "../resource.h"  #include "resource.h"
27  #include "wptW32API.h"  #include "wptW32API.h"
28  #include "wptGPG.h"  #include "wptGPG.h"
29  #include "wptTypes.h"  #include "wptTypes.h"
# Line 33  Line 31 
31  #include "wptContext.h"  #include "wptContext.h"
32    
33    
34    /* Dialog box procedure which is executed on the first time WinPT
35       is started. */
36  BOOL CALLBACK  BOOL CALLBACK
37  first_run_dlg_proc (HWND dlg, UINT msg, WPARAM wparam, LPARAM lparam)  first_run_dlg_proc (HWND dlg, UINT msg, WPARAM wparam, LPARAM lparam)
38  {  {
# Line 44  first_run_dlg_proc (HWND dlg, UINT msg, Line 44  first_run_dlg_proc (HWND dlg, UINT msg,
44          if (!ctx)          if (!ctx)
45              BUG (0);              BUG (0);
46          CheckDlgButton( dlg, IDC_FIRST_KEYGEN, BST_CHECKED );          CheckDlgButton( dlg, IDC_FIRST_KEYGEN, BST_CHECKED );
47          SetDlgItemText (dlg, IDC_FIRST_KEYGEN, _("&Generate a GnuPG key pair"));          SetDlgItemText (dlg, IDC_FIRST_KEYGEN,
48          SetDlgItemText (dlg, IDC_FIRST_IMPORT, _("&Copy GnuPG keyrings from another location"));                          _("&Generate a GnuPG key pair"));
49          SetDlgItemText (dlg, IDC_FIRST_SETUP, _("&Specify a new GnuPG home directory"));          SetDlgItemText (dlg, IDC_FIRST_IMPORT,
50                            _("&Copy GnuPG keyrings from another location"));
51            SetDlgItemText (dlg, IDCANCEL, _("&Cancel"));
52            SetWindowText (dlg, _("WinPT First Start"));
53          SetForegroundWindow (dlg);          SetForegroundWindow (dlg);
54          center_window (dlg, NULL);          center_window (dlg, NULL);
55          return TRUE;          return TRUE;
# Line 72  first_run_dlg_proc (HWND dlg, UINT msg, Line 75  first_run_dlg_proc (HWND dlg, UINT msg,
75      }      }
76    
77      return FALSE;      return FALSE;
78  } /* first_run_dlg_proc */  }

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26