[Gimp-developer] Help translating GIMP

2004-01-31 Thread Olaf Marzocchi
Hi,
I'd like to retranslate GIMP in italian, the current translation almost sucks.

I searched the main site but I haven't found anything, couls omeone tell me 
how to do it?

Thanks
Olaf

___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Redundant code in image_convert_indexed_invoker()?

2004-01-31 Thread Michael Natterer
Kevin Cozens [EMAIL PROTECTED] writes:

 Greetings.

 While trying to determine if I found a bug in the GIMP (or possibly
 undocumented behaviour), I ran across what looks like a bit of redundant
 code.

 In the file app/pdb/convert_cmds.c around line 153 is an if statement
 that checks for a valid range for dither_type. Later (around line 175)
 is a switch statement that also appears to be checking that the
 dither_type is one of four allowed values. It seems to me that the
 switch is not needed.

Good spot!

Will fix that and generally clean up the covert.pdb file a bit.

thanks,
--mitch
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


Re: [Gimp-developer] Help translating GIMP

2004-01-31 Thread Daniel Egger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Jan 31, 2004, at 12:15 pm, Olaf Marzocchi wrote:

I'd like to retranslate GIMP in italian, the current translation 
almost sucks.

I searched the main site but I haven't found anything, couls omeone 
tell me
how to do it?
Talk to Daniele Medri [EMAIL PROTECTED] (who did this translation) 
and/or the
GNOME translation project, convince them with your fine conclusion, 
retranslate
and send a patch.

- --
Servus,
  Daniel
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)
iQEVAwUBQBulNTBkNMiD99JrAQIwrAf/Yi8876zojNRRnusuY/sJKSLvYysmz10C
tNgnEE2VUpl2g/7jYCznE/gx3Er+FcHyKi9mkMy7LBlMi2tezHW3WSgXUVDUlVmV
FsHH074zi5wWNpvN6WynawE8a98g43+lgARQkTEfY6/sxP9I0ZIq+0nNh1FEaFkI
AvdtIj2s9z075W+hzko5EAmEL3oeOW9IPzTKh8kf84Tpy4A1AIr7M0r4PDCN2ZRp
jXnrGEe9gz1OMGidivqV++USEUCXRon2LUjHfFHaaYFDZfDyI6bItGMm3VwSykUN
iJTcMvGSvSmtlxbUC/Yy3ryKLvYyWHmYVuShiSIAzALLJIm06XYLZQ==
=RIYw
-END PGP SIGNATURE-
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer


[Gimp-developer] [patch]Gimp plug-in template 1.3.2 won't compile

2004-01-31 Thread Kevin Cozens
Greetings.

The 1.3.2 of the sample plug-in (gimp-plugin-template) uses some
features that are deprecated in the latest CVS version of the GIMP. It
is also missing an argument to one function call. The attached patch
allows the template plugin to compile.

-- 
Cheers!
 
Kevin.  (http://www.interlog.com/~kcozens/)
 
Owner of Elecraft K2 #2172|What are we going to do today, Borg?
E-mail:kcozens at interlog dot com|Same thing we always do, Pinkutus:
Packet:[EMAIL PROTECTED]|  Try to assimilate the world!
#include disclaimer/favourite   |  -Pinkutus  the Borg
diff -ur gimp-plugin-template-1.3.2.orig/configure gimp-plugin-template-1.3.2/configure
--- gimp-plugin-template-1.3.2.orig/configure	2003-11-29 07:28:10.0 -0500
+++ gimp-plugin-template-1.3.2/configure	2004-01-31 23:11:53.0 -0500
@@ -6244,7 +6244,7 @@
   esac
 fi
 
-CPPFLAGS=$CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
+CPPFLAGS=$CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
 
 
 
diff -ur gimp-plugin-template-1.3.2.orig/configure.in gimp-plugin-template-1.3.2/configure.in
--- gimp-plugin-template-1.3.2.orig/configure.in	2003-11-06 12:26:39.0 -0500
+++ gimp-plugin-template-1.3.2/configure.in	2004-01-31 23:11:59.0 -0500
@@ -73,7 +73,7 @@
 fi
 changequote([,])dnl
 
-CPPFLAGS=$CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
+CPPFLAGS=$CPPFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
 
 AC_SUBST(PLUGIN_MAJOR_VERSION)
 AC_SUBST(PLUGIN_MINOR_VERSION)
diff -ur gimp-plugin-template-1.3.2.orig/src/interface.c gimp-plugin-template-1.3.2/src/interface.c
--- gimp-plugin-template-1.3.2.orig/src/interface.c	2003-11-29 07:17:14.0 -0500
+++ gimp-plugin-template-1.3.2/src/interface.c	2004-01-31 23:17:50.0 -0500
@@ -89,6 +89,7 @@
   GtkWidget *sep;
   GtkObject *adj;
   gint   row;
+  gboolean   random_seed = FALSE;
   gboolean   run = FALSE;
   GimpUnit   unit;
   gdoublexres, yres;
@@ -162,7 +163,7 @@
   gtk_container_add (GTK_CONTAINER (frame), hbox);
   gtk_widget_show (hbox);
 
-  hbox2 = gimp_random_seed_new (vals-seed);
+  hbox2 = gimp_random_seed_new (vals-seed, random_seed);
   gtk_widget_set_size_request (GTK_WIDGET (GIMP_RANDOM_SEED_SPINBUTTON (hbox2)),
RANDOM_SEED_WIDTH, -1);
   gtk_box_pack_start (GTK_BOX (hbox), hbox2, FALSE, FALSE, 0);
___
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer