This marks the "start" of Flenser.

This commit is contained in:
2025-02-28 13:53:05 -05:00
parent 20fea64cb5
commit 8101f9f267
17 changed files with 51 additions and 42 deletions

View File

@ -920,7 +920,7 @@ static void dlwin_esc_cb(Fl_Widget *, void *)
"ABORT them and EXIT anyway?";
if (dl_win && dl_win->num_running() > 0) {
fl_message_title("Dillo Downloads: Abort downloads?");
fl_message_title("Flenser Downloads: Abort downloads?");
int ch = fl_choice("%s", "Cancel", "*No", "Yes", msg);
if (ch == 0 || ch == 1)
return;
@ -1048,7 +1048,7 @@ DLWin::DLWin(int ww, int wh) {
mDList = new DLItemList();
// Create the empty main window
mWin = new Fl_Window(ww, wh, "Dillo Downloads");
mWin = new Fl_Window(ww, wh, "Flenser Downloads");
mWin->begin();
mScroll = new DlScroll(0,0,ww,wh);
mScroll->begin();
@ -1067,7 +1067,7 @@ DLWin::DLWin(int ww, int wh) {
sigaddset(&mask_sigchld, SIGCHLD);
est_sigchld();
fl_message_title_default("Dillo Downloads: Message");
fl_message_title_default("Flenser Downloads: Message");
// Set the cleanup timeout
Fl::add_timeout(1.0, cleanup_cb, mDList);

View File

@ -92,7 +92,7 @@ int main(void)
/* NOTE: you can send less alternatives (e.g. only alt1 and alt2) */
d_cmd = a_Dpip_build_cmd(
"cmd=%s title=%s msg=%s alt1=%s alt2=%s alt3=%s alt4=%s alt5=%s",
"dialog", "Dillo: Hello", "Do you want to see the hello page?",
"dialog", "Flenser: Hello", "Do you want to see the hello page?",
choice[1], choice[2], choice[3], choice[4], choice[5]);
a_Dpip_dsh_write_str(sh, 1, d_cmd);
dFree(d_cmd);