1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Unix can't sensibly enumerate printers (since they're defined as

being lpr commands), so the Unix config box now replaces the printer
combo box with an ordinary edit box.

[originally from svn r3063]
This commit is contained in:
Simon Tatham
2003-04-05 16:12:52 +00:00
parent 30497ff683
commit 09c9f31289
5 changed files with 34 additions and 22 deletions

View File

@ -42,6 +42,14 @@ void unix_setup_config_box(struct controlbox *b, int midsession)
* when these elements would be useful to configure.
*/
/*
* On Unix, we don't have a drop-down list for the printer
* control.
*/
s = ctrl_getset(b, "Terminal", "printing", "Remote-controlled printing");
assert(s->ncontrols == 1 && s->ctrls[0]->generic.type == CTRL_EDITBOX);
s->ctrls[0]->editbox.has_list = 0;
/*
* GTK makes it rather easier to put the scrollbar on the left
* than Windows does!