Populate listen dropdown with actual interface IP addresses. Remember choice between sessions

This commit is contained in:
Latif Khalifa
2013-12-18 19:18:00 +01:00
parent eda1b91dd2
commit b5d16ceda1
3 changed files with 26 additions and 8 deletions

View File

@@ -166,11 +166,8 @@ public partial class MainWindow
w5.Fill = false;
// Container child hboxMenu.Gtk.Box+BoxChild
this.cbListen = global::Gtk.ComboBoxEntry.NewText ();
this.cbListen.AppendText (global::Mono.Unix.Catalog.GetString ("127.0.0.1"));
this.cbListen.AppendText (global::Mono.Unix.Catalog.GetString ("0.0.0.0"));
this.cbListen.WidthRequest = 100;
this.cbListen.WidthRequest = 120;
this.cbListen.Name = "cbListen";
this.cbListen.Active = 0;
this.hboxMenu.Add (this.cbListen);
global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxMenu [this.cbListen]));
w6.Position = 3;