aboutsummaryrefslogtreecommitdiff
path: root/src/nav.c
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2011-07-26 21:53:02 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2011-07-26 21:53:02 +0200
commitd2bccfee406c9b99dfd85269f14d93a3ef73da0b (patch)
tree1d9784434792c0f079d7c6e063fab9f5ce47a1b8 /src/nav.c
parent604b03e2b43db99bfbadcf891f459b48dc39ff2a (diff)
parent6b787a09569a823e8ebaae8025c33e4ead9e306e (diff)
merge port to fltk-1.3 (dillo_port1.3)
Diffstat (limited to 'src/nav.c')
-rw-r--r--src/nav.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nav.c b/src/nav.c
index c7c46157..31f9e92d 100644
--- a/src/nav.c
+++ b/src/nav.c
@@ -252,6 +252,7 @@ void a_Nav_cancel_expect(BrowserWindow *bw)
a_Url_free(bw->nav_expect_url);
bw->nav_expect_url = NULL;
bw->nav_expecting = FALSE;
+ a_UIcmd_set_buttons_sens(bw);
}
if (bw->meta_refresh_status > 0)
--bw->meta_refresh_status;
@@ -487,9 +488,9 @@ static void Nav_reload_callback(void *data)
confirmed = 0;
} else if (URL_FLAGS(h_url) & URL_Post) {
/* Attempt to repost data, let's confirm... */
- choice = a_Dialog_choice3("Repost form data?",
- "Yes", "*No", "Cancel");
- confirmed = (choice == 0); /* "Yes" */
+ choice = a_Dialog_choice5("Repost form data?",
+ "No", "Yes", "Cancel", NULL, NULL);
+ confirmed = (choice == 2); /* "Yes" */
}
if (confirmed) {