Re-organising some crap
parent
4ddd590b3a
commit
503c9b5b5d
|
@ -1,16 +0,0 @@
|
||||||
<Combine name="OpenGridServices.Manager.Gtk" fileversion="2.0">
|
|
||||||
<Configurations active="Debug">
|
|
||||||
<Configuration name="Debug" ctype="CombineConfiguration">
|
|
||||||
<Entry build="True" name="OpenGridServices.Manager.Gtk" configuration="Debug" />
|
|
||||||
</Configuration>
|
|
||||||
<Configuration name="Release" ctype="CombineConfiguration">
|
|
||||||
<Entry build="True" name="OpenGridServices.Manager.Gtk" configuration="Release" />
|
|
||||||
</Configuration>
|
|
||||||
</Configurations>
|
|
||||||
<StartMode startupentry="OpenGridServices.Manager.Gtk" single="True">
|
|
||||||
<Execute type="None" entry="OpenGridServices.Manager.Gtk" />
|
|
||||||
</StartMode>
|
|
||||||
<Entries>
|
|
||||||
<Entry filename="./OpenGridServices.Manager.Gtk/OpenGridServices.Manager.Gtk.mdp" />
|
|
||||||
</Entries>
|
|
||||||
</Combine>
|
|
|
@ -1,39 +0,0 @@
|
||||||
<?xml version="1.0"?>
|
|
||||||
<UserCombinePreferences filename="/home/gareth/OpenGridServices.Manager.Gtk/OpenGridServices.Manager.Gtk.mds">
|
|
||||||
<Files>
|
|
||||||
<File filename="Welcome" />
|
|
||||||
<File filename="./OpenGridServices.Manager.Gtk/MainWindow.cs" />
|
|
||||||
<File filename="./OpenGridServices.Manager.Gtk/ConnectToGridServerDialog.cs" />
|
|
||||||
<File filename="./OpenGridServices.Manager.Gtk/Main.cs" />
|
|
||||||
</Files>
|
|
||||||
<Views>
|
|
||||||
<ViewMemento Id="MonoDevelop.Ide.Gui.Pads.ProjectPad">
|
|
||||||
<TreeView>
|
|
||||||
<Node expanded="True">
|
|
||||||
<Node name="OpenGridServices.Manager.Gtk" expanded="True">
|
|
||||||
<Node name="References" expanded="True" />
|
|
||||||
<Node name="Resources" expanded="True" />
|
|
||||||
<Node name="UserInterface" expanded="True" />
|
|
||||||
<Node name="ConnectToGridServerDialog.cs" expanded="False" selected="True" />
|
|
||||||
</Node>
|
|
||||||
</Node>
|
|
||||||
</TreeView>
|
|
||||||
</ViewMemento>
|
|
||||||
<ViewMemento Id="MonoDevelop.Ide.Gui.Pads.ClassPad">
|
|
||||||
<TreeView>
|
|
||||||
<Node expanded="True" />
|
|
||||||
</TreeView>
|
|
||||||
</ViewMemento>
|
|
||||||
<ViewMemento Id="MonoDevelop.NUnit.TestPad">
|
|
||||||
<TreeView>
|
|
||||||
<Node expanded="False" />
|
|
||||||
</TreeView>
|
|
||||||
</ViewMemento>
|
|
||||||
</Views>
|
|
||||||
<Properties>
|
|
||||||
<Properties>
|
|
||||||
<Property key="ActiveConfiguration" value="Debug" />
|
|
||||||
<Property key="ActiveWindow" value="/home/gareth/OpenGridServices.Manager.Gtk/OpenGridServices.Manager.Gtk/ConnectToGridServerDialog.cs" />
|
|
||||||
</Properties>
|
|
||||||
</Properties>
|
|
||||||
</UserCombinePreferences>
|
|
|
@ -1,2 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<ArrayOfUserTask xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
|
|
|
@ -1,32 +0,0 @@
|
||||||
using System.Reflection;
|
|
||||||
using System.Runtime.CompilerServices;
|
|
||||||
|
|
||||||
// Information about this assembly is defined by the following
|
|
||||||
// attributes.
|
|
||||||
//
|
|
||||||
// change them to the information which is associated with the assembly
|
|
||||||
// you compile.
|
|
||||||
|
|
||||||
[assembly: AssemblyTitle("")]
|
|
||||||
[assembly: AssemblyDescription("")]
|
|
||||||
[assembly: AssemblyConfiguration("")]
|
|
||||||
[assembly: AssemblyCompany("")]
|
|
||||||
[assembly: AssemblyProduct("")]
|
|
||||||
[assembly: AssemblyCopyright("")]
|
|
||||||
[assembly: AssemblyTrademark("")]
|
|
||||||
[assembly: AssemblyCulture("")]
|
|
||||||
|
|
||||||
// The assembly version has following format :
|
|
||||||
//
|
|
||||||
// Major.Minor.Build.Revision
|
|
||||||
//
|
|
||||||
// You can specify all values by your own or you can build default build and revision
|
|
||||||
// numbers with the '*' character (the default):
|
|
||||||
|
|
||||||
[assembly: AssemblyVersion("1.0.*")]
|
|
||||||
|
|
||||||
// The following attributes specify the key for the sign of your assembly. See the
|
|
||||||
// .NET Framework documentation for more information about signing.
|
|
||||||
// This is not required, if you don't want signing let these attributes like they're.
|
|
||||||
[assembly: AssemblyDelaySign(false)]
|
|
||||||
[assembly: AssemblyKeyFile("")]
|
|
|
@ -1,16 +0,0 @@
|
||||||
|
|
||||||
using System;
|
|
||||||
|
|
||||||
namespace OpenGridServices.Manager.Gtk
|
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
public partial class Connect to grid server : Gtk.Dialog
|
|
||||||
{
|
|
||||||
|
|
||||||
public Connect to grid server()
|
|
||||||
{
|
|
||||||
this.Build();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,23 +0,0 @@
|
||||||
using Gtk;
|
|
||||||
using System;
|
|
||||||
|
|
||||||
public partial class ConnectToGridServerDialog : Gtk.Dialog
|
|
||||||
{
|
|
||||||
|
|
||||||
public ConnectToGridServerDialog()
|
|
||||||
{
|
|
||||||
this.Build();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected virtual void ConnectBtn(object sender, System.EventArgs e)
|
|
||||||
{
|
|
||||||
this.Hide();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected virtual void CancelBtn(object sender, System.EventArgs e)
|
|
||||||
{
|
|
||||||
this.Hide();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
// project created on 5/14/2007 at 2:04 PM
|
|
||||||
using System;
|
|
||||||
using Gtk;
|
|
||||||
|
|
||||||
namespace OpenGridServices.Manager.Gtk
|
|
||||||
{
|
|
||||||
class MainClass
|
|
||||||
{
|
|
||||||
public static void Main (string[] args)
|
|
||||||
{
|
|
||||||
Application.Init ();
|
|
||||||
MainWindow win = new MainWindow ();
|
|
||||||
win.Show ();
|
|
||||||
Application.Run ();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,30 +0,0 @@
|
||||||
using System;
|
|
||||||
using Gtk;
|
|
||||||
|
|
||||||
public partial class MainWindow: Gtk.Window
|
|
||||||
{
|
|
||||||
public MainWindow (): base (Gtk.WindowType.Toplevel)
|
|
||||||
{
|
|
||||||
Build ();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected void OnDeleteEvent (object sender, DeleteEventArgs a)
|
|
||||||
{
|
|
||||||
Application.Quit ();
|
|
||||||
a.RetVal = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
protected virtual void QuitMenu(object sender, System.EventArgs e)
|
|
||||||
{
|
|
||||||
Application.Quit();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected virtual void ConnectToGridServerMenu(object sender, System.EventArgs e)
|
|
||||||
{
|
|
||||||
ConnectToGridServerDialog griddialog = new ConnectToGridServerDialog ();
|
|
||||||
griddialog.Show();
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,36 +0,0 @@
|
||||||
<Project name="OpenGridServices.Manager.Gtk" fileversion="2.0" language="C#" clr-version="Net_1_1" ctype="DotNetProject">
|
|
||||||
<Configurations active="Debug">
|
|
||||||
<Configuration name="Debug" ctype="DotNetProjectConfiguration">
|
|
||||||
<Output directory="./bin/Debug" assembly="OpenGridServices.Manager.Gtk" />
|
|
||||||
<Build debugmode="True" target="Exe" />
|
|
||||||
<Execution runwithwarnings="True" consolepause="True" runtime="MsNet" clr-version="Net_1_1" />
|
|
||||||
<CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
|
|
||||||
</Configuration>
|
|
||||||
<Configuration name="Release" ctype="DotNetProjectConfiguration">
|
|
||||||
<Output directory="./bin/Release" assembly="OpenGridServices.Manager.Gtk" />
|
|
||||||
<Build debugmode="False" target="Exe" />
|
|
||||||
<Execution runwithwarnings="True" consolepause="True" runtime="MsNet" clr-version="Net_1_1" />
|
|
||||||
<CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" generatexmldocumentation="False" ctype="CSharpCompilerParameters" />
|
|
||||||
</Configuration>
|
|
||||||
</Configurations>
|
|
||||||
<Contents>
|
|
||||||
<File name="./gtk-gui/gui.stetic" subtype="Code" buildaction="EmbedAsResource" />
|
|
||||||
<File name="./gtk-gui/generated.cs" subtype="Code" buildaction="Compile" />
|
|
||||||
<File name="./MainWindow.cs" subtype="Code" buildaction="Compile" />
|
|
||||||
<File name="./gtk-gui/MainWindow.cs" subtype="Code" buildaction="Compile" />
|
|
||||||
<File name="./Main.cs" subtype="Code" buildaction="Compile" />
|
|
||||||
<File name="./AssemblyInfo.cs" subtype="Code" buildaction="Compile" />
|
|
||||||
<File name="./ConnectToGridServerDialog.cs" subtype="Code" buildaction="Compile" />
|
|
||||||
<File name="./gtk-gui/ConnectToGridServerDialog.cs" subtype="Code" buildaction="Compile" />
|
|
||||||
</Contents>
|
|
||||||
<References>
|
|
||||||
<ProjectReference type="Gac" localcopy="True" refto="System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
||||||
<ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
|
||||||
<ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
|
||||||
<ProjectReference type="Gac" localcopy="True" refto="glib-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
|
||||||
<ProjectReference type="Gac" localcopy="True" refto="glade-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
|
||||||
<ProjectReference type="Gac" localcopy="True" refto="pango-sharp, Version=2.4.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
|
||||||
<ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
|
|
||||||
</References>
|
|
||||||
<GtkDesignInfo partialTypes="True" />
|
|
||||||
</Project>
|
|
Binary file not shown.
|
@ -1,141 +0,0 @@
|
||||||
// ------------------------------------------------------------------------------
|
|
||||||
// <autogenerated>
|
|
||||||
// This code was generated by a tool.
|
|
||||||
// Mono Runtime Version: 2.0.50727.42
|
|
||||||
//
|
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
|
||||||
// the code is regenerated.
|
|
||||||
// </autogenerated>
|
|
||||||
// ------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public partial class ConnectToGridServerDialog {
|
|
||||||
|
|
||||||
private Gtk.VBox vbox2;
|
|
||||||
|
|
||||||
private Gtk.Label label1;
|
|
||||||
|
|
||||||
private Gtk.Entry entry1;
|
|
||||||
|
|
||||||
private Gtk.Button button2;
|
|
||||||
|
|
||||||
private Gtk.Button button8;
|
|
||||||
|
|
||||||
protected virtual void Build() {
|
|
||||||
Stetic.Gui.Initialize();
|
|
||||||
// Widget ConnectToGridServerDialog
|
|
||||||
this.Events = ((Gdk.EventMask)(256));
|
|
||||||
this.Name = "ConnectToGridServerDialog";
|
|
||||||
this.Title = Mono.Unix.Catalog.GetString("Connect to Grid server");
|
|
||||||
// Internal child ConnectToGridServerDialog.VBox
|
|
||||||
Gtk.VBox w1 = this.VBox;
|
|
||||||
w1.Events = ((Gdk.EventMask)(256));
|
|
||||||
w1.Name = "dialog_VBox";
|
|
||||||
w1.BorderWidth = ((uint)(2));
|
|
||||||
// Container child dialog_VBox.Gtk.Box+BoxChild
|
|
||||||
this.vbox2 = new Gtk.VBox();
|
|
||||||
this.vbox2.Name = "vbox2";
|
|
||||||
// Container child vbox2.Gtk.Box+BoxChild
|
|
||||||
this.label1 = new Gtk.Label();
|
|
||||||
this.label1.Name = "label1";
|
|
||||||
this.label1.LabelProp = Mono.Unix.Catalog.GetString("Please type in the grid server IP/hostname and management interface port:");
|
|
||||||
this.label1.Wrap = true;
|
|
||||||
this.label1.Justify = ((Gtk.Justification)(2));
|
|
||||||
this.vbox2.Add(this.label1);
|
|
||||||
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.label1]));
|
|
||||||
w2.Position = 0;
|
|
||||||
w2.Expand = false;
|
|
||||||
w2.Fill = false;
|
|
||||||
// Container child vbox2.Gtk.Box+BoxChild
|
|
||||||
this.entry1 = new Gtk.Entry();
|
|
||||||
this.entry1.CanFocus = true;
|
|
||||||
this.entry1.Name = "entry1";
|
|
||||||
this.entry1.Text = Mono.Unix.Catalog.GetString("gridserver:8001");
|
|
||||||
this.entry1.IsEditable = true;
|
|
||||||
this.entry1.MaxLength = 255;
|
|
||||||
this.entry1.InvisibleChar = '•';
|
|
||||||
this.vbox2.Add(this.entry1);
|
|
||||||
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.entry1]));
|
|
||||||
w3.Position = 1;
|
|
||||||
w3.Expand = false;
|
|
||||||
w3.Fill = false;
|
|
||||||
w1.Add(this.vbox2);
|
|
||||||
Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
|
|
||||||
w4.Position = 0;
|
|
||||||
// Internal child ConnectToGridServerDialog.ActionArea
|
|
||||||
Gtk.HButtonBox w5 = this.ActionArea;
|
|
||||||
w5.Events = ((Gdk.EventMask)(256));
|
|
||||||
w5.Name = "OpenGridServices.Manager.Gtk.ConnectToGridServerDialog_ActionArea";
|
|
||||||
w5.Spacing = 6;
|
|
||||||
w5.BorderWidth = ((uint)(5));
|
|
||||||
w5.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
|
|
||||||
// Container child OpenGridServices.Manager.Gtk.ConnectToGridServerDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
|
|
||||||
this.button2 = new Gtk.Button();
|
|
||||||
this.button2.CanDefault = true;
|
|
||||||
this.button2.CanFocus = true;
|
|
||||||
this.button2.Name = "button2";
|
|
||||||
this.button2.UseUnderline = true;
|
|
||||||
// Container child button2.Gtk.Container+ContainerChild
|
|
||||||
Gtk.Alignment w6 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
|
|
||||||
w6.Name = "GtkAlignment";
|
|
||||||
// Container child GtkAlignment.Gtk.Container+ContainerChild
|
|
||||||
Gtk.HBox w7 = new Gtk.HBox();
|
|
||||||
w7.Name = "GtkHBox";
|
|
||||||
w7.Spacing = 2;
|
|
||||||
// Container child GtkHBox.Gtk.Container+ContainerChild
|
|
||||||
Gtk.Image w8 = new Gtk.Image();
|
|
||||||
w8.Name = "image11";
|
|
||||||
w8.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-apply", 16, 0);
|
|
||||||
w7.Add(w8);
|
|
||||||
// Container child GtkHBox.Gtk.Container+ContainerChild
|
|
||||||
Gtk.Label w10 = new Gtk.Label();
|
|
||||||
w10.Name = "GtkLabel";
|
|
||||||
w10.LabelProp = Mono.Unix.Catalog.GetString("Connect");
|
|
||||||
w10.UseUnderline = true;
|
|
||||||
w7.Add(w10);
|
|
||||||
w6.Add(w7);
|
|
||||||
this.button2.Add(w6);
|
|
||||||
this.AddActionWidget(this.button2, 0);
|
|
||||||
Gtk.ButtonBox.ButtonBoxChild w14 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.button2]));
|
|
||||||
w14.Expand = false;
|
|
||||||
w14.Fill = false;
|
|
||||||
// Container child OpenGridServices.Manager.Gtk.ConnectToGridServerDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
|
|
||||||
this.button8 = new Gtk.Button();
|
|
||||||
this.button8.CanDefault = true;
|
|
||||||
this.button8.CanFocus = true;
|
|
||||||
this.button8.Name = "button8";
|
|
||||||
this.button8.UseUnderline = true;
|
|
||||||
// Container child button8.Gtk.Container+ContainerChild
|
|
||||||
Gtk.Alignment w15 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
|
|
||||||
w15.Name = "GtkAlignment1";
|
|
||||||
// Container child GtkAlignment1.Gtk.Container+ContainerChild
|
|
||||||
Gtk.HBox w16 = new Gtk.HBox();
|
|
||||||
w16.Name = "GtkHBox1";
|
|
||||||
w16.Spacing = 2;
|
|
||||||
// Container child GtkHBox1.Gtk.Container+ContainerChild
|
|
||||||
Gtk.Image w17 = new Gtk.Image();
|
|
||||||
w17.Name = "image12";
|
|
||||||
w17.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-cancel", 16, 0);
|
|
||||||
w16.Add(w17);
|
|
||||||
// Container child GtkHBox1.Gtk.Container+ContainerChild
|
|
||||||
Gtk.Label w19 = new Gtk.Label();
|
|
||||||
w19.Name = "GtkLabel1";
|
|
||||||
w19.LabelProp = Mono.Unix.Catalog.GetString("Cancel");
|
|
||||||
w19.UseUnderline = true;
|
|
||||||
w16.Add(w19);
|
|
||||||
w15.Add(w16);
|
|
||||||
this.button8.Add(w15);
|
|
||||||
this.AddActionWidget(this.button8, 0);
|
|
||||||
Gtk.ButtonBox.ButtonBoxChild w23 = ((Gtk.ButtonBox.ButtonBoxChild)(w5[this.button8]));
|
|
||||||
w23.Position = 1;
|
|
||||||
w23.Expand = false;
|
|
||||||
w23.Fill = false;
|
|
||||||
if ((this.Child != null)) {
|
|
||||||
this.Child.ShowAll();
|
|
||||||
}
|
|
||||||
this.DefaultWidth = 476;
|
|
||||||
this.DefaultHeight = 107;
|
|
||||||
this.Show();
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,355 +0,0 @@
|
||||||
// ------------------------------------------------------------------------------
|
|
||||||
// <autogenerated>
|
|
||||||
// This code was generated by a tool.
|
|
||||||
// Mono Runtime Version: 2.0.50727.42
|
|
||||||
//
|
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
|
||||||
// the code is regenerated.
|
|
||||||
// </autogenerated>
|
|
||||||
// ------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public partial class MainWindow {
|
|
||||||
|
|
||||||
private Gtk.Action Grid;
|
|
||||||
|
|
||||||
private Gtk.Action User;
|
|
||||||
|
|
||||||
private Gtk.Action Asset;
|
|
||||||
|
|
||||||
private Gtk.Action Region;
|
|
||||||
|
|
||||||
private Gtk.Action Services;
|
|
||||||
|
|
||||||
private Gtk.Action ConnectToGridserver;
|
|
||||||
|
|
||||||
private Gtk.Action RestartWholeGrid;
|
|
||||||
|
|
||||||
private Gtk.Action ShutdownWholeGrid;
|
|
||||||
|
|
||||||
private Gtk.Action ExitGridManager;
|
|
||||||
|
|
||||||
private Gtk.Action ConnectToUserserver;
|
|
||||||
|
|
||||||
private Gtk.Action AccountManagment;
|
|
||||||
|
|
||||||
private Gtk.Action GlobalNotice;
|
|
||||||
|
|
||||||
private Gtk.Action DisableAllLogins;
|
|
||||||
|
|
||||||
private Gtk.Action DisableNonGodUsersOnly;
|
|
||||||
|
|
||||||
private Gtk.Action ShutdownUserServer;
|
|
||||||
|
|
||||||
private Gtk.Action ShutdownGridserverOnly;
|
|
||||||
|
|
||||||
private Gtk.Action RestartGridserverOnly;
|
|
||||||
|
|
||||||
private Gtk.Action DefaultLocalGridUserserver;
|
|
||||||
|
|
||||||
private Gtk.Action CustomUserserver;
|
|
||||||
|
|
||||||
private Gtk.Action RemoteGridDefaultUserserver;
|
|
||||||
|
|
||||||
private Gtk.Action DisconnectFromGridServer;
|
|
||||||
|
|
||||||
private Gtk.Action UploadAsset;
|
|
||||||
|
|
||||||
private Gtk.Action AssetManagement;
|
|
||||||
|
|
||||||
private Gtk.Action ConnectToAssetServer;
|
|
||||||
|
|
||||||
private Gtk.Action ConnectToDefaultAssetServerForGrid;
|
|
||||||
|
|
||||||
private Gtk.Action DefaultForLocalGrid;
|
|
||||||
|
|
||||||
private Gtk.Action DefaultForRemoteGrid;
|
|
||||||
|
|
||||||
private Gtk.Action CustomAssetServer;
|
|
||||||
|
|
||||||
private Gtk.VBox vbox1;
|
|
||||||
|
|
||||||
private Gtk.MenuBar menubar2;
|
|
||||||
|
|
||||||
private Gtk.HBox hbox1;
|
|
||||||
|
|
||||||
private Gtk.ScrolledWindow scrolledwindow1;
|
|
||||||
|
|
||||||
private Gtk.Table table1;
|
|
||||||
|
|
||||||
private Gtk.Image image1;
|
|
||||||
|
|
||||||
private Gtk.Image image2;
|
|
||||||
|
|
||||||
private Gtk.Image image3;
|
|
||||||
|
|
||||||
private Gtk.Image image4;
|
|
||||||
|
|
||||||
private Gtk.Image image5;
|
|
||||||
|
|
||||||
private Gtk.Image image6;
|
|
||||||
|
|
||||||
private Gtk.Image image7;
|
|
||||||
|
|
||||||
private Gtk.Image image8;
|
|
||||||
|
|
||||||
private Gtk.Image image9;
|
|
||||||
|
|
||||||
private Gtk.TreeView treeview1;
|
|
||||||
|
|
||||||
private Gtk.Statusbar statusbar1;
|
|
||||||
|
|
||||||
protected virtual void Build() {
|
|
||||||
Stetic.Gui.Initialize();
|
|
||||||
// Widget MainWindow
|
|
||||||
Gtk.UIManager w1 = new Gtk.UIManager();
|
|
||||||
Gtk.ActionGroup w2 = new Gtk.ActionGroup("Default");
|
|
||||||
this.Grid = new Gtk.Action("Grid", Mono.Unix.Catalog.GetString("Grid"), null, null);
|
|
||||||
this.Grid.HideIfEmpty = false;
|
|
||||||
this.Grid.ShortLabel = Mono.Unix.Catalog.GetString("Grid");
|
|
||||||
w2.Add(this.Grid, "<Alt><Mod2>g");
|
|
||||||
this.User = new Gtk.Action("User", Mono.Unix.Catalog.GetString("User"), null, null);
|
|
||||||
this.User.HideIfEmpty = false;
|
|
||||||
this.User.ShortLabel = Mono.Unix.Catalog.GetString("User");
|
|
||||||
w2.Add(this.User, null);
|
|
||||||
this.Asset = new Gtk.Action("Asset", Mono.Unix.Catalog.GetString("Asset"), null, null);
|
|
||||||
this.Asset.HideIfEmpty = false;
|
|
||||||
this.Asset.ShortLabel = Mono.Unix.Catalog.GetString("Asset");
|
|
||||||
w2.Add(this.Asset, null);
|
|
||||||
this.Region = new Gtk.Action("Region", Mono.Unix.Catalog.GetString("Region"), null, null);
|
|
||||||
this.Region.ShortLabel = Mono.Unix.Catalog.GetString("Region");
|
|
||||||
w2.Add(this.Region, null);
|
|
||||||
this.Services = new Gtk.Action("Services", Mono.Unix.Catalog.GetString("Services"), null, null);
|
|
||||||
this.Services.ShortLabel = Mono.Unix.Catalog.GetString("Services");
|
|
||||||
w2.Add(this.Services, null);
|
|
||||||
this.ConnectToGridserver = new Gtk.Action("ConnectToGridserver", Mono.Unix.Catalog.GetString("Connect to gridserver..."), null, "gtk-connect");
|
|
||||||
this.ConnectToGridserver.HideIfEmpty = false;
|
|
||||||
this.ConnectToGridserver.ShortLabel = Mono.Unix.Catalog.GetString("Connect to gridserver");
|
|
||||||
w2.Add(this.ConnectToGridserver, null);
|
|
||||||
this.RestartWholeGrid = new Gtk.Action("RestartWholeGrid", Mono.Unix.Catalog.GetString("Restart whole grid"), null, "gtk-refresh");
|
|
||||||
this.RestartWholeGrid.ShortLabel = Mono.Unix.Catalog.GetString("Restart whole grid");
|
|
||||||
w2.Add(this.RestartWholeGrid, null);
|
|
||||||
this.ShutdownWholeGrid = new Gtk.Action("ShutdownWholeGrid", Mono.Unix.Catalog.GetString("Shutdown whole grid"), null, "gtk-stop");
|
|
||||||
this.ShutdownWholeGrid.ShortLabel = Mono.Unix.Catalog.GetString("Shutdown whole grid");
|
|
||||||
w2.Add(this.ShutdownWholeGrid, null);
|
|
||||||
this.ExitGridManager = new Gtk.Action("ExitGridManager", Mono.Unix.Catalog.GetString("Exit grid manager"), null, "gtk-close");
|
|
||||||
this.ExitGridManager.ShortLabel = Mono.Unix.Catalog.GetString("Exit grid manager");
|
|
||||||
w2.Add(this.ExitGridManager, null);
|
|
||||||
this.ConnectToUserserver = new Gtk.Action("ConnectToUserserver", Mono.Unix.Catalog.GetString("Connect to userserver"), null, "gtk-connect");
|
|
||||||
this.ConnectToUserserver.ShortLabel = Mono.Unix.Catalog.GetString("Connect to userserver");
|
|
||||||
w2.Add(this.ConnectToUserserver, null);
|
|
||||||
this.AccountManagment = new Gtk.Action("AccountManagment", Mono.Unix.Catalog.GetString("Account managment"), null, "gtk-properties");
|
|
||||||
this.AccountManagment.ShortLabel = Mono.Unix.Catalog.GetString("Account managment");
|
|
||||||
w2.Add(this.AccountManagment, null);
|
|
||||||
this.GlobalNotice = new Gtk.Action("GlobalNotice", Mono.Unix.Catalog.GetString("Global notice"), null, "gtk-network");
|
|
||||||
this.GlobalNotice.ShortLabel = Mono.Unix.Catalog.GetString("Global notice");
|
|
||||||
w2.Add(this.GlobalNotice, null);
|
|
||||||
this.DisableAllLogins = new Gtk.Action("DisableAllLogins", Mono.Unix.Catalog.GetString("Disable all logins"), null, "gtk-no");
|
|
||||||
this.DisableAllLogins.ShortLabel = Mono.Unix.Catalog.GetString("Disable all logins");
|
|
||||||
w2.Add(this.DisableAllLogins, null);
|
|
||||||
this.DisableNonGodUsersOnly = new Gtk.Action("DisableNonGodUsersOnly", Mono.Unix.Catalog.GetString("Disable non-god users only"), null, "gtk-no");
|
|
||||||
this.DisableNonGodUsersOnly.ShortLabel = Mono.Unix.Catalog.GetString("Disable non-god users only");
|
|
||||||
w2.Add(this.DisableNonGodUsersOnly, null);
|
|
||||||
this.ShutdownUserServer = new Gtk.Action("ShutdownUserServer", Mono.Unix.Catalog.GetString("Shutdown user server"), null, "gtk-stop");
|
|
||||||
this.ShutdownUserServer.ShortLabel = Mono.Unix.Catalog.GetString("Shutdown user server");
|
|
||||||
w2.Add(this.ShutdownUserServer, null);
|
|
||||||
this.ShutdownGridserverOnly = new Gtk.Action("ShutdownGridserverOnly", Mono.Unix.Catalog.GetString("Shutdown gridserver only"), null, "gtk-stop");
|
|
||||||
this.ShutdownGridserverOnly.ShortLabel = Mono.Unix.Catalog.GetString("Shutdown gridserver only");
|
|
||||||
w2.Add(this.ShutdownGridserverOnly, null);
|
|
||||||
this.RestartGridserverOnly = new Gtk.Action("RestartGridserverOnly", Mono.Unix.Catalog.GetString("Restart gridserver only"), null, "gtk-refresh");
|
|
||||||
this.RestartGridserverOnly.ShortLabel = Mono.Unix.Catalog.GetString("Restart gridserver only");
|
|
||||||
w2.Add(this.RestartGridserverOnly, null);
|
|
||||||
this.DefaultLocalGridUserserver = new Gtk.Action("DefaultLocalGridUserserver", Mono.Unix.Catalog.GetString("Default local grid userserver"), null, null);
|
|
||||||
this.DefaultLocalGridUserserver.ShortLabel = Mono.Unix.Catalog.GetString("Default local grid userserver");
|
|
||||||
w2.Add(this.DefaultLocalGridUserserver, null);
|
|
||||||
this.CustomUserserver = new Gtk.Action("CustomUserserver", Mono.Unix.Catalog.GetString("Custom userserver..."), null, null);
|
|
||||||
this.CustomUserserver.ShortLabel = Mono.Unix.Catalog.GetString("Custom userserver");
|
|
||||||
w2.Add(this.CustomUserserver, null);
|
|
||||||
this.RemoteGridDefaultUserserver = new Gtk.Action("RemoteGridDefaultUserserver", Mono.Unix.Catalog.GetString("Remote grid default userserver..."), null, null);
|
|
||||||
this.RemoteGridDefaultUserserver.ShortLabel = Mono.Unix.Catalog.GetString("Remote grid default userserver");
|
|
||||||
w2.Add(this.RemoteGridDefaultUserserver, null);
|
|
||||||
this.DisconnectFromGridServer = new Gtk.Action("DisconnectFromGridServer", Mono.Unix.Catalog.GetString("Disconnect from grid server"), null, "gtk-disconnect");
|
|
||||||
this.DisconnectFromGridServer.ShortLabel = Mono.Unix.Catalog.GetString("Disconnect from grid server");
|
|
||||||
this.DisconnectFromGridServer.Visible = false;
|
|
||||||
w2.Add(this.DisconnectFromGridServer, null);
|
|
||||||
this.UploadAsset = new Gtk.Action("UploadAsset", Mono.Unix.Catalog.GetString("Upload asset"), null, null);
|
|
||||||
this.UploadAsset.ShortLabel = Mono.Unix.Catalog.GetString("Upload asset");
|
|
||||||
w2.Add(this.UploadAsset, null);
|
|
||||||
this.AssetManagement = new Gtk.Action("AssetManagement", Mono.Unix.Catalog.GetString("Asset management"), null, null);
|
|
||||||
this.AssetManagement.ShortLabel = Mono.Unix.Catalog.GetString("Asset management");
|
|
||||||
w2.Add(this.AssetManagement, null);
|
|
||||||
this.ConnectToAssetServer = new Gtk.Action("ConnectToAssetServer", Mono.Unix.Catalog.GetString("Connect to asset server"), null, null);
|
|
||||||
this.ConnectToAssetServer.ShortLabel = Mono.Unix.Catalog.GetString("Connect to asset server");
|
|
||||||
w2.Add(this.ConnectToAssetServer, null);
|
|
||||||
this.ConnectToDefaultAssetServerForGrid = new Gtk.Action("ConnectToDefaultAssetServerForGrid", Mono.Unix.Catalog.GetString("Connect to default asset server for grid"), null, null);
|
|
||||||
this.ConnectToDefaultAssetServerForGrid.ShortLabel = Mono.Unix.Catalog.GetString("Connect to default asset server for grid");
|
|
||||||
w2.Add(this.ConnectToDefaultAssetServerForGrid, null);
|
|
||||||
this.DefaultForLocalGrid = new Gtk.Action("DefaultForLocalGrid", Mono.Unix.Catalog.GetString("Default for local grid"), null, null);
|
|
||||||
this.DefaultForLocalGrid.ShortLabel = Mono.Unix.Catalog.GetString("Default for local grid");
|
|
||||||
w2.Add(this.DefaultForLocalGrid, null);
|
|
||||||
this.DefaultForRemoteGrid = new Gtk.Action("DefaultForRemoteGrid", Mono.Unix.Catalog.GetString("Default for remote grid..."), null, null);
|
|
||||||
this.DefaultForRemoteGrid.ShortLabel = Mono.Unix.Catalog.GetString("Default for remote grid...");
|
|
||||||
w2.Add(this.DefaultForRemoteGrid, null);
|
|
||||||
this.CustomAssetServer = new Gtk.Action("CustomAssetServer", Mono.Unix.Catalog.GetString("Custom asset server..."), null, null);
|
|
||||||
this.CustomAssetServer.ShortLabel = Mono.Unix.Catalog.GetString("Custom asset server...");
|
|
||||||
w2.Add(this.CustomAssetServer, null);
|
|
||||||
w1.InsertActionGroup(w2, 0);
|
|
||||||
this.AddAccelGroup(w1.AccelGroup);
|
|
||||||
this.WidthRequest = 600;
|
|
||||||
this.HeightRequest = 800;
|
|
||||||
this.Name = "MainWindow";
|
|
||||||
this.Title = Mono.Unix.Catalog.GetString("Open Grid Services Manager");
|
|
||||||
// Container child MainWindow.Gtk.Container+ContainerChild
|
|
||||||
this.vbox1 = new Gtk.VBox();
|
|
||||||
this.vbox1.Name = "vbox1";
|
|
||||||
// Container child vbox1.Gtk.Box+BoxChild
|
|
||||||
w1.AddUiFromString("<ui><menubar name='menubar2'><menu action='Grid'><menuitem action='ConnectToGridserver'/><menuitem action='DisconnectFromGridServer'/><separator/><menuitem action='RestartWholeGrid'/><menuitem action='RestartGridserverOnly'/><separator/><menuitem action='ShutdownWholeGrid'/><menuitem action='ShutdownGridserverOnly'/><separator/><menuitem action='ExitGridManager'/></menu><menu action='User'><menu action='ConnectToUserserver'><menuitem action='DefaultLocalGridUserserver'/><menuitem action='CustomUserserver'/><menuitem action='RemoteGridDefaultUserserver'/></menu><separator/><menuitem action='AccountManagment'/><menuitem action='GlobalNotice'/><separator/><menuitem action='DisableAllLogins'/><menuitem action='DisableNonGodUsersOnly'/><separator/><menuitem action='ShutdownUserServer'/></menu><menu action='Asset'><menuitem action='UploadAsset'/><menuitem action='AssetManagement'/><menu action='ConnectToAssetServer'><menuitem action='DefaultForLocalGrid'/><menuitem action='DefaultForRemoteGrid'/><menuitem action='CustomAssetServer'/></menu></menu><menu action='Region'/><menu action='Services'/></menubar></ui>");
|
|
||||||
this.menubar2 = ((Gtk.MenuBar)(w1.GetWidget("/menubar2")));
|
|
||||||
this.menubar2.HeightRequest = 25;
|
|
||||||
this.menubar2.Name = "menubar2";
|
|
||||||
this.vbox1.Add(this.menubar2);
|
|
||||||
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox1[this.menubar2]));
|
|
||||||
w3.Position = 0;
|
|
||||||
w3.Expand = false;
|
|
||||||
w3.Fill = false;
|
|
||||||
// Container child vbox1.Gtk.Box+BoxChild
|
|
||||||
this.hbox1 = new Gtk.HBox();
|
|
||||||
this.hbox1.Name = "hbox1";
|
|
||||||
// Container child hbox1.Gtk.Box+BoxChild
|
|
||||||
this.scrolledwindow1 = new Gtk.ScrolledWindow();
|
|
||||||
this.scrolledwindow1.CanFocus = true;
|
|
||||||
this.scrolledwindow1.Name = "scrolledwindow1";
|
|
||||||
this.scrolledwindow1.VscrollbarPolicy = ((Gtk.PolicyType)(1));
|
|
||||||
this.scrolledwindow1.HscrollbarPolicy = ((Gtk.PolicyType)(1));
|
|
||||||
// Container child scrolledwindow1.Gtk.Container+ContainerChild
|
|
||||||
Gtk.Viewport w4 = new Gtk.Viewport();
|
|
||||||
w4.Name = "GtkViewport";
|
|
||||||
w4.ShadowType = ((Gtk.ShadowType)(0));
|
|
||||||
// Container child GtkViewport.Gtk.Container+ContainerChild
|
|
||||||
this.table1 = new Gtk.Table(((uint)(3)), ((uint)(3)), false);
|
|
||||||
this.table1.Name = "table1";
|
|
||||||
// Container child table1.Gtk.Table+TableChild
|
|
||||||
this.image1 = new Gtk.Image();
|
|
||||||
this.image1.Name = "image1";
|
|
||||||
this.table1.Add(this.image1);
|
|
||||||
Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.image1]));
|
|
||||||
w5.XOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
w5.YOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
// Container child table1.Gtk.Table+TableChild
|
|
||||||
this.image2 = new Gtk.Image();
|
|
||||||
this.image2.Name = "image2";
|
|
||||||
this.table1.Add(this.image2);
|
|
||||||
Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.image2]));
|
|
||||||
w6.LeftAttach = ((uint)(1));
|
|
||||||
w6.RightAttach = ((uint)(2));
|
|
||||||
w6.XOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
w6.YOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
// Container child table1.Gtk.Table+TableChild
|
|
||||||
this.image3 = new Gtk.Image();
|
|
||||||
this.image3.Name = "image3";
|
|
||||||
this.table1.Add(this.image3);
|
|
||||||
Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.image3]));
|
|
||||||
w7.LeftAttach = ((uint)(2));
|
|
||||||
w7.RightAttach = ((uint)(3));
|
|
||||||
w7.XOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
w7.YOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
// Container child table1.Gtk.Table+TableChild
|
|
||||||
this.image4 = new Gtk.Image();
|
|
||||||
this.image4.Name = "image4";
|
|
||||||
this.table1.Add(this.image4);
|
|
||||||
Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.image4]));
|
|
||||||
w8.TopAttach = ((uint)(1));
|
|
||||||
w8.BottomAttach = ((uint)(2));
|
|
||||||
w8.XOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
w8.YOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
// Container child table1.Gtk.Table+TableChild
|
|
||||||
this.image5 = new Gtk.Image();
|
|
||||||
this.image5.Name = "image5";
|
|
||||||
this.table1.Add(this.image5);
|
|
||||||
Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.image5]));
|
|
||||||
w9.TopAttach = ((uint)(1));
|
|
||||||
w9.BottomAttach = ((uint)(2));
|
|
||||||
w9.LeftAttach = ((uint)(1));
|
|
||||||
w9.RightAttach = ((uint)(2));
|
|
||||||
w9.XOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
w9.YOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
// Container child table1.Gtk.Table+TableChild
|
|
||||||
this.image6 = new Gtk.Image();
|
|
||||||
this.image6.Name = "image6";
|
|
||||||
this.table1.Add(this.image6);
|
|
||||||
Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.image6]));
|
|
||||||
w10.TopAttach = ((uint)(1));
|
|
||||||
w10.BottomAttach = ((uint)(2));
|
|
||||||
w10.LeftAttach = ((uint)(2));
|
|
||||||
w10.RightAttach = ((uint)(3));
|
|
||||||
w10.XOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
w10.YOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
// Container child table1.Gtk.Table+TableChild
|
|
||||||
this.image7 = new Gtk.Image();
|
|
||||||
this.image7.Name = "image7";
|
|
||||||
this.table1.Add(this.image7);
|
|
||||||
Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.image7]));
|
|
||||||
w11.TopAttach = ((uint)(2));
|
|
||||||
w11.BottomAttach = ((uint)(3));
|
|
||||||
w11.XOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
w11.YOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
// Container child table1.Gtk.Table+TableChild
|
|
||||||
this.image8 = new Gtk.Image();
|
|
||||||
this.image8.Name = "image8";
|
|
||||||
this.table1.Add(this.image8);
|
|
||||||
Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.image8]));
|
|
||||||
w12.TopAttach = ((uint)(2));
|
|
||||||
w12.BottomAttach = ((uint)(3));
|
|
||||||
w12.LeftAttach = ((uint)(1));
|
|
||||||
w12.RightAttach = ((uint)(2));
|
|
||||||
w12.XOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
w12.YOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
// Container child table1.Gtk.Table+TableChild
|
|
||||||
this.image9 = new Gtk.Image();
|
|
||||||
this.image9.Name = "image9";
|
|
||||||
this.table1.Add(this.image9);
|
|
||||||
Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table1[this.image9]));
|
|
||||||
w13.TopAttach = ((uint)(2));
|
|
||||||
w13.BottomAttach = ((uint)(3));
|
|
||||||
w13.LeftAttach = ((uint)(2));
|
|
||||||
w13.RightAttach = ((uint)(3));
|
|
||||||
w13.XOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
w13.YOptions = ((Gtk.AttachOptions)(4));
|
|
||||||
w4.Add(this.table1);
|
|
||||||
this.scrolledwindow1.Add(w4);
|
|
||||||
this.hbox1.Add(this.scrolledwindow1);
|
|
||||||
Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.hbox1[this.scrolledwindow1]));
|
|
||||||
w16.Position = 1;
|
|
||||||
// Container child hbox1.Gtk.Box+BoxChild
|
|
||||||
this.treeview1 = new Gtk.TreeView();
|
|
||||||
this.treeview1.CanFocus = true;
|
|
||||||
this.treeview1.Name = "treeview1";
|
|
||||||
this.hbox1.Add(this.treeview1);
|
|
||||||
Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.hbox1[this.treeview1]));
|
|
||||||
w17.Position = 2;
|
|
||||||
this.vbox1.Add(this.hbox1);
|
|
||||||
Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox1[this.hbox1]));
|
|
||||||
w18.Position = 1;
|
|
||||||
// Container child vbox1.Gtk.Box+BoxChild
|
|
||||||
this.statusbar1 = new Gtk.Statusbar();
|
|
||||||
this.statusbar1.Name = "statusbar1";
|
|
||||||
this.statusbar1.Spacing = 5;
|
|
||||||
this.vbox1.Add(this.statusbar1);
|
|
||||||
Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.vbox1[this.statusbar1]));
|
|
||||||
w19.PackType = ((Gtk.PackType)(1));
|
|
||||||
w19.Position = 2;
|
|
||||||
w19.Expand = false;
|
|
||||||
w19.Fill = false;
|
|
||||||
this.Add(this.vbox1);
|
|
||||||
if ((this.Child != null)) {
|
|
||||||
this.Child.ShowAll();
|
|
||||||
}
|
|
||||||
this.DefaultWidth = 668;
|
|
||||||
this.DefaultHeight = 800;
|
|
||||||
this.Show();
|
|
||||||
this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
|
|
||||||
this.ConnectToGridserver.Activated += new System.EventHandler(this.ConnectToGridServerMenu);
|
|
||||||
this.ExitGridManager.Activated += new System.EventHandler(this.QuitMenu);
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,35 +0,0 @@
|
||||||
// ------------------------------------------------------------------------------
|
|
||||||
// <autogenerated>
|
|
||||||
// This code was generated by a tool.
|
|
||||||
// Mono Runtime Version: 2.0.50727.42
|
|
||||||
//
|
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
|
||||||
// the code is regenerated.
|
|
||||||
// </autogenerated>
|
|
||||||
// ------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
namespace Stetic {
|
|
||||||
|
|
||||||
|
|
||||||
internal class Gui {
|
|
||||||
|
|
||||||
private static bool initialized;
|
|
||||||
|
|
||||||
internal static void Initialize() {
|
|
||||||
if ((Stetic.Gui.initialized == false)) {
|
|
||||||
Stetic.Gui.initialized = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
internal class ActionGroups {
|
|
||||||
|
|
||||||
public static Gtk.ActionGroup GetActionGroup(System.Type type) {
|
|
||||||
return Stetic.ActionGroups.GetActionGroup(type.FullName);
|
|
||||||
}
|
|
||||||
|
|
||||||
public static Gtk.ActionGroup GetActionGroup(string name) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,567 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<stetic-interface>
|
|
||||||
<widget class="Gtk.Window" id="MainWindow" design-size="668 800">
|
|
||||||
<action-group name="Default">
|
|
||||||
<action id="Grid">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Accelerator"><Alt><Mod2>g</property>
|
|
||||||
<property name="HideIfEmpty">False</property>
|
|
||||||
<property name="Label" translatable="yes">Grid</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Grid</property>
|
|
||||||
</action>
|
|
||||||
<action id="User">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="HideIfEmpty">False</property>
|
|
||||||
<property name="Label" translatable="yes">User</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">User</property>
|
|
||||||
</action>
|
|
||||||
<action id="Asset">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="HideIfEmpty">False</property>
|
|
||||||
<property name="Label" translatable="yes">Asset</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Asset</property>
|
|
||||||
</action>
|
|
||||||
<action id="Region">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Region</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Region</property>
|
|
||||||
</action>
|
|
||||||
<action id="Services">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Services</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Services</property>
|
|
||||||
</action>
|
|
||||||
<action id="ConnectToGridserver">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="HideIfEmpty">False</property>
|
|
||||||
<property name="Label" translatable="yes">Connect to gridserver...</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Connect to gridserver</property>
|
|
||||||
<property name="StockId">gtk-connect</property>
|
|
||||||
<signal name="Activated" handler="ConnectToGridServerMenu" />
|
|
||||||
</action>
|
|
||||||
<action id="RestartWholeGrid">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Restart whole grid</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Restart whole grid</property>
|
|
||||||
<property name="StockId">gtk-refresh</property>
|
|
||||||
</action>
|
|
||||||
<action id="ShutdownWholeGrid">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Shutdown whole grid</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Shutdown whole grid</property>
|
|
||||||
<property name="StockId">gtk-stop</property>
|
|
||||||
</action>
|
|
||||||
<action id="ExitGridManager">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Exit grid manager</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Exit grid manager</property>
|
|
||||||
<property name="StockId">gtk-close</property>
|
|
||||||
<signal name="Activated" handler="QuitMenu" after="yes" />
|
|
||||||
</action>
|
|
||||||
<action id="ConnectToUserserver">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Connect to userserver</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Connect to userserver</property>
|
|
||||||
<property name="StockId">gtk-connect</property>
|
|
||||||
</action>
|
|
||||||
<action id="AccountManagment">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Account managment</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Account managment</property>
|
|
||||||
<property name="StockId">gtk-properties</property>
|
|
||||||
</action>
|
|
||||||
<action id="GlobalNotice">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Global notice</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Global notice</property>
|
|
||||||
<property name="StockId">gtk-network</property>
|
|
||||||
</action>
|
|
||||||
<action id="DisableAllLogins">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Disable all logins</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Disable all logins</property>
|
|
||||||
<property name="StockId">gtk-no</property>
|
|
||||||
</action>
|
|
||||||
<action id="DisableNonGodUsersOnly">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Disable non-god users only</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Disable non-god users only</property>
|
|
||||||
<property name="StockId">gtk-no</property>
|
|
||||||
</action>
|
|
||||||
<action id="ShutdownUserServer">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Shutdown user server</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Shutdown user server</property>
|
|
||||||
<property name="StockId">gtk-stop</property>
|
|
||||||
</action>
|
|
||||||
<action id="ShutdownGridserverOnly">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Shutdown gridserver only</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Shutdown gridserver only</property>
|
|
||||||
<property name="StockId">gtk-stop</property>
|
|
||||||
</action>
|
|
||||||
<action id="RestartGridserverOnly">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Restart gridserver only</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Restart gridserver only</property>
|
|
||||||
<property name="StockId">gtk-refresh</property>
|
|
||||||
</action>
|
|
||||||
<action id="DefaultLocalGridUserserver">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Default local grid userserver</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Default local grid userserver</property>
|
|
||||||
</action>
|
|
||||||
<action id="CustomUserserver">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Custom userserver...</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Custom userserver</property>
|
|
||||||
</action>
|
|
||||||
<action id="RemoteGridDefaultUserserver">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Remote grid default userserver...</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Remote grid default userserver</property>
|
|
||||||
</action>
|
|
||||||
<action id="DisconnectFromGridServer">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Disconnect from grid server</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Disconnect from grid server</property>
|
|
||||||
<property name="StockId">gtk-disconnect</property>
|
|
||||||
<property name="Visible">False</property>
|
|
||||||
</action>
|
|
||||||
<action id="UploadAsset">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Upload asset</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Upload asset</property>
|
|
||||||
</action>
|
|
||||||
<action id="AssetManagement">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Asset management</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Asset management</property>
|
|
||||||
</action>
|
|
||||||
<action id="ConnectToAssetServer">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Connect to asset server</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Connect to asset server</property>
|
|
||||||
</action>
|
|
||||||
<action id="ConnectToDefaultAssetServerForGrid">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Connect to default asset server for grid</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Connect to default asset server for grid</property>
|
|
||||||
</action>
|
|
||||||
<action id="DefaultForLocalGrid">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Default for local grid</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Default for local grid</property>
|
|
||||||
</action>
|
|
||||||
<action id="DefaultForRemoteGrid">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Default for remote grid...</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Default for remote grid...</property>
|
|
||||||
</action>
|
|
||||||
<action id="CustomAssetServer">
|
|
||||||
<property name="Type">Action</property>
|
|
||||||
<property name="Label" translatable="yes">Custom asset server...</property>
|
|
||||||
<property name="ShortLabel" translatable="yes">Custom asset server...</property>
|
|
||||||
</action>
|
|
||||||
</action-group>
|
|
||||||
<property name="MemberName" />
|
|
||||||
<property name="WidthRequest">600</property>
|
|
||||||
<property name="HeightRequest">800</property>
|
|
||||||
<property name="Title" translatable="yes">Open Grid Services Manager</property>
|
|
||||||
<signal name="DeleteEvent" handler="OnDeleteEvent" />
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.VBox" id="vbox1">
|
|
||||||
<property name="MemberName" />
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.MenuBar" id="menubar2">
|
|
||||||
<property name="MemberName" />
|
|
||||||
<property name="HeightRequest">25</property>
|
|
||||||
<node name="menubar2" type="Menubar">
|
|
||||||
<node type="Menu" action="Grid">
|
|
||||||
<node type="Menuitem" action="ConnectToGridserver" />
|
|
||||||
<node type="Menuitem" action="DisconnectFromGridServer" />
|
|
||||||
<node type="Separator" />
|
|
||||||
<node type="Menuitem" action="RestartWholeGrid" />
|
|
||||||
<node type="Menuitem" action="RestartGridserverOnly" />
|
|
||||||
<node type="Separator" />
|
|
||||||
<node type="Menuitem" action="ShutdownWholeGrid" />
|
|
||||||
<node type="Menuitem" action="ShutdownGridserverOnly" />
|
|
||||||
<node type="Separator" />
|
|
||||||
<node type="Menuitem" action="ExitGridManager" />
|
|
||||||
</node>
|
|
||||||
<node type="Menu" action="User">
|
|
||||||
<node type="Menu" action="ConnectToUserserver">
|
|
||||||
<node type="Menuitem" action="DefaultLocalGridUserserver" />
|
|
||||||
<node type="Menuitem" action="CustomUserserver" />
|
|
||||||
<node type="Menuitem" action="RemoteGridDefaultUserserver" />
|
|
||||||
</node>
|
|
||||||
<node type="Separator" />
|
|
||||||
<node type="Menuitem" action="AccountManagment" />
|
|
||||||
<node type="Menuitem" action="GlobalNotice" />
|
|
||||||
<node type="Separator" />
|
|
||||||
<node type="Menuitem" action="DisableAllLogins" />
|
|
||||||
<node type="Menuitem" action="DisableNonGodUsersOnly" />
|
|
||||||
<node type="Separator" />
|
|
||||||
<node type="Menuitem" action="ShutdownUserServer" />
|
|
||||||
</node>
|
|
||||||
<node type="Menu" action="Asset">
|
|
||||||
<node type="Menuitem" action="UploadAsset" />
|
|
||||||
<node type="Menuitem" action="AssetManagement" />
|
|
||||||
<node type="Menu" action="ConnectToAssetServer">
|
|
||||||
<node type="Menuitem" action="DefaultForLocalGrid" />
|
|
||||||
<node type="Menuitem" action="DefaultForRemoteGrid" />
|
|
||||||
<node type="Menuitem" action="CustomAssetServer" />
|
|
||||||
</node>
|
|
||||||
</node>
|
|
||||||
<node type="Menu" action="Region" />
|
|
||||||
<node type="Menu" action="Services" />
|
|
||||||
</node>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="Position">0</property>
|
|
||||||
<property name="AutoSize">False</property>
|
|
||||||
<property name="Expand">False</property>
|
|
||||||
<property name="Fill">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.HBox" id="hbox1">
|
|
||||||
<property name="MemberName" />
|
|
||||||
<child>
|
|
||||||
<placeholder />
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.ScrolledWindow" id="scrolledwindow1">
|
|
||||||
<property name="MemberName" />
|
|
||||||
<property name="CanFocus">True</property>
|
|
||||||
<property name="VscrollbarPolicy">Automatic</property>
|
|
||||||
<property name="HscrollbarPolicy">Automatic</property>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Viewport" id="GtkViewport">
|
|
||||||
<property name="MemberName" />
|
|
||||||
<property name="ShadowType">None</property>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Table" id="table1">
|
|
||||||
<property name="MemberName" />
|
|
||||||
<property name="NRows">3</property>
|
|
||||||
<property name="NColumns">3</property>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Image" id="image1">
|
|
||||||
<property name="MemberName" />
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="AutoSize">True</property>
|
|
||||||
<property name="XOptions">Fill</property>
|
|
||||||
<property name="YOptions">Fill</property>
|
|
||||||
<property name="XExpand">False</property>
|
|
||||||
<property name="XFill">True</property>
|
|
||||||
<property name="XShrink">False</property>
|
|
||||||
<property name="YExpand">False</property>
|
|
||||||
<property name="YFill">True</property>
|
|
||||||
<property name="YShrink">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Image" id="image2">
|
|
||||||
<property name="MemberName" />
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="LeftAttach">1</property>
|
|
||||||
<property name="RightAttach">2</property>
|
|
||||||
<property name="AutoSize">True</property>
|
|
||||||
<property name="XOptions">Fill</property>
|
|
||||||
<property name="YOptions">Fill</property>
|
|
||||||
<property name="XExpand">False</property>
|
|
||||||
<property name="XFill">True</property>
|
|
||||||
<property name="XShrink">False</property>
|
|
||||||
<property name="YExpand">False</property>
|
|
||||||
<property name="YFill">True</property>
|
|
||||||
<property name="YShrink">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Image" id="image3">
|
|
||||||
<property name="MemberName" />
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="LeftAttach">2</property>
|
|
||||||
<property name="RightAttach">3</property>
|
|
||||||
<property name="AutoSize">True</property>
|
|
||||||
<property name="XOptions">Fill</property>
|
|
||||||
<property name="YOptions">Fill</property>
|
|
||||||
<property name="XExpand">False</property>
|
|
||||||
<property name="XFill">True</property>
|
|
||||||
<property name="XShrink">False</property>
|
|
||||||
<property name="YExpand">False</property>
|
|
||||||
<property name="YFill">True</property>
|
|
||||||
<property name="YShrink">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Image" id="image4">
|
|
||||||
<property name="MemberName" />
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="TopAttach">1</property>
|
|
||||||
<property name="BottomAttach">2</property>
|
|
||||||
<property name="AutoSize">True</property>
|
|
||||||
<property name="XOptions">Fill</property>
|
|
||||||
<property name="YOptions">Fill</property>
|
|
||||||
<property name="XExpand">False</property>
|
|
||||||
<property name="XFill">True</property>
|
|
||||||
<property name="XShrink">False</property>
|
|
||||||
<property name="YExpand">False</property>
|
|
||||||
<property name="YFill">True</property>
|
|
||||||
<property name="YShrink">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Image" id="image5">
|
|
||||||
<property name="MemberName" />
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="TopAttach">1</property>
|
|
||||||
<property name="BottomAttach">2</property>
|
|
||||||
<property name="LeftAttach">1</property>
|
|
||||||
<property name="RightAttach">2</property>
|
|
||||||
<property name="AutoSize">True</property>
|
|
||||||
<property name="XOptions">Fill</property>
|
|
||||||
<property name="YOptions">Fill</property>
|
|
||||||
<property name="XExpand">False</property>
|
|
||||||
<property name="XFill">True</property>
|
|
||||||
<property name="XShrink">False</property>
|
|
||||||
<property name="YExpand">False</property>
|
|
||||||
<property name="YFill">True</property>
|
|
||||||
<property name="YShrink">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Image" id="image6">
|
|
||||||
<property name="MemberName" />
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="TopAttach">1</property>
|
|
||||||
<property name="BottomAttach">2</property>
|
|
||||||
<property name="LeftAttach">2</property>
|
|
||||||
<property name="RightAttach">3</property>
|
|
||||||
<property name="AutoSize">True</property>
|
|
||||||
<property name="XOptions">Fill</property>
|
|
||||||
<property name="YOptions">Fill</property>
|
|
||||||
<property name="XExpand">False</property>
|
|
||||||
<property name="XFill">True</property>
|
|
||||||
<property name="XShrink">False</property>
|
|
||||||
<property name="YExpand">False</property>
|
|
||||||
<property name="YFill">True</property>
|
|
||||||
<property name="YShrink">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Image" id="image7">
|
|
||||||
<property name="MemberName" />
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="TopAttach">2</property>
|
|
||||||
<property name="BottomAttach">3</property>
|
|
||||||
<property name="AutoSize">True</property>
|
|
||||||
<property name="XOptions">Fill</property>
|
|
||||||
<property name="YOptions">Fill</property>
|
|
||||||
<property name="XExpand">False</property>
|
|
||||||
<property name="XFill">True</property>
|
|
||||||
<property name="XShrink">False</property>
|
|
||||||
<property name="YExpand">False</property>
|
|
||||||
<property name="YFill">True</property>
|
|
||||||
<property name="YShrink">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Image" id="image8">
|
|
||||||
<property name="MemberName" />
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="TopAttach">2</property>
|
|
||||||
<property name="BottomAttach">3</property>
|
|
||||||
<property name="LeftAttach">1</property>
|
|
||||||
<property name="RightAttach">2</property>
|
|
||||||
<property name="AutoSize">True</property>
|
|
||||||
<property name="XOptions">Fill</property>
|
|
||||||
<property name="YOptions">Fill</property>
|
|
||||||
<property name="XExpand">False</property>
|
|
||||||
<property name="XFill">True</property>
|
|
||||||
<property name="XShrink">False</property>
|
|
||||||
<property name="YExpand">False</property>
|
|
||||||
<property name="YFill">True</property>
|
|
||||||
<property name="YShrink">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Image" id="image9">
|
|
||||||
<property name="MemberName" />
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="TopAttach">2</property>
|
|
||||||
<property name="BottomAttach">3</property>
|
|
||||||
<property name="LeftAttach">2</property>
|
|
||||||
<property name="RightAttach">3</property>
|
|
||||||
<property name="AutoSize">True</property>
|
|
||||||
<property name="XOptions">Fill</property>
|
|
||||||
<property name="YOptions">Fill</property>
|
|
||||||
<property name="XExpand">False</property>
|
|
||||||
<property name="XFill">True</property>
|
|
||||||
<property name="XShrink">False</property>
|
|
||||||
<property name="YExpand">False</property>
|
|
||||||
<property name="YFill">True</property>
|
|
||||||
<property name="YShrink">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="Position">1</property>
|
|
||||||
<property name="AutoSize">True</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.TreeView" id="treeview1">
|
|
||||||
<property name="MemberName" />
|
|
||||||
<property name="CanFocus">True</property>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="Position">2</property>
|
|
||||||
<property name="AutoSize">True</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="Position">1</property>
|
|
||||||
<property name="AutoSize">True</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Statusbar" id="statusbar1">
|
|
||||||
<property name="MemberName">statusBar1</property>
|
|
||||||
<property name="Spacing">5</property>
|
|
||||||
<child>
|
|
||||||
<placeholder />
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<placeholder />
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="PackType">End</property>
|
|
||||||
<property name="Position">2</property>
|
|
||||||
<property name="AutoSize">False</property>
|
|
||||||
<property name="Expand">False</property>
|
|
||||||
<property name="Fill">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<widget class="Gtk.Dialog" id="ConnectToGridServerDialog" design-size="476 107">
|
|
||||||
<property name="MemberName" />
|
|
||||||
<property name="Events">ButtonPressMask</property>
|
|
||||||
<property name="Title" translatable="yes">Connect to Grid server</property>
|
|
||||||
<property name="Buttons">2</property>
|
|
||||||
<property name="HelpButton">False</property>
|
|
||||||
<child internal-child="VBox">
|
|
||||||
<widget class="Gtk.VBox" id="dialog_VBox">
|
|
||||||
<property name="MemberName" />
|
|
||||||
<property name="Events">ButtonPressMask</property>
|
|
||||||
<property name="BorderWidth">2</property>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.VBox" id="vbox2">
|
|
||||||
<property name="MemberName" />
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Label" id="label1">
|
|
||||||
<property name="MemberName" />
|
|
||||||
<property name="LabelProp" translatable="yes">Please type in the grid server IP/hostname and management interface port:</property>
|
|
||||||
<property name="Wrap">True</property>
|
|
||||||
<property name="Justify">Center</property>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="Position">0</property>
|
|
||||||
<property name="AutoSize">True</property>
|
|
||||||
<property name="Expand">False</property>
|
|
||||||
<property name="Fill">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Entry" id="entry1">
|
|
||||||
<property name="MemberName" />
|
|
||||||
<property name="CanFocus">True</property>
|
|
||||||
<property name="Text" translatable="yes">gridserver:8001</property>
|
|
||||||
<property name="IsEditable">True</property>
|
|
||||||
<property name="MaxLength">255</property>
|
|
||||||
<property name="InvisibleChar">•</property>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="Position">1</property>
|
|
||||||
<property name="AutoSize">True</property>
|
|
||||||
<property name="Expand">False</property>
|
|
||||||
<property name="Fill">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<placeholder />
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="Position">0</property>
|
|
||||||
<property name="AutoSize">True</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
<child internal-child="ActionArea">
|
|
||||||
<widget class="Gtk.HButtonBox" id="OpenGridServices.Manager.Gtk.ConnectToGridServerDialog_ActionArea">
|
|
||||||
<property name="MemberName" />
|
|
||||||
<property name="Events">ButtonPressMask</property>
|
|
||||||
<property name="Spacing">6</property>
|
|
||||||
<property name="BorderWidth">5</property>
|
|
||||||
<property name="Size">2</property>
|
|
||||||
<property name="LayoutStyle">End</property>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Button" id="button2">
|
|
||||||
<property name="MemberName" />
|
|
||||||
<property name="CanDefault">True</property>
|
|
||||||
<property name="CanFocus">True</property>
|
|
||||||
<property name="Type">TextAndIcon</property>
|
|
||||||
<property name="Icon">stock:gtk-apply Menu</property>
|
|
||||||
<property name="Label" translatable="yes">Connect</property>
|
|
||||||
<property name="UseUnderline">True</property>
|
|
||||||
<property name="IsDialogButton">True</property>
|
|
||||||
<property name="ResponseId">0</property>
|
|
||||||
<signal name="Activated" handler="ConnectBtn" />
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="Expand">False</property>
|
|
||||||
<property name="Fill">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
<child>
|
|
||||||
<widget class="Gtk.Button" id="button8">
|
|
||||||
<property name="MemberName" />
|
|
||||||
<property name="CanDefault">True</property>
|
|
||||||
<property name="CanFocus">True</property>
|
|
||||||
<property name="Type">TextAndIcon</property>
|
|
||||||
<property name="Icon">stock:gtk-cancel Menu</property>
|
|
||||||
<property name="Label" translatable="yes">Cancel</property>
|
|
||||||
<property name="UseUnderline">True</property>
|
|
||||||
<property name="IsDialogButton">True</property>
|
|
||||||
<property name="ResponseId">0</property>
|
|
||||||
<signal name="Activated" handler="CancelBtn" />
|
|
||||||
</widget>
|
|
||||||
<packing>
|
|
||||||
<property name="Position">1</property>
|
|
||||||
<property name="Expand">False</property>
|
|
||||||
<property name="Fill">False</property>
|
|
||||||
</packing>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</child>
|
|
||||||
</widget>
|
|
||||||
</stetic-interface>
|
|
Loading…
Reference in New Issue