summaryrefslogtreecommitdiffstats
path: root/src/windows/leashdll
diff options
context:
space:
mode:
authorKevin Wasserman <kevin.wasserman@painless-security.com>2012-07-10 18:56:10 -0400
committerBen Kaduk <kaduk@mit.edu>2012-08-28 18:25:23 -0400
commiteb952e349c4e37b81b3f1f30faba6fb707f67dca (patch)
tree59e6c83f22405e34bc712d087285fedd346c46d3 /src/windows/leashdll
parent095ae2aa5072282f4b1842e78baeb4c82bd31098 (diff)
downloadkrb5-eb952e349c4e37b81b3f1f30faba6fb707f67dca.tar.gz
krb5-eb952e349c4e37b81b3f1f30faba6fb707f67dca.tar.xz
krb5-eb952e349c4e37b81b3f1f30faba6fb707f67dca.zip
Minor 'Get Tickets' dialog fixes
-Move 'Remember this principal' and keep visible even when 'advanced' options are hidden. -Increase size of 'Forwardable and Proxiable' checkbox. Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com> ticket: 7301 (new) queue: kfw target_version: 1.10.4 tags: pullup
Diffstat (limited to 'src/windows/leashdll')
-rw-r--r--src/windows/leashdll/lsh_pwd.c1
-rw-r--r--src/windows/leashdll/lsh_pwd.rc6
2 files changed, 3 insertions, 4 deletions
diff --git a/src/windows/leashdll/lsh_pwd.c b/src/windows/leashdll/lsh_pwd.c
index 0b75300939..d5b7d6988f 100644
--- a/src/windows/leashdll/lsh_pwd.c
+++ b/src/windows/leashdll/lsh_pwd.c
@@ -1281,7 +1281,6 @@ AdjustOptions(HWND hDialog, int show, int hideDiff)
ShowWindow(GetDlgItem(hDialog,IDC_CHECK_RENEWABLE),show);
ShowWindow(GetDlgItem(hDialog,IDC_STATIC_KRB5),show);
ShowWindow(GetDlgItem(hDialog,IDC_BUTTON_CLEAR_HISTORY),show);
- ShowWindow(GetDlgItem(hDialog,IDC_CHECK_REMEMBER_PRINCIPAL),show);
GetWindowRect( hDialog, &dlgRect );
diff = dlgRect.top + GetSystemMetrics(SM_CYCAPTION)
diff --git a/src/windows/leashdll/lsh_pwd.rc b/src/windows/leashdll/lsh_pwd.rc
index fb6e38dab6..98b4d5c647 100644
--- a/src/windows/leashdll/lsh_pwd.rc
+++ b/src/windows/leashdll/lsh_pwd.rc
@@ -105,15 +105,15 @@ BEGIN
PUSHBUTTON "Hide Advanced",IDC_BUTTON_OPTIONS,146,219,89,14
PUSHBUTTON "Clear History",IDC_BUTTON_CLEAR_HISTORY,288,42,60,14
CONTROL "Remember this principal", IDC_CHECK_REMEMBER_PRINCIPAL,
- "Button", BS_AUTOCHECKBOX | WS_TABSTOP,248,78,100,14
+ "Button", BS_AUTOCHECKBOX | WS_TABSTOP,89,72,100,14
CONTROL "Ticket Lifetime",IDC_SLIDER_LIFETIME,"msctls_trackbar32",
TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,90,97,258,15
CONTROL "Forwardable and Proxiable (can be forwarded to other machines)",
IDC_CHECK_FORWARDABLE,"Button",BS_AUTOCHECKBOX |
- WS_TABSTOP,89,123,203,10
+ WS_TABSTOP,89,123,253,10
CONTROL "Renewable (can be renewed during the renewable lifetime)",
IDC_CHECK_RENEWABLE,"Button",BS_AUTOCHECKBOX |
- WS_TABSTOP,89,135,203,10
+ WS_TABSTOP,89,135,253,10
CONTROL "Slider2",IDC_SLIDER_RENEWLIFE,"msctls_trackbar32",
TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,90,178,258,15
RTEXT "Principal:",IDC_STATIC_NAME,13,44,74,8