Differences From Artifact [1d54ecfa80]:
- File config.c — part of check-in [6f4a286473] at 2003-03-18 13:06:51 on branch trunk — Big sprawling dialog-box commit covering all sorts of things. Buttons now have an `iscancel' flag to go with `isdefault'; dlg_last_focused() now explicitly passes the control it _doesn't_ care about (`I want the last control that had focus and isn't this one'); and in the GTK implementation, various fixes have happened, notably including arrow keys working sensibly in list boxes and the treeview and short font aliases being expanded correctly to initialise the font selectors. (user: simon size: 52456)
To Artifact [5c4e545560]:
- File config.c — part of check-in [0f2a55849f] at 2003-03-22 03:32:49 on branch trunk — Make sure one of the Local/Remote port forwarding radio buttons actually starts off selected! (user: simon size: 52577)
| ︙ | ︙ | |||
592 593 594 595 596 597 598 599 600 601 602 603 604 605 |
dlg_update_start(ctrl, dlg);
dlg_listbox_clear(ctrl, dlg);
while (*p) {
dlg_listbox_add(ctrl, dlg, p);
p += strlen(p) + 1;
}
dlg_update_done(ctrl, dlg);
}
} else if (event == EVENT_ACTION) {
if (ctrl == pfd->addbutton) {
char str[sizeof(cfg->portfwd)];
char *p;
if (dlg_radiobutton_get(pfd->direction, dlg) == 0)
str[0] = 'L';
| > > > > > | 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 |
dlg_update_start(ctrl, dlg);
dlg_listbox_clear(ctrl, dlg);
while (*p) {
dlg_listbox_add(ctrl, dlg, p);
p += strlen(p) + 1;
}
dlg_update_done(ctrl, dlg);
} else if (ctrl == pfd->direction) {
/*
* Default is Local.
*/
dlg_radiobutton_set(ctrl, dlg, 0);
}
} else if (event == EVENT_ACTION) {
if (ctrl == pfd->addbutton) {
char str[sizeof(cfg->portfwd)];
char *p;
if (dlg_radiobutton_get(pfd->direction, dlg) == 0)
str[0] = 'L';
|
| ︙ | ︙ |