[PATCH] more keysyms deprecated as accelerators in gtk_accelerator_valid (fwd)



 One more patch to apply.

 As I said, GDK_ISO_Prev_Group is the most frequent among all keys added by
that patch.

 Best regards,
  -Vlad

---------- Forwarded message ----------
Date: Mon, 28 Aug 2000 11:26:55 +0500 (SAMST)
From: Vlad Harchev <hvv hippo ru>
To: gtk-devel-list gnome org
Subject: [PATCH] more keysyms deprecated as accelerators in
    gtk_accelerator_valid

 Here is a patch to gtk 1.2.5 that will expand a set of keys that are
disallowed for use in accelerators in function gtk_accelerator_valid.
 Among all keys listed below, GDK_ISO_* are most important (in fact,
only GDK_ISO_Prev_Group disturbs me - I don't have other keys mapped on my
keyboard).

 PS: Is it enough to post the patch here or it should be uploaded to ftp site
as FAQ says?

 Best regards,
  -Vlad

--- gtkaccelgroup.c-was	Wed Apr 14 01:20:08 1999
+++ gtkaccelgroup.c	Mon Aug 28 11:14:06 2000
@@ -723,6 +723,15 @@
     GDK_First_Virtual_Screen, GDK_Prev_Virtual_Screen,
     GDK_Next_Virtual_Screen, GDK_Last_Virtual_Screen,
     GDK_Terminate_Server, GDK_AudibleBell_Enable,
+    GDK_AccessX_Enable, GDK_AccessX_Feedback_Enable, GDK_RepeatKeys_Enable,
+    GDK_SlowKeys_Enable, GDK_BounceKeys_Enable, GDK_StickyKeys_Enable,
+    GDK_MouseKeys_Enable, GDK_MouseKeys_Accel_Enable, GDK_Overlay1_Enable,
+    GDK_Overlay2_Enable, GDK_AudibleBell_Enable,
+    GDK_ISO_Level2_Latch, GDK_ISO_Level3_Shift, GDK_ISO_Level3_Latch,
+    GDK_ISO_Level3_Lock, GDK_ISO_Group_Shift, GDK_ISO_Group_Latch, 
+    GDK_ISO_Group_Lock, GDK_ISO_Next_Group, GDK_ISO_Next_Group_Lock, 
+    GDK_ISO_Prev_Group, GDK_ISO_Prev_Group_Lock, GDK_ISO_First_Group,
+    GDK_ISO_First_Group_Lock, GDK_ISO_Last_Group, GDK_ISO_Last_Group_Lock,
     0
   };
   const guint *ac_val;






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