--- Begin Message ---
package: cdebconf-gtk-udeb
severity: normal
tags: patch
Many users complained about the cursor remaining "I" shaped after
passing on a question description (that's due to a minor gtk/dfb bug
which still has to be fixed)
As a workaround, the attached patch resets the cursor to its original
arrow shape when it moves into the main gdkwindow.
Merry XMas !
Attilio
Index: gtk.c
===================================================================
--- gtk.c (revisione 43510)
+++ gtk.c (copia locale)
@@ -92,6 +92,8 @@
static const char * get_text(struct frontend *obj, const char *template, const char *fallback );
+static int reset_cursor = FALSE;
+
void register_setter(void (*func)(void*, struct question*),
void *data, struct question *q, struct frontend *obj)
{
@@ -259,6 +261,22 @@
return FALSE;
}
+/* workaround for gtktextview cursor changing in gtk/dfb
+ */
+static gboolean reset_cursor_callback(GtkWidget *widget, GdkEventExpose *event, void *data)
+{
+ if (event->type == GDK_LEAVE_NOTIFY) {
+ if (reset_cursor == TRUE) {
+ gdk_window_set_cursor (widget->window, NULL);
+ reset_cursor = FALSE;
+ }
+ else
+ reset_cursor = TRUE;
+ }
+
+ return FALSE;
+}
+
/* Scrolling to default row in SELECT questions has to be done after the
* treeview has been realized
*/
@@ -1453,6 +1471,9 @@
gtk_init (&args, &name);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
+ #ifndef GDK_WINDOWING_X11
+ g_signal_connect_after (G_OBJECT (window), "event", G_CALLBACK (reset_cursor_callback), NULL);
+ #endif
gtk_widget_set_size_request (window, WINDOW_WIDTH, WINDOW_HEIGHT);
gtk_window_set_resizable (GTK_WINDOW (window), TRUE);
gtk_window_set_position (GTK_WINDOW (window), GTK_WIN_POS_CENTER);
--- End Message ---
--- Begin Message ---
Source: cdebconf
Source-Version: 0.112
We believe that the bug you reported is fixed in the latest version of
cdebconf, which is due to be installed in the Debian FTP archive:
cdebconf-gtk-udeb_0.112_amd64.udeb
to pool/main/c/cdebconf/cdebconf-gtk-udeb_0.112_amd64.udeb
cdebconf-newt-udeb_0.112_amd64.udeb
to pool/main/c/cdebconf/cdebconf-newt-udeb_0.112_amd64.udeb
cdebconf-priority_0.112_all.udeb
to pool/main/c/cdebconf/cdebconf-priority_0.112_all.udeb
cdebconf-text-udeb_0.112_amd64.udeb
to pool/main/c/cdebconf/cdebconf-text-udeb_0.112_amd64.udeb
cdebconf-udeb_0.112_amd64.udeb
to pool/main/c/cdebconf/cdebconf-udeb_0.112_amd64.udeb
cdebconf_0.112.dsc
to pool/main/c/cdebconf/cdebconf_0.112.dsc
cdebconf_0.112.tar.gz
to pool/main/c/cdebconf/cdebconf_0.112.tar.gz
cdebconf_0.112_amd64.deb
to pool/main/c/cdebconf/cdebconf_0.112_amd64.deb
libdebconfclient0-dev_0.112_amd64.deb
to pool/main/c/cdebconf/libdebconfclient0-dev_0.112_amd64.deb
libdebconfclient0-udeb_0.112_amd64.udeb
to pool/main/c/cdebconf/libdebconfclient0-udeb_0.112_amd64.udeb
libdebconfclient0_0.112_amd64.deb
to pool/main/c/cdebconf/libdebconfclient0_0.112_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 404482@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Frans Pop <fjp@debian.org> (supplier of updated cdebconf package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sat, 6 Jan 2007 10:34:56 +0100
Source: cdebconf
Binary: cdebconf-slang-udeb libdebconfclient0 cdebconf-priority cdebconf libdebconfclient0-dev cdebconf-udeb libdebconfclient0-udeb cdebconf-gtk-udeb cdebconf-text-udeb cdebconf-newt-udeb
Architecture: source amd64 all
Version: 0.112
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Frans Pop <fjp@debian.org>
Description:
cdebconf - Debian Configuration Management System (C-implementation)
cdebconf-gtk-udeb - Gtk+ frontend for Debian Configuration Management System (udeb)
cdebconf-newt-udeb - Newt frontend for Debian Configuration Management System (udeb)
cdebconf-priority - Change debconf priority (udeb)
cdebconf-text-udeb - Plain text frontend for Debian Configuration Management System (udeb)
cdebconf-udeb - Debian Configuration Management System (C-implementation) (udeb)
libdebconfclient0 - Debian Configuration Management System (C-implementation)
libdebconfclient0-dev - Development files for cdebconf
libdebconfclient0-udeb - Debian Configuration Management System (C-implementation) (udeb)
Closes: 404482
Changes:
cdebconf (0.112) unstable; urgency=low
.
[ Attilio Fiandrotti ]
* The cursor is now "I" shaped only when over a text input box, this is a
workaround to a gtk/dfb bug. Closes: #404482.
* Removed an old workaround due to gtk_tree_path_new_from_indices() lacking
in gtk+ 2.0, code cleanup.
.
[ Updated translations ]
* Danish (da.po) by Claus Hindsgaul
* Panjabi (pa.po) by A S Alam
* Slovenian (sl.po) by Matej KovaÄ?iÄ?
Files:
7683d63c96b86ae5b02c8cf246c074a3 1178 utils optional cdebconf_0.112.dsc
c613a8c2c254de83b2a2e3af82d84e06 232252 utils optional cdebconf_0.112.tar.gz
d67f26306beaa977762e39dbb116cfee 2678 debian-installer standard cdebconf-priority_0.112_all.udeb
d47dc720c2771c0eccf4cd3c57f4010c 152128 utils extra cdebconf_0.112_amd64.deb
57b09beb35fafd57d8be126435c78c1f 32716 libs optional libdebconfclient0_0.112_amd64.deb
317c09dc88f5cee7fd5adc84d029ad4c 33802 libdevel optional libdebconfclient0-dev_0.112_amd64.deb
f7c8d2331aa767aa51057f474f18e1f7 73024 debian-installer standard cdebconf-udeb_0.112_amd64.udeb
ce9507615d63054dcc124f7154cc15e1 3248 debian-installer optional libdebconfclient0-udeb_0.112_amd64.udeb
f4cab8ae4dbe41a489fd631abde856b1 17860 debian-installer optional cdebconf-newt-udeb_0.112_amd64.udeb
d59389e21c2a4cf52a0e9d4712216b4a 18998 debian-installer optional cdebconf-text-udeb_0.112_amd64.udeb
8b27bd6944f6a1468ade3d017e38240c 24224 debian-installer optional cdebconf-gtk-udeb_0.112_amd64.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFFn3RHgm/Kwh6ICoQRApzBAKCsWh/wBiO6vA6tDoYSTK/tBkTrFwCgvuef
vb3XqTmIfzD0aB4k4EWUI4U=
=fBDD
-----END PGP SIGNATURE-----
--- End Message ---