GtkMenu keyboard navigation patch
- From: "Alexander Piskunov" <alexp inbox lv>
- To: gtk-list redhat com
- Subject: GtkMenu keyboard navigation patch
- Date: Fri, 24 Sep 1999 17:48:26 +0300
GTK 1.2.4 TODO list entry:
> * The menu code should skip separators during keyboard navigation,
> whether they are sensitive or insensitive.
That was easy! Enjoy navigating Gnome panel main menu using keyboard.
All separators are skipped now.
P.S Just read release announcement for GTK 1.2.5. I don't know if patch
will work for it.
--------------
Patch:
--------------
<--Cut here!-->
*** gtkmenushell.c.orig Tue May 11 05:31:08 1999
--- gtkmenushell.c Fri Sep 24 10:32:38 1999
***************
*** 866,870 ****
(!node ||
!GTK_WIDGET_IS_SENSITIVE (node->data) ||
! !GTK_WIDGET_VISIBLE (node->data) ))
{
if (!node)
--- 866,871 ----
(!node ||
!GTK_WIDGET_IS_SENSITIVE (node->data) ||
! !GTK_WIDGET_VISIBLE (node->data) ||
! !(GTK_BIN(node->data)->child) ))
{
if (!node)
***************
*** 880,884 ****
(!node ||
!GTK_WIDGET_IS_SENSITIVE (node->data) ||
! !GTK_WIDGET_VISIBLE (node->data) ))
{
if (!node)
--- 881,886 ----
(!node ||
!GTK_WIDGET_IS_SENSITIVE (node->data) ||
! !GTK_WIDGET_VISIBLE (node->data) ||
! !(GTK_BIN(node->data)->child) ))
{
if (!node)
<---Cut here!--->
------------------------------------------
Tavs bezmaksas pasts - http://www.inbox.lv
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]