[Monodevelop-patches-list] r2510 - in trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets: . Commands

Alp Toker alp at mono-cvs.ximian.com
Wed May 4 00:19:15 EDT 2005


Author: alp
Date: 2005-05-04 00:19:15 -0400 (Wed, 04 May 2005)
New Revision: 2510

Modified:
   trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/ChangeLog
   trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/Commands/CommandToolButton.cs
Log:
2005-05-04  Alp Toker  <alp at atoker.com>

  * Commands/CommandToolButton.cs: enable UseUnderline. The Gtk+ docs
  say "Labels shown on tool buttons never have mnemonics on them" so
  this effectively just hides the underscore.


Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/ChangeLog	2005-05-03 16:15:01 UTC (rev 2509)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/ChangeLog	2005-05-04 04:19:15 UTC (rev 2510)
@@ -1,3 +1,9 @@
+2005-05-04  Alp Toker  <alp at atoker.com>
+
+	* Commands/CommandToolButton.cs: enable UseUnderline. The Gtk+ docs
+	say "Labels shown on tool buttons never have mnemonics on them" so
+	this effectively just hides the underscore.
+
 2005-04-27  Lluis Sanchez Gual  <lluis at novell.com>
 
 	* Commands/CommandInfo.cs: Forgot to copy the description from the

Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/Commands/CommandToolButton.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/Commands/CommandToolButton.cs	2005-05-03 16:15:01 UTC (rev 2509)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Gui.Widgets/Commands/CommandToolButton.cs	2005-05-04 04:19:15 UTC (rev 2510)
@@ -75,6 +75,7 @@
 				SetTooltip (tips, cmdInfo.Description, cmdInfo.Description);
 				lastDesc = cmdInfo.Description;
 			}
+			UseUnderline = true;
 			Label = cmdInfo.Text;
 			StockId = cmdInfo.Icon;
 			Sensitive = cmdInfo.Enabled;




More information about the Monodevelop-patches-list mailing list