forked from AuroraMiddleware/gtk
Disable tooltips for menu items with submenus .. they still don't really
Sun Sep 29 20:20:26 2002 Owen Taylor <otaylor@redhat.com> * gtk/gtktooltips.c (gtk_tooltips_event_handler): Disable tooltips for menu items with submenus .. they still don't really work properly. (Missed merge from stable)
This commit is contained in:
parent
da4c14de47
commit
adef2ac133
@ -1,3 +1,10 @@
|
|||||||
|
Sun Sep 29 20:20:26 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktooltips.c (gtk_tooltips_event_handler): Disable
|
||||||
|
tooltips for menu items with submenus .. they still
|
||||||
|
don't really work properly. (Missed merge from
|
||||||
|
stable)
|
||||||
|
|
||||||
Sun Sep 29 20:15:59 2002 Owen Taylor <otaylor@redhat.com>
|
Sun Sep 29 20:15:59 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkwindow.c (gtk_window_move_resize): Clear
|
* gtk/gtkwindow.c (gtk_window_move_resize): Clear
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Sun Sep 29 20:20:26 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktooltips.c (gtk_tooltips_event_handler): Disable
|
||||||
|
tooltips for menu items with submenus .. they still
|
||||||
|
don't really work properly. (Missed merge from
|
||||||
|
stable)
|
||||||
|
|
||||||
Sun Sep 29 20:15:59 2002 Owen Taylor <otaylor@redhat.com>
|
Sun Sep 29 20:15:59 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkwindow.c (gtk_window_move_resize): Clear
|
* gtk/gtkwindow.c (gtk_window_move_resize): Clear
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Sun Sep 29 20:20:26 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktooltips.c (gtk_tooltips_event_handler): Disable
|
||||||
|
tooltips for menu items with submenus .. they still
|
||||||
|
don't really work properly. (Missed merge from
|
||||||
|
stable)
|
||||||
|
|
||||||
Sun Sep 29 20:15:59 2002 Owen Taylor <otaylor@redhat.com>
|
Sun Sep 29 20:15:59 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkwindow.c (gtk_window_move_resize): Clear
|
* gtk/gtkwindow.c (gtk_window_move_resize): Clear
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Sun Sep 29 20:20:26 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktooltips.c (gtk_tooltips_event_handler): Disable
|
||||||
|
tooltips for menu items with submenus .. they still
|
||||||
|
don't really work properly. (Missed merge from
|
||||||
|
stable)
|
||||||
|
|
||||||
Sun Sep 29 20:15:59 2002 Owen Taylor <otaylor@redhat.com>
|
Sun Sep 29 20:15:59 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkwindow.c (gtk_window_move_resize): Clear
|
* gtk/gtkwindow.c (gtk_window_move_resize): Clear
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Sun Sep 29 20:20:26 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktooltips.c (gtk_tooltips_event_handler): Disable
|
||||||
|
tooltips for menu items with submenus .. they still
|
||||||
|
don't really work properly. (Missed merge from
|
||||||
|
stable)
|
||||||
|
|
||||||
Sun Sep 29 20:15:59 2002 Owen Taylor <otaylor@redhat.com>
|
Sun Sep 29 20:15:59 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkwindow.c (gtk_window_move_resize): Clear
|
* gtk/gtkwindow.c (gtk_window_move_resize): Clear
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
Sun Sep 29 20:20:26 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* gtk/gtktooltips.c (gtk_tooltips_event_handler): Disable
|
||||||
|
tooltips for menu items with submenus .. they still
|
||||||
|
don't really work properly. (Missed merge from
|
||||||
|
stable)
|
||||||
|
|
||||||
Sun Sep 29 20:15:59 2002 Owen Taylor <otaylor@redhat.com>
|
Sun Sep 29 20:15:59 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkwindow.c (gtk_window_move_resize): Clear
|
* gtk/gtkwindow.c (gtk_window_move_resize): Clear
|
||||||
|
@ -590,7 +590,8 @@ gtk_tooltips_event_handler (GtkWidget *widget,
|
|||||||
/* do nothing */
|
/* do nothing */
|
||||||
break;
|
break;
|
||||||
case GDK_ENTER_NOTIFY:
|
case GDK_ENTER_NOTIFY:
|
||||||
gtk_tooltips_start_delay (tooltips, widget);
|
if (!(GTK_IS_MENU_ITEM (widget) && GTK_MENU_ITEM (widget)->submenu))
|
||||||
|
gtk_tooltips_start_delay (tooltips, widget);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GDK_LEAVE_NOTIFY:
|
case GDK_LEAVE_NOTIFY:
|
||||||
@ -608,7 +609,7 @@ gtk_tooltips_event_handler (GtkWidget *widget,
|
|||||||
/* Handle menu items specially ... pend popup for each motion
|
/* Handle menu items specially ... pend popup for each motion
|
||||||
* on other widgets, we ignore motion.
|
* on other widgets, we ignore motion.
|
||||||
*/
|
*/
|
||||||
if (GTK_IS_MENU_ITEM (widget))
|
if (GTK_IS_MENU_ITEM (widget) && !GTK_MENU_ITEM (widget)->submenu)
|
||||||
{
|
{
|
||||||
/* Completely evil hack to make sure we get the LEAVE_NOTIFY
|
/* Completely evil hack to make sure we get the LEAVE_NOTIFY
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user