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:
@ -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!
|
||||
|
Reference in New Issue
Block a user