Author: gert
Date: 2006-11-05 07:55:35 -0500 (Sun, 05 Nov 2006)
New Revision: 67371

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs
Log:
* PropertyGrid.cs: To match MS, remove default title and description
for panel. Fixed tooltips for Categorized and Alphabetic toolbar buttons.


Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-11-05 12:42:51 UTC (rev 67370)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-11-05 12:55:35 UTC (rev 67371)
@@ -1,3 +1,9 @@
+2006-11-04  Gert Driesen  <[EMAIL PROTECTED]>
+
+       * PropertyGrid.cs: To match MS, remove default title and description
+       for panel. Fixed tooltips for Categorized and Alphabetic toolbar
+       buttons.
+
 2006-11-04  Chris Toshok  <[EMAIL PROTECTED]>
 
        * Theme.cs: add a Clamp method, just for kicks.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs  
2006-11-05 12:42:51 UTC (rev 67370)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PropertyGrid.cs  
2006-11-05 12:55:35 UTC (rev 67371)
@@ -108,7 +108,6 @@
                        help_title_label.Anchor = AnchorStyles.Top | 
AnchorStyles.Left | AnchorStyles.Right;
                        help_title_label.Name = "help_title_label";
                        help_title_label.Font = new 
Font(this.Font,FontStyle.Bold);
-                       help_title_label.Text = "Title";
                        help_title_label.Location = new Point(2,2);
                        help_title_label.Height = 17;
                        help_title_label.Width = help_panel.Width - 4;
@@ -118,7 +117,6 @@
                        help_description_label.Anchor = AnchorStyles.Top | 
AnchorStyles.Left | AnchorStyles.Right;
                        help_description_label.Name = "help_description_label";
                        help_description_label.Font = this.Font;
-                       help_description_label.Text = "The long important 
Description";
                        help_description_label.Location = new 
Point(2,help_title_label.Top+help_title_label.Height);
                        help_description_label.Width = help_panel.Width - 4;
                        help_description_label.Height = 17;
@@ -161,11 +159,11 @@
 
                        categorized_toolbarbutton.ImageIndex = 0;
                        categorized_toolbarbutton.Style = 
ToolBarButtonStyle.ToggleButton;
-                       categorized_toolbarbutton.ToolTipText = 
(string)Locale.GetResource( "Categorized");
+                       categorized_toolbarbutton.ToolTipText = Locale.GetText 
("Categorized");
 
                        alphabetic_toolbarbutton.ImageIndex = 1;
                        alphabetic_toolbarbutton.Style = 
ToolBarButtonStyle.ToggleButton;
-                       alphabetic_toolbarbutton.ToolTipText = 
(string)Locale.GetResource( "Alphabetic");
+                       alphabetic_toolbarbutton.ToolTipText = Locale.GetText 
("Alphabetic");
 
                        separator_toolbarbutton.Style = 
ToolBarButtonStyle.Separator;
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to