mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
check GTK_MENU_ITEM (menu_item)->accel_path first when looking up the
2001-12-12 James Henstridge <james@daa.com.au> * gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM (menu_item)->accel_path first when looking up the accel path.
This commit is contained in:
parent
793bbc7a7f
commit
44b9c2d13f
@ -1,3 +1,8 @@
|
||||
2001-12-12 James Henstridge <james@daa.com.au>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM
|
||||
(menu_item)->accel_path first when looking up the accel path.
|
||||
|
||||
Tue Dec 11 19:18:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* tests/testgtk.c (layout_expose_handler): Only draw
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-12-12 James Henstridge <james@daa.com.au>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM
|
||||
(menu_item)->accel_path first when looking up the accel path.
|
||||
|
||||
Tue Dec 11 19:18:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* tests/testgtk.c (layout_expose_handler): Only draw
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-12-12 James Henstridge <james@daa.com.au>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM
|
||||
(menu_item)->accel_path first when looking up the accel path.
|
||||
|
||||
Tue Dec 11 19:18:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* tests/testgtk.c (layout_expose_handler): Only draw
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-12-12 James Henstridge <james@daa.com.au>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM
|
||||
(menu_item)->accel_path first when looking up the accel path.
|
||||
|
||||
Tue Dec 11 19:18:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* tests/testgtk.c (layout_expose_handler): Only draw
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-12-12 James Henstridge <james@daa.com.au>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM
|
||||
(menu_item)->accel_path first when looking up the accel path.
|
||||
|
||||
Tue Dec 11 19:18:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* tests/testgtk.c (layout_expose_handler): Only draw
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-12-12 James Henstridge <james@daa.com.au>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM
|
||||
(menu_item)->accel_path first when looking up the accel path.
|
||||
|
||||
Tue Dec 11 19:18:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* tests/testgtk.c (layout_expose_handler): Only draw
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-12-12 James Henstridge <james@daa.com.au>
|
||||
|
||||
* gtk/gtkmenu.c (gtk_menu_key_press): check GTK_MENU_ITEM
|
||||
(menu_item)->accel_path first when looking up the accel path.
|
||||
|
||||
Tue Dec 11 19:18:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* tests/testgtk.c (layout_expose_handler): Only draw
|
||||
|
@ -1659,7 +1659,9 @@ gtk_menu_key_press (GtkWidget *widget,
|
||||
gboolean replace_accels = TRUE;
|
||||
const gchar *path;
|
||||
|
||||
path = _gtk_widget_get_accel_path (menu_item);
|
||||
path = GTK_MENU_ITEM (menu_item)->accel_path;
|
||||
if (!path)
|
||||
path = _gtk_widget_get_accel_path (menu_item);
|
||||
if (!path)
|
||||
{
|
||||
/* can't change accelerators on menu_items without paths
|
||||
|
Loading…
Reference in New Issue
Block a user