commit d099d5eb81ad27c0a3bc7cd76d0745d35cecb840
Author: phantomjinx <[email protected]>
Date: Sun Sep 26 13:34:51 2010 +0100
Fix for licence file loading in about box
* Thanks to Riccardo (dennymallow at gmail.com) for the fix.
Makefile.am | 4 ++--
src/anjuta-about.c | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index ff6cbb3..8af53b2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,8 +36,8 @@ all-local: copy-licence copy-authors
# Creating symbolic links in plugin root directory
copy-licence:
echo "Copying licence file"
- if [ ! -e data/LICENCE ]; then \
- ln -s `pwd`/COPYING data/LICENCE; \
+ if [ ! -e data/COPYING ]; then \
+ ln -s `pwd`/COPYING data/COPYING; \
fi;
copy-authors:
diff --git a/src/anjuta-about.c b/src/anjuta-about.c
index d1b768c..e419874 100644
--- a/src/anjuta-about.c
+++ b/src/anjuta-about.c
@@ -31,7 +31,7 @@
#include "../libgtkpod/directories.h"
#include "gtkpod.h"
-#define LICENSE_FILE "/LICENCE"
+#define LICENSE_FILE "COPYING"
#define ANJUTA_PIXMAP_LOGO "anjuta_logo.png"
#define ABOUT_AUTHORS "AUTHORS"
@@ -159,6 +159,7 @@ GtkWidget *about_box_new() {
g_error_free(error);
}
+ error = NULL;
pix = gtk_icon_theme_load_icon(gtk_icon_theme_get_default(), GTKPOD_ICON,
64, 0, &error);
if (!pix) {
g_warning ("Couldn't load icon: %s", error->message);
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2