Implemented Change Settings under Unix. We are gradually getting there.
[u/mdw/putty] / unix / gtkdlg.c
index 6115e49..4299866 100644 (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);