[MonoDevelop] Bug with Welcome Page on Windows

Aleksei VK aleksei.vk at gmail.com
Sat Jul 11 19:06:00 EDT 2009


Hello!
I've found, that Welcome page on Windows is missing, when start up
path contains Cyrillic letters.
So, I tried to fix this bug:

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 137750)
+++ ChangeLog	(working copy)
@@ -1,3 +1,7 @@
+2009-07-12 Aleksei VK <aleksei.vk at gmail.com>
+	* WelcomePageFallbackWidget.cs: Fixed missing welcome page
+	  when start up path contains cyrillic letters
+
 2009-06-23  Lluis Sanchez Gual  <lluis at novell.com>

 	* WelcomePageView.cs: Use the new DesktopService instead of

Index: WelcomePageFallbackWidget.cs
===================================================================
--- WelcomePageFallbackWidget.cs	(revision 137750)
+++ WelcomePageFallbackWidget.cs	(working copy)
@@ -105,7 +105,8 @@
 			linkClickedEventHandler = new EventHandler (HandleLink);
 			
 			string bgPath = AddinManager.CurrentAddin.GetFilePath ("mono-bg.png");
-			bgPixbuf = new Gdk.Pixbuf (bgPath);
+                      FileStream fst = new FileStream (bgPath, FileMode.Open);
+                      bgPixbuf = new Gdk.Pixbuf (fst);
 			
 			alignment1.SetPadding ((uint) (logoOffset + 70 + logoOffset), 0,
(uint) logoOffset, 0);
 			ModifyBg (StateType.Normal, Style.White);


-- 
WBR Aleksei
                          mailto:aleksei.vk at gmail.com


More information about the Monodevelop-list mailing list