/[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 48 by werner, Mon Oct 31 21:14:11 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
# Line 32  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 43  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 71  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.48  
changed lines
  Added in v.133

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26