2 /* Circ.Frontend.GtkSharp : GTK# frontend for Circ
3 * Copyright (C) 2007 LAVAL Jérémie
5 * This file is licensed under the terms of the LGPL.
7 * For the complete licence see the file COPYING.
11 using System
.Collections
.Generic
;
13 using Circ
.Controller
;
15 namespace Circ
.Frontend
.GtkSharp
17 public partial class ConnectionDialog
: Gtk
.Dialog
20 IList
<string> selectedServers
= new List
<string>();
22 public ConnectionDialog(IMainControl ctrl
, string[] servers
)
27 ListStore list
= new ListStore(typeof(string));
28 this.serverList
.HeadersVisible
= false;
29 this.serverList
.Model
= list
;
30 this.serverList
.AppendColumn("Servers", new CellRendererText(), "text", 0);
31 foreach(string s
in servers
)
37 public void OnProcessConnections(object sender
, EventArgs e
)
39 // TODO : connect to each selected server