[Winpt-commits] r392 - trunk/Src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Sun Jan 15 19:05:12 CET 2012
Author: twoaday
Date: 2012-01-15 19:05:11 +0100 (Sun, 15 Jan 2012)
New Revision: 392
Modified:
trunk/Src/ChangeLog
trunk/Src/wptKeyEditDlgs.cpp
trunk/Src/wptKeyPropsDlg.cpp
Log:
2012-01-15 Timo Schulz <twoaday at gmx.net>
* wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc):
Invert logic to disable the calendar control for the
key expiration date.
* wptKeyPropsDialog.cpp (on_init_dialog): Localized
missing string.
Modified: trunk/Src/ChangeLog
===================================================================
--- trunk/Src/ChangeLog 2012-01-11 18:48:37 UTC (rev 391)
+++ trunk/Src/ChangeLog 2012-01-15 18:05:11 UTC (rev 392)
@@ -1,3 +1,10 @@
+2012-01-15 Timo Schulz <twoaday at gmx.net>
+
+ * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc):
+ Invert logic to disable the calendar control for the
+ key expiration date.
+ * wptKeyPropsDialog.cpp (on_init_dialog): Localized missing string.
+
2011-12-13 Timo Schulz <twoaday at gmx.net>
* Makefile.am: Enable SSP and corrected dependencies.
Modified: trunk/Src/wptKeyEditDlgs.cpp
===================================================================
--- trunk/Src/wptKeyEditDlgs.cpp 2012-01-11 18:48:37 UTC (rev 391)
+++ trunk/Src/wptKeyEditDlgs.cpp 2012-01-15 18:05:11 UTC (rev 392)
@@ -683,7 +683,7 @@
if (HIWORD (wparam) == BN_CLICKED &&
LOWORD (wparam) == IDC_ADDSUBKEY_EXPIRE) {
int on = IsDlgButtonChecked (dlg, IDC_ADDSUBKEY_EXPIRE);
- EnableWindow (GetDlgItem (dlg, IDC_ADDSUBKEY_EXPDATE), on? TRUE : FALSE);
+ EnableWindow (GetDlgItem (dlg, IDC_ADDSUBKEY_EXPDATE), on? FALSE: TRUE);
}
switch (LOWORD (wparam)) {
Modified: trunk/Src/wptKeyPropsDlg.cpp
===================================================================
--- trunk/Src/wptKeyPropsDlg.cpp 2012-01-11 18:48:37 UTC (rev 391)
+++ trunk/Src/wptKeyPropsDlg.cpp 2012-01-15 18:05:11 UTC (rev 392)
@@ -245,7 +245,7 @@
StringBuffer s = _("Key Properties");
if (k->ext->key->revoked)
- s += " - REVOKED KEY";
+ s = s + " - " + _("REVOKED KEY");
SetWindowText (dlg, s.getBuffer());
SetDlgItemText (dlg, IDC_KEYPROPS_OT_CHANGE, _("&Change"));
More information about the Winpt-commits
mailing list