[Monodevelop-patches-list] r1468 - in trunk/MonoDevelop/src/Main/Base: . Gui/Dialogs
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Fri Apr 16 16:15:37 EDT 2004
Author: jluke
Date: 2004-04-16 16:15:37 -0400 (Fri, 16 Apr 2004)
New Revision: 1468
Modified:
trunk/MonoDevelop/src/Main/Base/ChangeLog
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs
trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SharpDevelopAboutPanels.cs
Log:
align the labels better
Modified: trunk/MonoDevelop/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-04-16 07:18:42 UTC (rev 1467)
+++ trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-04-16 20:15:37 UTC (rev 1468)
@@ -1,3 +1,8 @@
+2004-04-16 John Luke <jluke at cfl.rr.com>
+
+ * Gui/Dialogs/SharpDevelopAboutPanels.cs: align the labels to
+ the left and space them a little better
+
2004-04-14 John Luke <jluke at cfl.rr.com>
* Gui/Dialogs/CommonAboutDialog.cs: chain to base (GType)
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs 2004-04-16 07:18:42 UTC (rev 1467)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/CommonAboutDialog.cs 2004-04-16 20:15:37 UTC (rev 1468)
@@ -118,7 +118,7 @@
//ChangeLogTabPage changelog;
ScrollBox aboutPictureScrollBox;
- static PropertyService propertyService = (PropertyService)ServiceManager.Services.GetService(typeof(PropertyService));
+ //static PropertyService propertyService = (PropertyService)ServiceManager.Services.GetService(typeof(PropertyService));
public static new GLib.GType GType
{
@@ -133,7 +133,7 @@
{
this.Title = GettextCatalog.GetString ("About MonoDevelop");
this.TransientFor = (Gtk.Window) WorkbenchSingleton.Workbench;
- ResourceService resourceService = (ResourceService) ServiceManager.Services.GetService(typeof (IResourceService));
+ //ResourceService resourceService = (ResourceService) ServiceManager.Services.GetService(typeof (IResourceService));
aboutPictureScrollBox = new ScrollBox ();
this.VBox.PackStart (aboutPictureScrollBox);
Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SharpDevelopAboutPanels.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SharpDevelopAboutPanels.cs 2004-04-16 07:18:42 UTC (rev 1467)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/SharpDevelopAboutPanels.cs 2004-04-16 20:15:37 UTC (rev 1468)
@@ -23,11 +23,10 @@
public class AboutMonoDevelopTabPage : VBox
{
static GLib.GType gtype;
- Label versionLabel = new Label ();
- Label versionTextBox = new Label ();
- Label sponsorLabel = new Label ();
- Label licenseLabel = new Label ();
- Label copyrightLabel = new Label ();
+ Label versionLabel = new Label ();
+ Label sponsorLabel = new Label ();
+ Label licenseLabel = new Label ();
+ Label copyrightLabel = new Label ();
public static new GLib.GType GType
{
@@ -42,20 +41,28 @@
public AboutMonoDevelopTabPage() : base (GType)
{
Version v = Assembly.GetEntryAssembly().GetName().Version;
- versionTextBox.Text = v.Major + "." + v.Minor;
- versionLabel.Markup = String.Format ("<b>{0}</b>", GettextCatalog.GetString("Version"));
+ versionLabel.Markup = String.Format ("<b>{0}</b>\n {1}", GettextCatalog.GetString("Version"), v.Major + "." + v.Minor);
+ HBox hboxVersion = new HBox ();
+ hboxVersion.PackStart (versionLabel, false, false, 5);
//FIXME why do they align in the center always
+ HBox hboxLicense = new HBox ();
licenseLabel.Markup = String.Format ("<b>License</b>\n {0}", GettextCatalog.GetString ("Released under the GNU General Public license."));
+ hboxLicense.PackStart (licenseLabel, false, false, 5);
+
// FIXME should this be translated
+ HBox hboxSponsor = new HBox ();
sponsorLabel.Markup = "<b>Sponsors</b>\n SharpDevelop is sponsored by AlphaSierraPapa\n <span foreground=\"blue\">http://www.AlphaSierraPapa.com</span>\n <span foreground=\"blue\">http://icsharpcode.net/opensource/sd</span>";
+ hboxSponsor.PackStart (sponsorLabel, false, false, 5);
+
+ HBox hboxCopyright = new HBox ();
copyrightLabel.Markup = "<b>Copyright</b>\n (c) 2000-2003 by icsharpcode.net\n (c) 2004 by MonoDevelop contributors";
+ hboxCopyright.PackStart (copyrightLabel, false, false, 5);
- this.PackStart (versionLabel, false, true, 0);
- this.PackStart (versionTextBox, false, true, 0);
- this.PackStart (licenseLabel, false, true, 5);
- this.PackStart (copyrightLabel, false, true, 5);
- this.PackStart (sponsorLabel, false, true, 5);
+ this.PackStart (hboxVersion, false, true, 0);
+ this.PackStart (hboxLicense, false, true, 5);
+ this.PackStart (hboxCopyright, false, true, 5);
+ this.PackStart (hboxSponsor, false, true, 5);
this.ShowAll ();
}
}
More information about the Monodevelop-patches-list
mailing list