aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2007-08-09 23:02:11 +0000
committerTom Yu <tlyu@mit.edu>2007-08-09 23:02:11 +0000
commitf18d172f10ec2327b6895b408fc39b84b497ad51 (patch)
treee5f9e7e79ec5d88931dcf8b809e9dc3186f83f83
parent2034a6dadae681325e4b8ecbf5c0ee6414e41e69 (diff)
downloadkrb5-f18d172f10ec2327b6895b408fc39b84b497ad51.zip
krb5-f18d172f10ec2327b6895b408fc39b84b497ad51.tar.gz
krb5-f18d172f10ec2327b6895b408fc39b84b497ad51.tar.bz2
pull up r19770 from trunk
r19770@cathode-dark-space: kpkoch | 2007-08-09 10:52:15 -0400 Ticket: 5604 Tags: pullup Target_Version: 1.6.3 Simulate changing views when the REFRESH action is run and when credentials are updated. This makes the symptoms go away but does not solve whatever the underlying problem is. ticket: 5604 version_fixed: 1.6.3 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19799 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/windows/identity/ui/mainwnd.c1
-rw-r--r--src/windows/identity/ui/timer.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/windows/identity/ui/mainwnd.c b/src/windows/identity/ui/mainwnd.c
index f96bee9..81d2667 100644
--- a/src/windows/identity/ui/mainwnd.c
+++ b/src/windows/identity/ui/mainwnd.c
@@ -305,6 +305,7 @@ khm_main_wnd_proc(HWND hwnd,
case KHUI_ACTION_VIEW_REFRESH:
khm_cred_refresh();
InvalidateRect(khm_hwnd_main_cred, NULL, FALSE);
+ khui_action_trigger(KHUI_ACTION_LAYOUT_RELOAD, NULL); /* Hack causes refresh button to work in Basic view. */
return 0;
case KHUI_ACTION_PASSWD_ID:
diff --git a/src/windows/identity/ui/timer.c b/src/windows/identity/ui/timer.c
index 9a270c3..8ed514d 100644
--- a/src/windows/identity/ui/timer.c
+++ b/src/windows/identity/ui/timer.c
@@ -861,6 +861,8 @@ tmr_cred_apply_proc(khm_handle cred, void * rock) {
if (ident)
kcdb_identity_release(ident);
+ khui_action_trigger(KHUI_ACTION_LAYOUT_RELOAD, NULL); /* Hack causes updates to be displayed. */
+
return KHM_ERROR_SUCCESS;
}