Skip to content

Commit

Permalink
Minor 'Get Tickets' dialog fixes
Browse files Browse the repository at this point in the history
-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
  • Loading branch information
Kevin Wasserman authored and kaduk committed Aug 28, 2012
1 parent 095ae2a commit eb952e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/windows/leashdll/lsh_pwd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions src/windows/leashdll/lsh_pwd.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb952e3

Please sign in to comment.