diff --git a/Programs/GridProxyGUI/MainWindow.cs b/Programs/GridProxyGUI/MainWindow.cs index 30ead5e3..0a747146 100755 --- a/Programs/GridProxyGUI/MainWindow.cs +++ b/Programs/GridProxyGUI/MainWindow.cs @@ -37,6 +37,16 @@ public partial class MainWindow : Gtk.Window tabsMain.Page = 1; mainSplit.Position = 600; txtSummary.ModifyFont(Pango.FontDescription.FromString("monospace bold 9")); + + txtRequest.ModifyFont(Pango.FontDescription.FromString("monospace 9")); + txtRequestRaw.ModifyFont(Pango.FontDescription.FromString("monospace 9")); + txtRequestNotation.ModifyFont(Pango.FontDescription.FromString("monospace 9")); + + txtResponse.ModifyFont(Pango.FontDescription.FromString("monospace 9")); + txtResponseRaw.ModifyFont(Pango.FontDescription.FromString("monospace 9")); + txtResponseNotation.ModifyFont(Pango.FontDescription.FromString("monospace 9")); + + sessionLogScroller.Add(messages = new MessageScroller()); messages.CursorChanged += messages_CursorChanged; StatsTimer = new Timer(1000.0); @@ -310,7 +320,7 @@ public partial class MainWindow : Gtk.Window { if (UDPFilterItems.Count > 0) return; - UDPFilterItems["Login Request"] = new FilterItem() { Enabled = false, Name = "Login Request", Type = ItemType.Login }; + UDPFilterItems["Login Request"] = new FilterItem() { Enabled = true, Name = "Login Request", Type = ItemType.Login }; UDPFilterItems["Login Response"] = new FilterItem() { Enabled = true, Name = "Login Response", Type = ItemType.Login }; foreach (string name in Enum.GetNames(typeof(PacketType))) { @@ -386,7 +396,13 @@ public partial class MainWindow : Gtk.Window var item = model.GetValue(iter, 0) as Session; if (item != null) { - OpenMetaverse.Logger.Log("Selected: " + item.Name, OpenMetaverse.Helpers.LogLevel.Info); + txtRequest.Buffer.Text = item.ToPrettyString(GridProxy.Direction.Outgoing); + txtRequestRaw.Buffer.Text = item.ToRawString(GridProxy.Direction.Outgoing); + txtRequestNotation.Buffer.Text = item.ToStringNotation(GridProxy.Direction.Outgoing); + + txtResponse.Buffer.Text = item.ToPrettyString(GridProxy.Direction.Incoming); + txtResponseRaw.Buffer.Text = item.ToRawString(GridProxy.Direction.Incoming); + txtResponseNotation.Buffer.Text = item.ToStringNotation(GridProxy.Direction.Incoming); } } } diff --git a/Programs/GridProxyGUI/gtk-gui/MainWindow.cs b/Programs/GridProxyGUI/gtk-gui/MainWindow.cs index 1f671c10..c5d3e039 100755 --- a/Programs/GridProxyGUI/gtk-gui/MainWindow.cs +++ b/Programs/GridProxyGUI/gtk-gui/MainWindow.cs @@ -89,7 +89,7 @@ public partial class MainWindow private global::Gtk.TextView txtResponseRaw; private global::Gtk.Label label11; private global::Gtk.ScrolledWindow GtkScrolledWindow5; - private global::Gtk.TextView txtResponseRaw1; + private global::Gtk.TextView txtResponseNotation; private global::Gtk.Label label12; private global::Gtk.Label label10; @@ -626,7 +626,7 @@ public partial class MainWindow this.tabsRequst1 = new global::Gtk.Notebook (); this.tabsRequst1.CanFocus = true; this.tabsRequst1.Name = "tabsRequst1"; - this.tabsRequst1.CurrentPage = 2; + this.tabsRequst1.CurrentPage = 0; // Container child tabsRequst1.Gtk.Notebook+NotebookChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow (); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; @@ -668,11 +668,11 @@ public partial class MainWindow this.GtkScrolledWindow5.Name = "GtkScrolledWindow5"; this.GtkScrolledWindow5.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow5.Gtk.Container+ContainerChild - this.txtResponseRaw1 = new global::Gtk.TextView (); - this.txtResponseRaw1.CanFocus = true; - this.txtResponseRaw1.Name = "txtResponseRaw1"; - this.txtResponseRaw1.Editable = false; - this.GtkScrolledWindow5.Add (this.txtResponseRaw1); + this.txtResponseNotation = new global::Gtk.TextView (); + this.txtResponseNotation.CanFocus = true; + this.txtResponseNotation.Name = "txtResponseNotation"; + this.txtResponseNotation.Editable = false; + this.GtkScrolledWindow5.Add (this.txtResponseNotation); this.tabsRequst1.Add (this.GtkScrolledWindow5); global::Gtk.Notebook.NotebookChild w59 = ((global::Gtk.Notebook.NotebookChild)(this.tabsRequst1 [this.GtkScrolledWindow5])); w59.Position = 2; diff --git a/Programs/GridProxyGUI/gtk-gui/gui.stetic b/Programs/GridProxyGUI/gtk-gui/gui.stetic index 138c0f6e..59d60a29 100644 --- a/Programs/GridProxyGUI/gtk-gui/gui.stetic +++ b/Programs/GridProxyGUI/gtk-gui/gui.stetic @@ -789,7 +789,7 @@ http://login.orgrid.org/ True - 2 + 0 @@ -846,7 +846,7 @@ http://login.orgrid.org/ In - + True True