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

Diff of /trunk/Src/wptGPGPrefsDlg.cpp

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

revision 128 by twoaday, Mon Dec 19 13:05:59 2005 UTC revision 150 by twoaday, Wed Jan 18 11:52:45 2006 UTC
# Line 61  load_gpg4win_values (HWND dlg) Line 61  load_gpg4win_values (HWND dlg)
61          if (dir_exist_check (p) == 0) {          if (dir_exist_check (p) == 0) {
62              SetDlgItemText (dlg, IDC_GPGPREFS_LOCALE, p);              SetDlgItemText (dlg, IDC_GPGPREFS_LOCALE, p);
63              EnableWindow (GetDlgItem (dlg, IDC_GPGPREFS_LOCALE), FALSE);              EnableWindow (GetDlgItem (dlg, IDC_GPGPREFS_LOCALE), FALSE);
64                EnableWindow (GetDlgItem (dlg, IDC_GPGPREFS_LOCDLG), FALSE);
65          }          }
66          free_if_alloc (p);          free_if_alloc (p);
67      }      }
# Line 135  gpgprefs_dlg_proc (HWND dlg, UINT msg, W Line 136  gpgprefs_dlg_proc (HWND dlg, UINT msg, W
136          SetDlgItemText (dlg, IDC_GPGPREFS_CMTINF, _("Comment in armored files"));          SetDlgItemText (dlg, IDC_GPGPREFS_CMTINF, _("Comment in armored files"));
137          SetDlgItemText (dlg, IDC_GPGPREFS_ENCINF, _("Encrypt to this key"));          SetDlgItemText (dlg, IDC_GPGPREFS_ENCINF, _("Encrypt to this key"));
138          SetDlgItemText (dlg, IDC_GPGPREFS_ALLOPTINF, _("General GPG options"));          SetDlgItemText (dlg, IDC_GPGPREFS_ALLOPTINF, _("General GPG options"));
139            SetDlgItemText (dlg, IDC_GPGPREFS_HOMEDLG, _("Browse..."));
140            SetDlgItemText (dlg, IDC_GPGREFS_EXEDLG, _("Browse..."));
141            SetDlgItemText (dlg, IDC_GPGPREFS_LOCDLG, _("Browse..."));
142            SetDlgItemText (dlg, IDC_GPGPREFS_OVRDEFAULT, _("&Overwrite default settings"));
143    
144          gpg4win = load_gpg4win_values (dlg);          gpg4win = load_gpg4win_values (dlg);
145          if (!gpg4win)          if (!gpg4win)
146              load_registry_values (dlg);              load_registry_values (dlg);
147            EnableWindow (GetDlgItem (dlg, IDC_GPGPREFS_OVRDEFAULT),
148                          gpg4win? TRUE : FALSE);
149    
150          p = get_gnupg_cfgfile ();          p = get_gnupg_cfgfile ();
151          if (p) {          if (p) {
# Line 284  gpgprefs_dlg_proc (HWND dlg, UINT msg, W Line 291  gpgprefs_dlg_proc (HWND dlg, UINT msg, W
291              if (s)              if (s)
292                  SetDlgItemText (dlg, IDC_GPGPREFS_EXEDIR, s);                  SetDlgItemText (dlg, IDC_GPGPREFS_EXEDIR, s);
293              return TRUE;              return TRUE;
294                
295            case IDCANCEL:
296                EndDialog (dlg, FALSE);
297                return TRUE;
298          }          }
299          break;          break;
300      }      }

Legend:
Removed from v.128  
changed lines
  Added in v.150

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26