mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
don't deactivate menu when menu_item isn't sensitive (#61389)
Sat Nov 24 22:05:27 2001 Kristian Rietveld <kristian@planet.nl> * gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't deactivate menu when menu_item isn't sensitive (#61389)
This commit is contained in:
parent
38dfbda4bc
commit
51eb87f3bd
@ -1,3 +1,8 @@
|
||||
Sat Nov 24 22:05:27 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't
|
||||
deactivate menu when menu_item isn't sensitive (#61389)
|
||||
|
||||
Sat Nov 24 15:35:26 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Nov 24 22:05:27 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't
|
||||
deactivate menu when menu_item isn't sensitive (#61389)
|
||||
|
||||
Sat Nov 24 15:35:26 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Nov 24 22:05:27 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't
|
||||
deactivate menu when menu_item isn't sensitive (#61389)
|
||||
|
||||
Sat Nov 24 15:35:26 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Nov 24 22:05:27 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't
|
||||
deactivate menu when menu_item isn't sensitive (#61389)
|
||||
|
||||
Sat Nov 24 15:35:26 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Nov 24 22:05:27 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't
|
||||
deactivate menu when menu_item isn't sensitive (#61389)
|
||||
|
||||
Sat Nov 24 15:35:26 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Nov 24 22:05:27 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't
|
||||
deactivate menu when menu_item isn't sensitive (#61389)
|
||||
|
||||
Sat Nov 24 15:35:26 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Nov 24 22:05:27 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtkmenushell.c (gtk_menu_shell_button_release): don't
|
||||
deactivate menu when menu_item isn't sensitive (#61389)
|
||||
|
||||
Sat Nov 24 15:35:26 2001 Kristian Rietveld <kristian@planet.nl>
|
||||
|
||||
* gtk/gtktreemodel.c (gtk_tree_model_foreach): free path before
|
||||
|
@ -469,6 +469,8 @@ gtk_menu_shell_button_release (GtkWidget *widget,
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
else if (menu_item && !GTK_WIDGET_IS_SENSITIVE (menu_item))
|
||||
deactivate = FALSE;
|
||||
else if (menu_shell->parent_menu_shell)
|
||||
{
|
||||
menu_shell->active = TRUE;
|
||||
|
Loading…
Reference in New Issue
Block a user