[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#529076: marked as done (kanjipad: uses B&W instead of GTk theme colours)



Your message dated Sat, 19 Nov 2022 15:38:27 +0000
with message-id <[🔎] E1owPvH-004Qqr-17@fasolo.debian.org>
and subject line Bug#1024340: Removed package(s) from unstable
has caused the Debian Bug report #529076,
regarding kanjipad: uses B&W instead of GTk theme colours
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
529076: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=529076
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: kanjipad
Version: 2.0.0-6
Severity: minor
Tags: patch


The pad area and kanji guesses are always drawn in B&W regardless of GTK
theme colours.


-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kanjipad depends on:
ii  libatk1.0-0                  1.22.0-1    The ATK accessibility toolkit
ii  libc6                        2.9-7       GNU C Library: Shared libraries
ii  libcairo2                    1.8.6-2+b1  The Cairo 2D vector graphics libra
ii  libfontconfig1               2.6.0-3     generic font configuration library
ii  libglib2.0-0                 2.20.1-1    The GLib library of C routines
ii  libgtk2.0-0                  2.16.1-2    The GTK+ graphical user interface 
ii  libpango1.0-0                1.24.0-3+b1 Layout and rendering of internatio
ii  libx11-6                     2:1.2.1-1   X11 client-side library
ii  libxcursor1                  1:1.1.9-1   X cursor management library
ii  libxext6                     2:1.0.4-1   X11 miscellaneous extension librar
ii  libxi6                       2:1.1.4-1   X11 Input extension library
ii  libxinerama1                 2:1.0.3-2   X11 Xinerama extension library
ii  libxrandr2                   2:1.3.0-2   X11 RandR extension library
ii  libxrender1                  1:0.9.4-2   X Rendering Extension client libra

Versions of packages kanjipad recommends:
ii  ttf-kochi-gothic          1.0.20030809-8 Kochi Subst Gothic Japanese TrueTy
ii  ttf-kochi-mincho          1.0.20030809-8 Kochi Subst Mincho Japanese TrueTy

kanjipad suggests no packages.

-- debconf-show failed
diff -ur kanjipad-2.0.0/kanjipad.c kanjipad-2.0.0.mod/kanjipad.c
--- kanjipad-2.0.0/kanjipad.c	2002-08-25 21:00:54.000000000 +0200
+++ kanjipad-2.0.0.mod/kanjipad.c	2009-05-17 18:36:12.000000000 +0200
@@ -133,7 +133,7 @@
     {
       gdk_draw_rectangle (kpixmap,
 			  selected ? w->style->bg_gc[GTK_STATE_SELECTED] :
-			  w->style->white_gc,
+			  w->style->bg_gc[GTK_STATE_NORMAL],
 			  TRUE,
 			  0, (char_height + 6) *index, w->allocation.width - 1, char_height + 5);
     }
@@ -145,8 +145,8 @@
   x = (w->allocation.width - char_width) / 2;
   
   gdk_draw_layout (kpixmap, 
-		   (selected > 0) ? w->style->white_gc :
-		                    w->style->black_gc,
+		   (selected > 0) ? w->style->fg_gc[GTK_STATE_SELECTED] :
+		                    w->style->fg_gc[GTK_STATE_NORMAL],
 		   x, (char_height + 6) * index + 3, layout);
   g_object_unref (layout);
 }
@@ -160,7 +160,7 @@
   int i;
 
   gdk_draw_rectangle (kpixmap, 
-		      w->style->white_gc, TRUE,
+		      w->style->bg_gc[GTK_STATE_NORMAL], TRUE,
 		      0, 0, width, height);
   
 
diff -ur kanjipad-2.0.0/padarea.c kanjipad-2.0.0.mod/padarea.c
--- kanjipad-2.0.0/padarea.c	2002-03-16 01:09:45.000000000 +0100
+++ kanjipad-2.0.0.mod/padarea.c	2009-05-17 18:28:34.000000000 +0200
@@ -70,7 +70,7 @@
 	  y = CLAMP (y, 0, area->widget->allocation.height - sheight);
 
 	  gdk_draw_layout (area->pixmap, 
-			   area->widget->style->black_gc,
+			   area->widget->style->fg_gc[GTK_STATE_NORMAL],
 			   x, y, layout);
 
 	  g_object_unref (layout);
@@ -90,7 +90,7 @@
   guint16 height = area->widget->allocation.height;
 
   gdk_draw_rectangle (area->pixmap, 
-		      area->widget->style->white_gc, TRUE,
+		      area->widget->style->bg_gc[GTK_STATE_NORMAL], TRUE,
 		      0, 0, width, height);
 
   tmp_list = area->strokes;
@@ -109,7 +109,7 @@
 	  cur = (GdkPoint *)stroke_list->data;
 	  if (old)
 	    gdk_draw_line (area->pixmap, 
-			   area->widget->style->black_gc,
+			   area->widget->style->fg_gc[GTK_STATE_NORMAL],
 			   old->x, old->y, cur->x, cur->y);
 
 	  old = cur;
@@ -207,7 +207,7 @@
       int xmin, ymin, xmax, ymax;
       GdkPoint *old = (GdkPoint *)g_list_last (area->curstroke)->data;
 
-      gdk_draw_line (area->pixmap, w->style->black_gc,
+      gdk_draw_line (area->pixmap, w->style->fg_gc[GTK_STATE_NORMAL],
 		     old->x, old->y, x, y);
 
       if (old->x < x) { xmin = old->x; xmax = x; }

--- End Message ---
--- Begin Message ---
Version: 2.0.0-9+rm

Dear submitter,

as the package kanjipad has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1024340

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: