Browse Source

ThePimp: add namespace before resource names.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2910 92316355-f0b4-4df1-b90c-862c8a59935f
remotes/tiles
sam 16 years ago
parent
commit
fd9fee1c53
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      ThePimp/AboutWindow.cs
  2. +2
    -1
      ThePimp/Makefile.am

+ 1
- 1
ThePimp/AboutWindow.cs View File

@@ -23,7 +23,7 @@ namespace ThePimp
this.Build();

this.AppPaintable = true;
Gdk.Pixbuf image = Gdk.Pixbuf.LoadFromResource("about.png");
Gdk.Pixbuf image = Gdk.Pixbuf.LoadFromResource("ThePimp.images.about.png");
Gdk.Pixmap pixmap, pixmap_mask;
image.RenderPixmapAndMask(out pixmap, out pixmap_mask, 255);
this.GdkWindow.SetBackPixmap(pixmap, false);


+ 2
- 1
ThePimp/Makefile.am View File

@@ -39,7 +39,8 @@ Pimp.exe: ../pipi-sharp/pipi-sharp.dll $(pimp_sources) $(pimp_resources)
cp ../pipi-sharp/pipi-sharp.dll.mdb .
gmcs -debug -out:$@ -lib:./ \
$(addprefix $(srcdir)/, $(pimp_sources)) \
$(addprefix -resource:$(srcdir)/, $(pimp_resources)) \
$(foreach x, $(pimp_resources), \
-resource:$(srcdir)/$x,ThePimp.$(subst /,.,$x)) \
-pkg:gtk-sharp-2.0 -r:Mono.Posix -r:pipi-sharp.dll

clean-local:


Loading…
Cancel
Save