After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 389779 - Incorrect GUI label in Small Tiles plug-in
Incorrect GUI label in Small Tiles plug-in
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
unspecified
Other All
: Normal trivial
: 2.4
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2006-12-26 17:19 UTC by Ulf-D. Ehlert
Modified: 2006-12-26 20:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ulf-D. Ehlert 2006-12-26 17:19:59 UTC
Number of segments (tiles) in Small Tile plug-in is n**2, not 2**n:

--- gimp-2.3.13/plug-ins/common/tileit.c        2006-11-23 21:15:30.000000000 +0100
+++ gimp-2.3.13/plug-ins/common/tileit.c        2006-12-25 16:37:41.000000000 +0100
@@ -3,8 +3,8 @@
  *
  * This is a plug-in for the GIMP.
  *
- * Tileit - This plugin will take an image an make repeated
- * copies of it the stepping is 1/(2**n); 1<=n<=6
+ * Tileit - This plugin will take an image and make repeated
+ * copies of it the stepping is 1/(n**2); 1<n<=6
  *
  * Copyright (C) 1997 Andy Thomas  alt@picnic.demon.co.uk
  *
@@ -590,7 +590,7 @@
   gtk_widget_set_sensitive (table2, has_alpha);

   scale = gimp_scale_entry_new (GTK_TABLE (table), 0, 0,
-                                "1 / (2 ** _n)", SCALE_WIDTH, -1,
+                                "_n ** 2", SCALE_WIDTH, -1,
                                 itvals.numtiles, 2, MAX_SEGS, 1, 1, 0,
                                 TRUE, 0, 0,
                                 NULL, NULL);
Comment 1 Sven Neumann 2006-12-26 20:21:51 UTC
Fortunately, in the days of Unicode, there are nicer ways to write this than using C syntax. Thanks for the report, I've fixed the label.

2006-12-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tileit.c: corrected label (bug #389779).