diff options
Diffstat (limited to 'OpenSim/Grid/Manager/OpenGridServices.Manager/MainWindow.cs')
-rw-r--r-- | OpenSim/Grid/Manager/OpenGridServices.Manager/MainWindow.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Grid/Manager/OpenGridServices.Manager/MainWindow.cs b/OpenSim/Grid/Manager/OpenGridServices.Manager/MainWindow.cs index 4892b8e..64a9b0d 100644 --- a/OpenSim/Grid/Manager/OpenGridServices.Manager/MainWindow.cs +++ b/OpenSim/Grid/Manager/OpenGridServices.Manager/MainWindow.cs | |||
@@ -32,7 +32,7 @@ namespace OpenGridServices.Manager | |||
32 | { | 32 | { |
33 | public partial class MainWindow: Gtk.Window | 33 | public partial class MainWindow: Gtk.Window |
34 | { | 34 | { |
35 | public MainWindow (): base (Gtk.WindowType.Toplevel) | 35 | public MainWindow() : base (Gtk.WindowType.Toplevel) |
36 | { | 36 | { |
37 | Build(); | 37 | Build(); |
38 | } | 38 | } |
@@ -57,10 +57,13 @@ namespace OpenGridServices.Manager | |||
57 | 57 | ||
58 | public void SetGridServerConnected(bool connected) | 58 | public void SetGridServerConnected(bool connected) |
59 | { | 59 | { |
60 | if (connected) { | 60 | if (connected) |
61 | { | ||
61 | this.ConnectToGridserver.Visible=false; | 62 | this.ConnectToGridserver.Visible=false; |
62 | this.DisconnectFromGridServer.Visible=true; | 63 | this.DisconnectFromGridServer.Visible=true; |
63 | } else { | 64 | } |
65 | else | ||
66 | { | ||
64 | this.ConnectToGridserver.Visible=true; | 67 | this.ConnectToGridserver.Visible=true; |
65 | this.DisconnectFromGridServer.Visible=false; | 68 | this.DisconnectFromGridServer.Visible=false; |
66 | } | 69 | } |