diff options
Whitespace cleanup.
Diffstat (limited to 'OpenSim/Grid/Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs')
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs | 45 |
1 files changed, 21 insertions, 24 deletions
diff --git a/OpenSim/Grid/Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs index bb357a3..1bdb41e 100644 --- a/OpenSim/Grid/Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs | |||
@@ -29,29 +29,26 @@ | |||
29 | using Gtk; | 29 | using Gtk; |
30 | using System; | 30 | using System; |
31 | 31 | ||
32 | namespace OpenGridServices.Manager { | 32 | namespace OpenGridServices.Manager |
33 | public partial class ConnectToGridServerDialog : Gtk.Dialog | 33 | { |
34 | { | 34 | public partial class ConnectToGridServerDialog : Gtk.Dialog |
35 | 35 | { | |
36 | public ConnectToGridServerDialog() | 36 | public ConnectToGridServerDialog() |
37 | { | 37 | { |
38 | this.Build(); | 38 | this.Build(); |
39 | } | 39 | } |
40 | |||
41 | protected virtual void OnResponse(object o, Gtk.ResponseArgs args) | ||
42 | { | ||
43 | switch(args.ResponseId) { | ||
44 | case Gtk.ResponseType.Ok: | ||
45 | MainClass.PendingOperations.Enqueue("connect_to_gridserver " + this.entry1.Text + " " + this.entry2.Text + " " + this.entry3.Text); | ||
46 | break; | ||
47 | |||
48 | case Gtk.ResponseType.Cancel: | ||
49 | break; | ||
50 | } | ||
51 | this.Hide(); | ||
52 | |||
53 | } | ||
54 | |||
55 | } | ||
56 | 40 | ||
41 | protected virtual void OnResponse(object o, Gtk.ResponseArgs args) | ||
42 | { | ||
43 | switch(args.ResponseId) { | ||
44 | case Gtk.ResponseType.Ok: | ||
45 | MainClass.PendingOperations.Enqueue("connect_to_gridserver " + this.entry1.Text + " " + this.entry2.Text + " " + this.entry3.Text); | ||
46 | break; | ||
47 | |||
48 | case Gtk.ResponseType.Cancel: | ||
49 | break; | ||
50 | } | ||
51 | this.Hide(); | ||
52 | } | ||
53 | } | ||
57 | } | 54 | } |