forked from AuroraMiddleware/gtk
lower case the key_val. (gtk_accel_group_connect_by_path) : ditto.
2002-02-23 Jody Goldberg <jody@gnome.org> * gtk/gtkaccelgroup.c (gtk_accel_group_connect) : lower case the key_val. (gtk_accel_group_connect_by_path) : ditto. (gtk_accel_group_disconnect_key) : ditto. * gtk/gtkwidget.c (gtk_widget_real_key_release_event) : simplify. (gtk_widget_real_key_press_event) : ditto.
This commit is contained in:
parent
095ae0c09d
commit
86ce9fdf04
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2002-02-23 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_connect) : lower case the
|
||||
key_val.
|
||||
(gtk_accel_group_connect_by_path) : ditto.
|
||||
(gtk_accel_group_disconnect_key) : ditto.
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_real_key_release_event) : simplify.
|
||||
(gtk_widget_real_key_press_event) : ditto.
|
||||
|
||||
Sat Feb 23 00:28:47 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeviecolumn.c: Documented undocumented functions.
|
||||
|
@ -1,3 +1,13 @@
|
||||
2002-02-23 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_connect) : lower case the
|
||||
key_val.
|
||||
(gtk_accel_group_connect_by_path) : ditto.
|
||||
(gtk_accel_group_disconnect_key) : ditto.
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_real_key_release_event) : simplify.
|
||||
(gtk_widget_real_key_press_event) : ditto.
|
||||
|
||||
Sat Feb 23 00:28:47 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeviecolumn.c: Documented undocumented functions.
|
||||
|
@ -1,3 +1,13 @@
|
||||
2002-02-23 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_connect) : lower case the
|
||||
key_val.
|
||||
(gtk_accel_group_connect_by_path) : ditto.
|
||||
(gtk_accel_group_disconnect_key) : ditto.
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_real_key_release_event) : simplify.
|
||||
(gtk_widget_real_key_press_event) : ditto.
|
||||
|
||||
Sat Feb 23 00:28:47 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeviecolumn.c: Documented undocumented functions.
|
||||
|
@ -1,3 +1,13 @@
|
||||
2002-02-23 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_connect) : lower case the
|
||||
key_val.
|
||||
(gtk_accel_group_connect_by_path) : ditto.
|
||||
(gtk_accel_group_disconnect_key) : ditto.
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_real_key_release_event) : simplify.
|
||||
(gtk_widget_real_key_press_event) : ditto.
|
||||
|
||||
Sat Feb 23 00:28:47 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeviecolumn.c: Documented undocumented functions.
|
||||
|
@ -1,3 +1,13 @@
|
||||
2002-02-23 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_connect) : lower case the
|
||||
key_val.
|
||||
(gtk_accel_group_connect_by_path) : ditto.
|
||||
(gtk_accel_group_disconnect_key) : ditto.
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_real_key_release_event) : simplify.
|
||||
(gtk_widget_real_key_press_event) : ditto.
|
||||
|
||||
Sat Feb 23 00:28:47 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeviecolumn.c: Documented undocumented functions.
|
||||
|
@ -1,3 +1,13 @@
|
||||
2002-02-23 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_connect) : lower case the
|
||||
key_val.
|
||||
(gtk_accel_group_connect_by_path) : ditto.
|
||||
(gtk_accel_group_disconnect_key) : ditto.
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_real_key_release_event) : simplify.
|
||||
(gtk_widget_real_key_press_event) : ditto.
|
||||
|
||||
Sat Feb 23 00:28:47 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeviecolumn.c: Documented undocumented functions.
|
||||
|
@ -1,3 +1,13 @@
|
||||
2002-02-23 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c (gtk_accel_group_connect) : lower case the
|
||||
key_val.
|
||||
(gtk_accel_group_connect_by_path) : ditto.
|
||||
(gtk_accel_group_disconnect_key) : ditto.
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_real_key_release_event) : simplify.
|
||||
(gtk_widget_real_key_press_event) : ditto.
|
||||
|
||||
Sat Feb 23 00:28:47 2002 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* gtk/gtktreeviecolumn.c: Documented undocumented functions.
|
||||
|
@ -513,7 +513,9 @@ gtk_accel_group_connect (GtkAccelGroup *accel_group,
|
||||
|
||||
g_object_ref (accel_group);
|
||||
if (!closure->is_invalid)
|
||||
quick_accel_add (accel_group, accel_key, accel_mods, accel_flags, closure, 0);
|
||||
quick_accel_add (accel_group,
|
||||
gdk_keyval_to_lower (accel_key),
|
||||
accel_mods, accel_flags, closure, 0);
|
||||
g_object_unref (accel_group);
|
||||
}
|
||||
|
||||
@ -552,7 +554,7 @@ gtk_accel_group_connect_by_path (GtkAccelGroup *accel_group,
|
||||
|
||||
if (gtk_accel_map_lookup_entry (accel_path, &key))
|
||||
{
|
||||
accel_key = key.accel_key;
|
||||
accel_key = gdk_keyval_to_lower (key.accel_key),
|
||||
accel_mods = key.accel_mods;
|
||||
}
|
||||
|
||||
@ -615,6 +617,7 @@ gtk_accel_group_disconnect_key (GtkAccelGroup *accel_group,
|
||||
|
||||
g_object_ref (accel_group);
|
||||
|
||||
accel_key = gdk_keyval_to_lower (accel_key);
|
||||
entries = quick_accel_find (accel_group, accel_key, accel_mods, &n);
|
||||
while (n--)
|
||||
{
|
||||
|
@ -2868,24 +2868,14 @@ static gboolean
|
||||
gtk_widget_real_key_press_event (GtkWidget *widget,
|
||||
GdkEventKey *event)
|
||||
{
|
||||
gboolean handled = FALSE;
|
||||
|
||||
if (!handled)
|
||||
handled = _gtk_bindings_activate_event (GTK_OBJECT (widget), event);
|
||||
|
||||
return handled;
|
||||
return _gtk_bindings_activate_event (GTK_OBJECT (widget), event);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
gtk_widget_real_key_release_event (GtkWidget *widget,
|
||||
GdkEventKey *event)
|
||||
{
|
||||
gboolean handled = FALSE;
|
||||
|
||||
if (!handled)
|
||||
handled = _gtk_bindings_activate_event (GTK_OBJECT (widget), event);
|
||||
|
||||
return handled;
|
||||
return _gtk_bindings_activate_event (GTK_OBJECT (widget), event);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
Loading…
Reference in New Issue
Block a user