aboutsummaryrefslogtreecommitdiff
path: root/src/uicmd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/uicmd.cc')
-rw-r--r--src/uicmd.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc
index 885d704e..e005aaf6 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -374,9 +374,9 @@ static void win_cb (Fl_Widget *w, void *cb_data) {
CustTabGroup *tabs = (CustTabGroup*) cb_data;
if (tabs->children () > 1)
- choice = a_Dialog_choice3 ("Window contains more than one tab.",
- "Close all tabs", "Cancel", NULL);
- if (choice == 0)
+ choice = a_Dialog_choice5("Window contains more than one tab.",
+ "Close all tabs", "Cancel", NULL, NULL, NULL);
+ if (choice == 1)
while (tabs->children())
a_UIcmd_close_bw(a_UIcmd_get_bw_by_widget(tabs->child(0)));
}
@@ -573,9 +573,9 @@ void a_UIcmd_close_all_bw(void *)
int choice = 0;
if (a_Bw_num() > 1)
- choice = a_Dialog_choice3 ("More than one open tab or Window.",
- "Close all tabs and windows", "Cancel", NULL);
- if (choice == 0)
+ choice = a_Dialog_choice5("More than one open tab or Window.",
+ "Close all tabs and windows", "Cancel", NULL, NULL, NULL);
+ if (choice == 1)
while ((bw = a_Bw_get(0)))
a_UIcmd_close_bw((void*)bw);
}