Activate status icons on single click
This commit is contained in:
		@ -1,3 +1,8 @@
 | 
			
		||||
2005-10-25  Matthias Clasen  <mclasen@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* gtk/gtkstatusicon.c: Emit activate on single-click,
 | 
			
		||||
	not on double-click, change proposed by Milosz Derezynski.
 | 
			
		||||
 | 
			
		||||
2005-10-25  Kristian Rietveld  <kris@gtk.org>
 | 
			
		||||
 | 
			
		||||
	Fixes #311955, reported by Markku Vire; and a lot more.
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,8 @@
 | 
			
		||||
2005-10-25  Matthias Clasen  <mclasen@redhat.com>
 | 
			
		||||
 | 
			
		||||
	* gtk/gtkstatusicon.c: Emit activate on single-click,
 | 
			
		||||
	not on double-click, change proposed by Milosz Derezynski.
 | 
			
		||||
 | 
			
		||||
2005-10-25  Kristian Rietveld  <kris@gtk.org>
 | 
			
		||||
 | 
			
		||||
	Fixes #311955, reported by Markku Vire; and a lot more.
 | 
			
		||||
 | 
			
		||||
@ -702,7 +702,7 @@ static gboolean
 | 
			
		||||
gtk_status_icon_button_press (GtkStatusIcon  *status_icon,
 | 
			
		||||
			      GdkEventButton *event)
 | 
			
		||||
{
 | 
			
		||||
  if (event->button == 1 && event->type == GDK_2BUTTON_PRESS)
 | 
			
		||||
  if (event->button == 1 && event->type == GDK_BUTTON_PRESS)
 | 
			
		||||
    {
 | 
			
		||||
      emit_activate_signal (status_icon);
 | 
			
		||||
      return TRUE;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user