Author: lluis
Date: 2008-01-25 06:22:02 -0500 (Fri, 25 Jan 2008)
New Revision: 93879
Removed:
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.Gui/EditDeployTargetDialog.cs
Modified:
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/ChangeLog
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/MonoDevelop.Deployment.Gui.DeployDialog.cs
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/MonoDevelop.Deployment.Gui.EditPackageDialog.cs
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/gui.stetic
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/objects.xml
Log:
* MonoDevelop.Deployment/gtk-gui/objects.xml,
MonoDevelop.Deployment/gtk-gui/MonoDevelop.Deployment.Gui.DeployDialog.cs,
MonoDevelop.Deployment/gtk-gui/MonoDevelop.Deployment.Gui.EditPackageDialog.cs,
MonoDevelop.Deployment/gtk-gui/gui.stetic,
MonoDevelop.Deployment/MonoDevelop.Deployment.Gui/EditDeployTargetDialog.cs:
Code cleanup.
Modified:
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/ChangeLog
===================================================================
---
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/ChangeLog
2008-01-25 11:20:26 UTC (rev 93878)
+++
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/ChangeLog
2008-01-25 11:22:02 UTC (rev 93879)
@@ -1,3 +1,10 @@
+2008-01-25 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * gtk-gui/objects.xml,
gtk-gui/MonoDevelop.Deployment.Gui.DeployDialog.cs,
+ gtk-gui/MonoDevelop.Deployment.Gui.EditPackageDialog.cs,
+ gtk-gui/gui.stetic,
+ MonoDevelop.Deployment.Gui/EditDeployTargetDialog.cs: Code cleanup.
+
2008-01-22 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* MonoDevelop.Deployment.addin.xml: Updated add-in category and
description.
Deleted:
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.Gui/EditDeployTargetDialog.cs
===================================================================
---
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.Gui/EditDeployTargetDialog.cs
2008-01-25 11:20:26 UTC (rev 93878)
+++
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/MonoDevelop.Deployment.Gui/EditDeployTargetDialog.cs
2008-01-25 11:22:02 UTC (rev 93879)
@@ -1,79 +0,0 @@
-//
-// EditDeployTargetDialog.cs
-//
-// Author:
-// Lluis Sanchez Gual
-//
-// Copyright (C) 2006 Novell, Inc (http://www.novell.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-using System;
-using Gtk;
-using MonoDevelop.Deployment;
-using MonoDevelop.Deployment.Gui;
-
-namespace MonoDevelop.Projects.Gui
-{
- public class EditDeployTargetDialog: IDisposable
- {
- [Glade.Widget] Gtk.Button okbutton;
- [Glade.Widget] Gtk.Entry entryName;
- [Glade.Widget] Gtk.Image iconHandler;
- [Glade.Widget] Gtk.Label labelHandler;
- [Glade.Widget] Gtk.VBox targetBox;
- [Glade.Widget ("EditDeployTargetDialog")] Gtk.Dialog dialog;
- PackageBuilder target;
-
- public EditDeployTargetDialog (PackageBuilder target,
CombineEntry entry)
- {
- Glade.XML glade = new Glade.XML (null, "Base.glade",
"EditDeployTargetDialog", null);
- glade.Autoconnect (this);
- this.target = target;
-
- labelHandler.Markup = "<b>" + target.Description +
"</b>";
- iconHandler.Pixbuf =
MonoDevelop.Core.Gui.Services.Resources.GetIcon (target.Icon,
Gtk.IconSize.Menu);
- entryName.Text = target.Name;
-
- targetBox.PackStart (new PackageBuilderEditor (target,
entry), true, true, 0);
-
- dialog.DefaultWidth = 500;
- dialog.DefaultHeight = 400;
- dialog.ShowAll ();
- dialog.Resize (500, 400);
- }
-
- protected void OnNameChanged (object s, EventArgs args)
- {
- target.Name = entryName.Text;
- okbutton.Sensitive = entryName.Text.Length > 0;
- }
-
- public void Dispose ()
- {
- dialog.Destroy ();
- }
-
- public int Run ()
- {
- return dialog.Run ();
- }
- }
-}
Modified:
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/MonoDevelop.Deployment.Gui.DeployDialog.cs
===================================================================
---
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/MonoDevelop.Deployment.Gui.DeployDialog.cs
2008-01-25 11:20:26 UTC (rev 93878)
+++
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/MonoDevelop.Deployment.Gui.DeployDialog.cs
2008-01-25 11:22:02 UTC (rev 93879)
@@ -209,8 +209,6 @@
Gtk.Box.BoxChild w8 =
((Gtk.Box.BoxChild)(this.vbox3[this.scrolledwindow2]));
w8.Position = 3;
this.notebook.Add(this.vbox3);
- Gtk.Notebook.NotebookChild w9 =
((Gtk.Notebook.NotebookChild)(this.notebook[this.vbox3]));
- w9.TabExpand = false;
// Notebook tab
this.label2 = new Gtk.Label();
this.label2.Name = "label2";
@@ -260,7 +258,6 @@
this.notebook.Add(this.pageSelectProject);
Gtk.Notebook.NotebookChild w14 =
((Gtk.Notebook.NotebookChild)(this.notebook[this.pageSelectProject]));
w14.Position = 1;
- w14.TabExpand = false;
// Notebook tab
this.label3 = new Gtk.Label();
this.label3.Name = "label3";
@@ -328,7 +325,6 @@
this.notebook.Add(this.vbox4);
Gtk.Notebook.NotebookChild w21 =
((Gtk.Notebook.NotebookChild)(this.notebook[this.vbox4]));
w21.Position = 2;
- w21.TabExpand = false;
// Notebook tab
this.label6 = new Gtk.Label();
this.label6.Name = "label6";
@@ -426,6 +422,7 @@
this.radioCreateProject = new
Gtk.RadioButton(Mono.Unix.Catalog.GetString("Save in a new Packaging Project"));
this.radioCreateProject.CanFocus = true;
this.radioCreateProject.Name = "radioCreateProject";
+ this.radioCreateProject.Active = true;
this.radioCreateProject.DrawIndicator = true;
this.radioCreateProject.UseUnderline = true;
this.radioCreateProject.Group = new GLib.SList(System.IntPtr.Zero);
@@ -567,7 +564,6 @@
this.notebook.Add(this.pageSave);
Gtk.Notebook.NotebookChild w45 =
((Gtk.Notebook.NotebookChild)(this.notebook[this.pageSave]));
w45.Position = 3;
- w45.TabExpand = false;
// Notebook tab
this.label8 = new Gtk.Label();
this.label8.Name = "label8";
Modified:
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/MonoDevelop.Deployment.Gui.EditPackageDialog.cs
===================================================================
---
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/MonoDevelop.Deployment.Gui.EditPackageDialog.cs
2008-01-25 11:20:26 UTC (rev 93878)
+++
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/MonoDevelop.Deployment.Gui.EditPackageDialog.cs
2008-01-25 11:22:02 UTC (rev 93879)
@@ -111,8 +111,6 @@
w5.Expand = false;
w5.Fill = false;
this.notebook.Add(this.targetBox);
- Gtk.Notebook.NotebookChild w6 =
((Gtk.Notebook.NotebookChild)(this.notebook[this.targetBox]));
- w6.TabExpand = false;
// Notebook tab
this.label2 = new Gtk.Label();
this.label2.Name = "label2";
@@ -144,7 +142,6 @@
this.notebook.Add(this.vbox4);
Gtk.Notebook.NotebookChild w9 =
((Gtk.Notebook.NotebookChild)(this.notebook[this.vbox4]));
w9.Position = 1;
- w9.TabExpand = false;
// Notebook tab
this.label1 = new Gtk.Label();
this.label1.Name = "label1";
@@ -166,7 +163,6 @@
this.notebook.Add(this.pageFiles);
Gtk.Notebook.NotebookChild w11 =
((Gtk.Notebook.NotebookChild)(this.notebook[this.pageFiles]));
w11.Position = 2;
- w11.TabExpand = false;
// Notebook tab
this.label5 = new Gtk.Label();
this.label5.Name = "label5";
Modified:
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/gui.stetic
===================================================================
---
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/gui.stetic
2008-01-25 11:20:26 UTC (rev 93878)
+++
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/gui.stetic
2008-01-25 11:22:02 UTC (rev 93879)
@@ -116,7 +116,7 @@
</widget>
</child>
</widget>
- <widget class="Gtk.Bin"
id="MonoDevelop.Deployment.Gui.CommandDeployEditorWidget" design-size="300 158">
+ <widget class="Gtk.Bin"
id="MonoDevelop.Deployment.Gui.CommandDeployEditorWidget" design-size="300 166">
<property name="MemberName" />
<property name="Events">ButtonPressMask</property>
<property name="GeneratePublic">False</property>
Modified:
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/objects.xml
===================================================================
---
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/objects.xml
2008-01-25 11:20:26 UTC (rev 93878)
+++
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment/gtk-gui/objects.xml
2008-01-25 11:22:02 UTC (rev 93879)
@@ -16,7 +16,7 @@
</itemgroup>
</signals>
</object>
- <object type="MonoDevelop.Deployment.Gui.BinariesZipEditorWidget"
palette-category="MonoDevelop.Deployment" allow-children="false"
base-type="Gtk.Bin">
+ <object type="MonoDevelop.Deployment.Gui.BinariesZipEditorWidget"
palette-category="MonoDevelop.Deployment" allow-children="false"
base-type="Gtk.Bin" internal="true">
<itemgroups />
<signals />
</object>
@@ -28,7 +28,7 @@
<itemgroups />
<signals />
</object>
- <object type="MonoDevelop.Deployment.Gui.SourcesZipEditorWidget"
palette-category="MonoDevelop.Deployment" allow-children="false"
base-type="Gtk.Bin">
+ <object type="MonoDevelop.Deployment.Gui.SourcesZipEditorWidget"
palette-category="MonoDevelop.Deployment" allow-children="false"
base-type="Gtk.Bin" internal="true">
<itemgroups />
<signals />
</object>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches