1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Implemented Change Settings under Unix. We are gradually getting there.

[originally from svn r3092]
This commit is contained in:
Simon Tatham
2003-04-10 18:00:50 +00:00
parent f03cf02cc8
commit 2e1503e520
5 changed files with 269 additions and 153 deletions

View File

@ -1935,7 +1935,7 @@ int get_listitemheight(void)
return req.height;
}
int do_config_box(const char *title, Config *cfg)
int do_config_box(const char *title, Config *cfg, int midsession)
{
GtkWidget *window, *hbox, *vbox, *cols, *label,
*tree, *treescroll, *panels, *panelvbox;
@ -1964,8 +1964,8 @@ int do_config_box(const char *title, Config *cfg)
window = gtk_dialog_new();
ctrlbox = ctrl_new_box();
setup_config_box(ctrlbox, &sl, FALSE, 0);
unix_setup_config_box(ctrlbox, FALSE, window);
setup_config_box(ctrlbox, &sl, midsession, 0);
unix_setup_config_box(ctrlbox, midsession, window);
gtk_window_set_title(GTK_WINDOW(window), title);
hbox = gtk_hbox_new(FALSE, 4);