~ubuntu-branches/ubuntu/trusty/smuxi/trusty-proposed

« back to all changes in this revision

Viewing changes to src/Frontend-GNOME/gtk-gui/Smuxi.Frontend.Gnome.JoinWidget.cs

  • Committer: Package Import Robot
  • Author(s): Mirco Bauer
  • Date: 2013-05-25 22:11:31 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20130525221131-nd2mc0kzubuwyx20
Tags: 0.8.11-1
* [22d13d5] Imported Upstream version 0.8.11
* [6d2b95a] Refreshed patches
* [89eb66e] Added ServiceStack libraries to smuxi-engine package
* [848ab10] Enable Campfire engine
* [c6dbdc7] Always build db4o for predictable build result
* [13ec489] Exclude OS X specific libraries from dh_clideps

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
{
5
5
        public partial class JoinWidget
6
6
        {
 
7
                private global::Gtk.UIManager UIManager;
7
8
                private global::Gtk.HBox hbox1;
8
9
                private global::Gtk.Entry f_ChatEntry;
9
10
                private global::Gtk.Label label1;
14
15
                {
15
16
                        global::Stetic.Gui.Initialize (this);
16
17
                        // Widget Smuxi.Frontend.Gnome.JoinWidget
17
 
                        global::Stetic.BinContainer.Attach (this);
 
18
                        Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach (this);
 
19
                        this.UIManager = new global::Gtk.UIManager ();
 
20
                        global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup ("Default");
 
21
                        this.UIManager.InsertActionGroup (w2, 0);
18
22
                        this.Name = "Smuxi.Frontend.Gnome.JoinWidget";
19
23
                        // Container child Smuxi.Frontend.Gnome.JoinWidget.Gtk.Container+ContainerChild
20
24
                        this.hbox1 = new global::Gtk.HBox ();
27
31
                        this.f_ChatEntry.IsEditable = true;
28
32
                        this.f_ChatEntry.InvisibleChar = '•';
29
33
                        this.hbox1.Add (this.f_ChatEntry);
30
 
                        global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_ChatEntry]));
31
 
                        w1.Position = 0;
 
34
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_ChatEntry]));
 
35
                        w3.Position = 0;
32
36
                        // Container child hbox1.Gtk.Box+BoxChild
33
37
                        this.label1 = new global::Gtk.Label ();
34
38
                        this.label1.Name = "label1";
35
39
                        this.label1.LabelProp = "@";
36
40
                        this.hbox1.Add (this.label1);
37
 
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
38
 
                        w2.Position = 1;
39
 
                        w2.Expand = false;
40
 
                        w2.Fill = false;
 
41
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
 
42
                        w4.Position = 1;
 
43
                        w4.Expand = false;
 
44
                        w4.Fill = false;
41
45
                        // Container child hbox1.Gtk.Box+BoxChild
42
46
                        this.f_NetworkComboBox = global::Gtk.ComboBox.NewText ();
43
47
                        this.f_NetworkComboBox.Name = "f_NetworkComboBox";
44
48
                        this.hbox1.Add (this.f_NetworkComboBox);
45
 
                        global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_NetworkComboBox]));
46
 
                        w3.Position = 2;
47
 
                        w3.Expand = false;
48
 
                        w3.Fill = false;
 
49
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_NetworkComboBox]));
 
50
                        w5.Position = 2;
 
51
                        w5.Expand = false;
 
52
                        w5.Fill = false;
49
53
                        // Container child hbox1.Gtk.Box+BoxChild
50
54
                        this.f_JoinButton = new global::Gtk.Button ();
51
55
                        this.f_JoinButton.CanFocus = true;
52
56
                        this.f_JoinButton.Name = "f_JoinButton";
53
57
                        this.f_JoinButton.UseUnderline = true;
54
 
                        this.f_JoinButton.Label = global::Mono.Unix.Catalog.GetString ("Join Chat");
 
58
                        // Container child f_JoinButton.Gtk.Container+ContainerChild
 
59
                        global::Gtk.Alignment w6 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
 
60
                        // Container child GtkAlignment.Gtk.Container+ContainerChild
 
61
                        global::Gtk.HBox w7 = new global::Gtk.HBox ();
 
62
                        w7.Spacing = 2;
 
63
                        // Container child GtkHBox.Gtk.Container+ContainerChild
 
64
                        global::Gtk.Image w8 = new global::Gtk.Image ();
 
65
                        w8.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-go-forward", global::Gtk.IconSize.Menu);
 
66
                        w7.Add (w8);
 
67
                        // Container child GtkHBox.Gtk.Container+ContainerChild
 
68
                        global::Gtk.Label w10 = new global::Gtk.Label ();
 
69
                        w10.LabelProp = global::Mono.Unix.Catalog.GetString ("Join");
 
70
                        w10.UseUnderline = true;
 
71
                        w7.Add (w10);
 
72
                        w6.Add (w7);
 
73
                        this.f_JoinButton.Add (w6);
55
74
                        this.hbox1.Add (this.f_JoinButton);
56
 
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_JoinButton]));
57
 
                        w4.Position = 3;
58
 
                        w4.Expand = false;
59
 
                        w4.Fill = false;
 
75
                        global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_JoinButton]));
 
76
                        w14.Position = 3;
 
77
                        w14.Expand = false;
 
78
                        w14.Fill = false;
60
79
                        this.Add (this.hbox1);
61
80
                        if ((this.Child != null)) {
62
81
                                this.Child.ShowAll ();
63
82
                        }
64
 
                        this.Hide ();
 
83
                        w1.SetUiManager (UIManager);
 
84
                        this.Show ();
65
85
                }
66
86
        }
67
87
}