[Monodevelop-patches-list] r479 - trunk/MonoDevelop/src/Main/Base/Commands
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Tue Jan 13 17:02:05 EST 2004
Author: dkor
Date: 2004-01-13 17:02:05 -0500 (Tue, 13 Jan 2004)
New Revision: 479
Modified:
trunk/MonoDevelop/src/Main/Base/Commands/HelpCommands.cs
Log:
Added menu handler for "Tip of the Day" Dialog
Modified: trunk/MonoDevelop/src/Main/Base/Commands/HelpCommands.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Commands/HelpCommands.cs 2004-01-13 22:01:02 UTC (rev 478)
+++ trunk/MonoDevelop/src/Main/Base/Commands/HelpCommands.cs 2004-01-13 22:02:05 UTC (rev 479)
@@ -89,9 +89,10 @@
{
public override void Run()
{
- // TipOfTheDayDialog totdd = new TipOfTheDayDialog ();
- // totdd.Run ();
- // totdd.Hide ();
+ ResourceService resourceService = (ResourceService)ServiceManager.Services.GetService(typeof(IResourceService));
+ string didyouknowtext = resourceService.GetString("Dialog.TipOfTheDay.DidYouKnowText");
+ TipOfTheDayDialog totdd = new TipOfTheDayDialog (didyouknowtext);
+ totdd.Run ();
}
}
More information about the Monodevelop-patches-list
mailing list