diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2011-09-08 15:26:49 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2011-09-08 15:26:49 +0400 |
commit | cb7176b54caca2b5cf8dc0b7ebbe02f7b63ac06a (patch) | |
tree | c41676995f4edebb6bac462d246e24ddfe01767a /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs | |
parent | 71b22e9e5dee9ebe60c0feecdc2287bc514e8fca (diff) |
Created branding directory in startup assembly.
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 | 5 | ||||
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/SplashScreen.cs | 2 |
2 files changed, 4 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 cb5dfba505..4612ba4644 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 @@ -37,6 +37,7 @@ using Gdk; using Gtk; using GLib; using Pango; +using System.Reflection; namespace MonoDevelop.Ide.Gui.Dialogs { @@ -52,7 +53,7 @@ namespace MonoDevelop.Ide.Gui.Dialogs aboutPictureScrollBox = new ScrollBox (); PackStart (aboutPictureScrollBox, false, false, 0); - imageSep = new Pixbuf (typeof(CommonAboutDialog).Assembly, "AboutImageSep.png"); + imageSep = new Pixbuf (Assembly.GetEntryAssembly (), "AboutImageSep.png"); PackStart (new Gtk.Image (imageSep), false, false, 0); var label = new Label (); @@ -195,7 +196,7 @@ namespace MonoDevelop.Ide.Gui.Dialogs this.Realized += new EventHandler (OnRealized); this.ModifyBg (Gtk.StateType.Normal, new Gdk.Color (49, 49, 74)); - image = new Gdk.Pixbuf (GetType ().Assembly, "AboutImage.png"); + image = new Gdk.Pixbuf (Assembly.GetEntryAssembly (), "AboutImage.png"); 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 22efe3b791..03a08df3b7 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 { - bitmap = new Gdk.Pixbuf (Assembly.GetCallingAssembly(), "SplashScreen.png"); + bitmap = new Gdk.Pixbuf (Assembly.GetEntryAssembly (), "SplashScreen.png"); } catch (Exception e) { LoggingService.LogError ("Can't load splash screen pixbuf 'SplashScreen.png'.", e); } |