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 |
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 |
{ |
{ |
47 |
SetDlgItemText (dlg, IDC_FIRST_KEYGEN, _("&Generate a GnuPG key pair")); |
SetDlgItemText (dlg, IDC_FIRST_KEYGEN, _("&Generate a GnuPG key pair")); |
48 |
SetDlgItemText (dlg, IDC_FIRST_IMPORT, _("&Copy GnuPG keyrings from another location")); |
SetDlgItemText (dlg, IDC_FIRST_IMPORT, _("&Copy GnuPG keyrings from another location")); |
49 |
SetDlgItemText (dlg, IDC_FIRST_SETUP, _("&Specify a new GnuPG home directory")); |
SetDlgItemText (dlg, IDC_FIRST_SETUP, _("&Specify a new GnuPG home directory")); |
50 |
|
SetDlgItemText (dlg, IDCANCEL, _("&Cancel")); |
51 |
SetForegroundWindow (dlg); |
SetForegroundWindow (dlg); |
52 |
center_window (dlg, NULL); |
center_window (dlg, NULL); |
53 |
return TRUE; |
return TRUE; |
73 |
} |
} |
74 |
|
|
75 |
return FALSE; |
return FALSE; |
76 |
} /* first_run_dlg_proc */ |
} |
77 |
|
|