~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.ConfirmProjectDeleteDialog.cs

  • Committer: Bazaar Package Importer
  • Author(s): Jo Shields
  • Date: 2010-07-05 13:00:05 UTC
  • mfrom: (1.2.8 upstream) (1.3.9 experimental)
  • Revision ID: james.westby@ubuntu.com-20100705130005-d6hp4k5gcn1xkj8c
Tags: 2.4+dfsg-1ubuntu1
* debian/patches/remove_support_for_moonlight.patch,
  debian/patches/dont_add_moonlight_to_core_addins.patch,
  debian/control:
  + Enable support for Moonlight
* debian/rules:
  + Ensure Moonlight addin isn't shipped in main MonoDevelop package by
    mistake

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// ------------------------------------------------------------------------------
2
 
//  <autogenerated>
3
 
//      This code was generated by a tool.
4
 
//      
5
 
// 
6
 
//      Changes to this file may cause incorrect behavior and will be lost if 
7
 
//      the code is regenerated.
8
 
//  </autogenerated>
9
 
// ------------------------------------------------------------------------------
10
 
 
11
 
namespace MonoDevelop.Ide.Gui.Dialogs {
12
 
    
13
 
    public partial class ConfirmProjectDeleteDialog {
14
 
        
15
 
        private Gtk.VBox vbox2;
16
 
        
17
 
        private Gtk.Label label1;
18
 
        
19
 
        private Gtk.RadioButton radioDeleteAll;
20
 
        
21
 
        private Gtk.Alignment alignment1;
22
 
        
23
 
        private Gtk.Label labelProjectDir;
24
 
        
25
 
        private Gtk.RadioButton radioDeleteSel;
26
 
        
27
 
        private Gtk.Alignment alignment2;
28
 
        
29
 
        private Gtk.ScrolledWindow GtkScrolledWindow;
30
 
        
31
 
        private Gtk.TreeView fileList;
32
 
        
33
 
        private Gtk.Button buttonCancel;
34
 
        
35
 
        private Gtk.Button buttonOk;
36
 
        
37
 
        protected virtual void Build() {
38
 
            Stetic.Gui.Initialize(this);
39
 
            // Widget MonoDevelop.Ide.Gui.Dialogs.ConfirmProjectDeleteDialog
40
 
            this.Name = "MonoDevelop.Ide.Gui.Dialogs.ConfirmProjectDeleteDialog";
41
 
            this.Title = Mono.Unix.Catalog.GetString("Delete Project");
42
 
            this.WindowPosition = ((Gtk.WindowPosition)(4));
43
 
            this.Modal = true;
44
 
            // Internal child MonoDevelop.Ide.Gui.Dialogs.ConfirmProjectDeleteDialog.VBox
45
 
            Gtk.VBox w1 = this.VBox;
46
 
            w1.Name = "dialog1_VBox";
47
 
            w1.BorderWidth = ((uint)(2));
48
 
            // Container child dialog1_VBox.Gtk.Box+BoxChild
49
 
            this.vbox2 = new Gtk.VBox();
50
 
            this.vbox2.Name = "vbox2";
51
 
            this.vbox2.Spacing = 6;
52
 
            this.vbox2.BorderWidth = ((uint)(6));
53
 
            // Container child vbox2.Gtk.Box+BoxChild
54
 
            this.label1 = new Gtk.Label();
55
 
            this.label1.Name = "label1";
56
 
            this.label1.Xalign = 0F;
57
 
            this.label1.LabelProp = Mono.Unix.Catalog.GetString("Please select which files and folders you want to delete:");
58
 
            this.vbox2.Add(this.label1);
59
 
            Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.label1]));
60
 
            w2.Position = 0;
61
 
            w2.Expand = false;
62
 
            w2.Fill = false;
63
 
            // Container child vbox2.Gtk.Box+BoxChild
64
 
            this.radioDeleteAll = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Delete the project file and the whole project directory:"));
65
 
            this.radioDeleteAll.CanFocus = true;
66
 
            this.radioDeleteAll.Name = "radioDeleteAll";
67
 
            this.radioDeleteAll.DrawIndicator = true;
68
 
            this.radioDeleteAll.UseUnderline = true;
69
 
            this.radioDeleteAll.Group = new GLib.SList(System.IntPtr.Zero);
70
 
            this.vbox2.Add(this.radioDeleteAll);
71
 
            Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.vbox2[this.radioDeleteAll]));
72
 
            w3.Position = 1;
73
 
            w3.Expand = false;
74
 
            w3.Fill = false;
75
 
            // Container child vbox2.Gtk.Box+BoxChild
76
 
            this.alignment1 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
77
 
            this.alignment1.Name = "alignment1";
78
 
            this.alignment1.LeftPadding = ((uint)(30));
79
 
            // Container child alignment1.Gtk.Container+ContainerChild
80
 
            this.labelProjectDir = new Gtk.Label();
81
 
            this.labelProjectDir.Name = "labelProjectDir";
82
 
            this.labelProjectDir.Xalign = 0F;
83
 
            this.labelProjectDir.LabelProp = "label2";
84
 
            this.alignment1.Add(this.labelProjectDir);
85
 
            this.vbox2.Add(this.alignment1);
86
 
            Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.alignment1]));
87
 
            w5.Position = 2;
88
 
            w5.Expand = false;
89
 
            w5.Fill = false;
90
 
            // Container child vbox2.Gtk.Box+BoxChild
91
 
            this.radioDeleteSel = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Delete the following files and folders:"));
92
 
            this.radioDeleteSel.CanFocus = true;
93
 
            this.radioDeleteSel.Name = "radioDeleteSel";
94
 
            this.radioDeleteSel.DrawIndicator = true;
95
 
            this.radioDeleteSel.UseUnderline = true;
96
 
            this.radioDeleteSel.Group = this.radioDeleteAll.Group;
97
 
            this.vbox2.Add(this.radioDeleteSel);
98
 
            Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.vbox2[this.radioDeleteSel]));
99
 
            w6.Position = 3;
100
 
            w6.Expand = false;
101
 
            w6.Fill = false;
102
 
            // Container child vbox2.Gtk.Box+BoxChild
103
 
            this.alignment2 = new Gtk.Alignment(0.5F, 0.5F, 1F, 1F);
104
 
            this.alignment2.Name = "alignment2";
105
 
            this.alignment2.LeftPadding = ((uint)(30));
106
 
            // Container child alignment2.Gtk.Container+ContainerChild
107
 
            this.GtkScrolledWindow = new Gtk.ScrolledWindow();
108
 
            this.GtkScrolledWindow.Name = "GtkScrolledWindow";
109
 
            this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
110
 
            // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
111
 
            this.fileList = new Gtk.TreeView();
112
 
            this.fileList.CanFocus = true;
113
 
            this.fileList.Name = "fileList";
114
 
            this.fileList.HeadersVisible = false;
115
 
            this.GtkScrolledWindow.Add(this.fileList);
116
 
            this.alignment2.Add(this.GtkScrolledWindow);
117
 
            this.vbox2.Add(this.alignment2);
118
 
            Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.alignment2]));
119
 
            w9.Position = 4;
120
 
            w1.Add(this.vbox2);
121
 
            Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
122
 
            w10.Position = 0;
123
 
            // Internal child MonoDevelop.Ide.Gui.Dialogs.ConfirmProjectDeleteDialog.ActionArea
124
 
            Gtk.HButtonBox w11 = this.ActionArea;
125
 
            w11.Name = "dialog1_ActionArea";
126
 
            w11.Spacing = 10;
127
 
            w11.BorderWidth = ((uint)(5));
128
 
            w11.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
129
 
            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
130
 
            this.buttonCancel = new Gtk.Button();
131
 
            this.buttonCancel.CanDefault = true;
132
 
            this.buttonCancel.CanFocus = true;
133
 
            this.buttonCancel.Name = "buttonCancel";
134
 
            this.buttonCancel.UseStock = true;
135
 
            this.buttonCancel.UseUnderline = true;
136
 
            this.buttonCancel.Label = "gtk-cancel";
137
 
            this.AddActionWidget(this.buttonCancel, -6);
138
 
            Gtk.ButtonBox.ButtonBoxChild w12 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonCancel]));
139
 
            w12.Expand = false;
140
 
            w12.Fill = false;
141
 
            // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
142
 
            this.buttonOk = new Gtk.Button();
143
 
            this.buttonOk.CanDefault = true;
144
 
            this.buttonOk.CanFocus = true;
145
 
            this.buttonOk.Name = "buttonOk";
146
 
            this.buttonOk.UseStock = true;
147
 
            this.buttonOk.UseUnderline = true;
148
 
            this.buttonOk.Label = "gtk-delete";
149
 
            this.AddActionWidget(this.buttonOk, -5);
150
 
            Gtk.ButtonBox.ButtonBoxChild w13 = ((Gtk.ButtonBox.ButtonBoxChild)(w11[this.buttonOk]));
151
 
            w13.Position = 1;
152
 
            w13.Expand = false;
153
 
            w13.Fill = false;
154
 
            if ((this.Child != null)) {
155
 
                this.Child.ShowAll();
156
 
            }
157
 
            this.DefaultWidth = 512;
158
 
            this.DefaultHeight = 387;
159
 
            this.Show();
160
 
            this.radioDeleteAll.Toggled += new System.EventHandler(this.OnRadioDeleteAllToggled);
161
 
        }
162
 
    }
163
 
}