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

Diff of /trunk/Src/wptKeyEditOwnertrustDlg.cpp

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

revision 327 by twoaday, Wed Mar 21 10:59:31 2007 UTC revision 328 by twoaday, Fri Sep 25 16:07:38 2009 UTC
# Line 1  Line 1 
1  /* wptKeyEditOwnertrustDlg.cpp - Key onwertrust dialog  /* wptKeyEditOwnertrustDlg.cpp - Key onwertrust dialog
2   *      Copyright (C) 2000-2006 Timo Schulz   *      Copyright (C) 2000-2006, 2009 Timo Schulz
3   *   *
4   * This file is part of WinPT.   * This file is part of WinPT.
5   *   *
# Line 12  Line 12 
12   * but WITHOUT ANY WARRANTY; without even the implied warranty of   * but WITHOUT ANY WARRANTY; without even the implied warranty of
13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   * GNU General Public License for more details.   * GNU General Public License for more details.
  *  
  * You should have received a copy of the GNU General Public License  
  * along with WinPT; if not, write to the Free Software Foundation,  
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA  
15   */   */
16  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
17  #include <config.h>  #include <config.h>
# Line 69  keyedit_ownertrust_dlg_proc (HWND dlg, U Line 65  keyedit_ownertrust_dlg_proc (HWND dlg, U
65          SetForegroundWindow (dlg);          SetForegroundWindow (dlg);
66          return TRUE;          return TRUE;
67                    
68        case WM_DESTROY:
69            balloon_msg_disable ();
70            break;
71            
72      case WM_COMMAND:      case WM_COMMAND:
73          switch (LOWORD (wparam)) {          switch (LOWORD (wparam)) {
74          case IDCANCEL:          case IDCANCEL:
# Line 79  keyedit_ownertrust_dlg_proc (HWND dlg, U Line 79  keyedit_ownertrust_dlg_proc (HWND dlg, U
79              lb = GetDlgItem (dlg, IDC_KEYTRUST_TRUST);              lb = GetDlgItem (dlg, IDC_KEYTRUST_TRUST);
80              index = listbox_get_cursel (lb) + 1;              index = listbox_get_cursel (lb) + 1;
81              if (index < 1 || index > 5) {              if (index < 1 || index > 5) {
82                  msg_box (dlg, _("Please choose one entry."),                    show_balloon_msg (GetDlgItem (dlg, IDC_KEYTRUST_TRUST),
83                           _("Ownertrust"), MB_ERR);                                    _("Please choose one entry."), IDI_ERROR);
84                  return TRUE;                  return TRUE;
85              }              }
86              /* check if there is a corresponding secret key for the public key. */              /* check if there is a corresponding secret key for the public key. */

Legend:
Removed from v.327  
changed lines
  Added in v.328

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26