GtkPlug/Socket on Win32: is_focus vs. is-focus
- From: Tor Lillqvist <tml iki fi>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: GtkPlug/Socket on Win32: is_focus vs. is-focus
- Date: Tue, 22 Mar 2005 03:12:01 +0200
In gtksocket.c, we have:
static void
gtk_socket_notify (GObject *object,
GParamSpec *pspec)
{
if (!strcmp (pspec->name, "is_focus"))
return;
socket_update_focus_in (GTK_SOCKET (object));
}
Shouldn't that be "is-focus"? That is what the function actually gets
called with. Not that it seems to matter on X11. And not on Win32
either, sigh.
(I am having slight problems with focus motion to the "active child"
in testsocket. The focus does in fact move correctly when I tab into
the child's widgets, but the widgets don't show the focus
indication. Weird...
Otherwise, I did eventually notice to take out the check for X11 in
gtk_window_show(). Otherwise after pressing "Add Active Child", focus
jumped to the child (without indication, though) although it should
stay on the button. )
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]