~ubuntu-branches/ubuntu/oneiric/monodevelop/oneiric

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Gui.Dialogs.MultiTaskProgressDialog.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2011-06-27 17:03:13 UTC
  • mto: (1.8.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 54.
  • Revision ID: james.westby@ubuntu.com-20110627170313-6cvz3s19x6e9hqe9
ImportĀ upstreamĀ versionĀ 2.5.92+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
        internal partial class MultiTaskProgressDialog
6
6
        {
7
7
                private global::Gtk.Label title;
8
 
 
9
8
                private global::Gtk.ScrolledWindow progressScroll;
10
 
 
11
9
                private global::Gtk.TreeView progressTreeView;
12
 
 
13
10
                private global::Gtk.Label label1;
14
 
 
15
11
                private global::Gtk.ScrolledWindow detailsScroll;
16
 
 
17
12
                private global::Gtk.TextView detailsTextView;
18
 
 
19
13
                private global::Gtk.Button buttonCancel;
20
 
 
21
14
                private global::Gtk.Button buttonClose;
22
15
 
23
16
                protected virtual void Build ()
37
30
                        // Container child dialog1_VBox.Gtk.Box+BoxChild
38
31
                        this.title = new global::Gtk.Label ();
39
32
                        this.title.Name = "title";
40
 
                        this.title.Xalign = 0f;
 
33
                        this.title.Xalign = 0F;
41
34
                        this.title.UseMarkup = true;
42
35
                        w1.Add (this.title);
43
 
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1[this.title]));
 
36
                        global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.title]));
44
37
                        w2.Position = 0;
45
38
                        w2.Expand = false;
46
39
                        w2.Fill = false;
58
51
                        this.progressTreeView.Name = "progressTreeView";
59
52
                        this.progressScroll.Add (this.progressTreeView);
60
53
                        w1.Add (this.progressScroll);
61
 
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1[this.progressScroll]));
 
54
                        global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.progressScroll]));
62
55
                        w4.Position = 1;
63
56
                        // Container child dialog1_VBox.Gtk.Box+BoxChild
64
57
                        this.label1 = new global::Gtk.Label ();
65
58
                        this.label1.Name = "label1";
66
 
                        this.label1.Xalign = 0f;
 
59
                        this.label1.Xalign = 0F;
67
60
                        this.label1.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Details:");
68
61
                        w1.Add (this.label1);
69
 
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1[this.label1]));
 
62
                        global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1 [this.label1]));
70
63
                        w5.Position = 2;
71
64
                        w5.Expand = false;
72
65
                        w5.Fill = false;
87
80
                        this.detailsTextView.WrapMode = ((global::Gtk.WrapMode)(3));
88
81
                        this.detailsScroll.Add (this.detailsTextView);
89
82
                        w1.Add (this.detailsScroll);
90
 
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1[this.detailsScroll]));
 
83
                        global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.detailsScroll]));
91
84
                        w7.Position = 3;
92
85
                        // Internal child MonoDevelop.Ide.Gui.Dialogs.MultiTaskProgressDialog.ActionArea
93
86
                        global::Gtk.HButtonBox w8 = this.ActionArea;
104
97
                        this.buttonCancel.UseUnderline = true;
105
98
                        this.buttonCancel.Label = "gtk-cancel";
106
99
                        this.AddActionWidget (this.buttonCancel, -6);
107
 
                        global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8[this.buttonCancel]));
 
100
                        global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonCancel]));
108
101
                        w9.Expand = false;
109
102
                        w9.Fill = false;
110
103
                        // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
116
109
                        this.buttonClose.UseUnderline = true;
117
110
                        this.buttonClose.Label = "gtk-close";
118
111
                        this.AddActionWidget (this.buttonClose, -7);
119
 
                        global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8[this.buttonClose]));
 
112
                        global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonClose]));
120
113
                        w10.Position = 1;
121
114
                        w10.Expand = false;
122
115
                        w10.Fill = false;
126
119
                        this.DefaultWidth = 491;
127
120
                        this.DefaultHeight = 418;
128
121
                        this.title.Hide ();
129
 
                        this.Show ();
 
122
                        this.Hide ();
130
123
                        this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.DeleteActivated);
131
124
                        this.buttonCancel.Clicked += new global::System.EventHandler (this.OnCancel);
132
125
                        this.buttonClose.Clicked += new global::System.EventHandler (this.OnClose);