diff options
author | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2011-10-27 15:29:59 +0400 |
---|---|---|
committer | Michael Hutchinson <m.j.hutchinson@gmail.com> | 2011-10-27 15:29:59 +0400 |
commit | e650551e3020705465c044b2cfcdaaf5fa06018f (patch) | |
tree | 8306d6958948fd5337e4cefa74c4d17a6066e94a /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs | |
parent | 0936778dda45a149ed1ba1fcba3354c1d9cb7052 (diff) |
[Core] Branding service can look up files
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/AboutMonoDevelopTabPage.cs | 4 | ||||
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/SplashScreen.cs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/AboutMonoDevelopTabPage.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/AboutMonoDevelopTabPage.cs index cad3725955..10658db1f2 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/AboutMonoDevelopTabPage.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/AboutMonoDevelopTabPage.cs @@ -53,7 +53,7 @@ namespace MonoDevelop.Ide.Gui.Dialogs aboutPictureScrollBox = new ScrollBox (); PackStart (aboutPictureScrollBox, false, false, 0); - using (var stream = BrandingService.GetStream ("AboutImageSep.png")) + using (var stream = BrandingService.GetStream ("AboutImageSep.png", true)) imageSep = new Pixbuf (stream); PackStart (new Gtk.Image (imageSep), false, false, 0); @@ -215,7 +215,7 @@ namespace MonoDevelop.Ide.Gui.Dialogs this.Realized += new EventHandler (OnRealized); this.ModifyBg (Gtk.StateType.Normal, bgColor); this.ModifyText (Gtk.StateType.Normal, textColor); - using (var stream = BrandingService.GetStream ("AboutImage.png")) + using (var stream = BrandingService.GetStream ("AboutImage.png", true)) image = new Gdk.Pixbuf (stream); monoPowered = new Gdk.Pixbuf (GetType ().Assembly, "mono-powered.png"); this.SetSizeRequest (450, image.Height - 1); diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/SplashScreen.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/SplashScreen.cs index 1ae0ceabca..fb91f52d8a 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/SplashScreen.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/SplashScreen.cs @@ -37,7 +37,7 @@ namespace MonoDevelop.Ide.Gui.Dialogs { this.WindowPosition = WindowPosition.Center; this.TypeHint = Gdk.WindowTypeHint.Splashscreen; try { - using (var stream = BrandingService.GetStream ("SplashScreen.png")) + using (var stream = BrandingService.GetStream ("SplashScreen.png", true)) bitmap = new Gdk.Pixbuf (stream); } catch (Exception e) { LoggingService.LogError ("Can't load splash screen pixbuf 'SplashScreen.png'.", e); |