*** applet.c	Tue Oct  4 03:02:17 2005
--- /home/mh21/source/gnome-applets-2.12.1/mixer/applet.c	Fri Oct 28 22:00:01 2005
***************
*** 98,103 ****
--- 98,105 ----
  						 gpointer           data);
  static void	cb_theme_change                (GtkIconTheme *icon_theme,
  						gpointer      data);
+ static void	cb_stop_scroll_events		(GtkWidget *widget,
+ 						 GdkEvent  *event);
  
  static PanelAppletClass *parent_class = NULL;
  static struct {
***************
*** 220,225 ****
--- 222,232 ----
    gtk_tooltips_set_tip (applet->tooltips, GTK_WIDGET (applet),
  			_("Volume Control"), NULL);
  
+   /* prevent scroll events from reaching the tooltip */
+   g_signal_connect (G_OBJECT (applet),
+ 		    "event-after", G_CALLBACK (cb_stop_scroll_events),
+ 		    NULL);
+ 
    /* handle icon theme changes */
    g_signal_connect (G_OBJECT (applet->icon_theme),
  		    "changed", G_CALLBACK (cb_theme_change),
***************
*** 1319,1321 ****
--- 1326,1341 ----
    init_pixbufs (applet);
    gnome_volume_applet_refresh (applet, TRUE);
  }
+ 
+ /*
+  * Block the tooltips event-after handler on scroll events.
+  */
+ 
+ static void
+ cb_stop_scroll_events (GtkWidget *widget,
+ 		       GdkEvent  *event)
+ {
+   if (event->type == GDK_SCROLL)
+     g_signal_stop_emission_by_name (widget, "event-after");
+ }
+ 
