cvs diff: Diffing .
Index: nautilus-window-toolbars.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-window-toolbars.c,v
retrieving revision 1.109
diff -u -p -r1.109 nautilus-window-toolbars.c
--- nautilus-window-toolbars.c	11 Jan 2004 20:34:49 -0000	1.109
+++ nautilus-window-toolbars.c	26 Mar 2004 10:42:30 -0000
@@ -164,8 +164,7 @@ menu_position_under_widget (GtkMenu *men
 }
 
 static gboolean
-back_or_forward_button_pressed_callback (GtkWidget *widget, 
-					 GdkEventButton *event,
+back_or_forward_button_clicked_callback (GtkWidget *widget, 
 					 gpointer *user_data)
 {
 	NautilusNavigationWindow *window;
@@ -182,7 +181,7 @@ back_or_forward_button_pressed_callback 
 	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (widget), TRUE);
 
 	gnome_popup_menu_do_popup_modal (GTK_WIDGET (create_back_or_forward_menu (NAUTILUS_NAVIGATION_WINDOW (user_data), back)),
-					 menu_position_under_widget, widget, event, widget, widget);
+					 menu_position_under_widget, widget, NULL, widget, widget);
 	
 	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (widget), FALSE);
 	
@@ -198,7 +197,7 @@ back_or_forward_key_pressed_callback (Gt
 	    event->keyval == GDK_KP_Space ||
 	    event->keyval == GDK_Return ||
 	    event->keyval == GDK_KP_Enter) {
-		back_or_forward_button_pressed_callback (widget, NULL, user_data);
+		back_or_forward_button_clicked_callback (widget, user_data);
 	}
 
 	return FALSE;
@@ -227,8 +226,8 @@ create_back_or_forward_toolbar_item (Nau
 	g_signal_connect_object (button, "key_press_event",
 				 G_CALLBACK (back_or_forward_key_pressed_callback),
 				 window, 0);
-	g_signal_connect_object (button, "button_press_event",
-				 G_CALLBACK (back_or_forward_button_pressed_callback),
+	g_signal_connect_object (button, "clicked",
+				 G_CALLBACK (back_or_forward_button_clicked_callback),
 				 window, 0);
 
 	bonobo_ui_component_widget_set (NAUTILUS_WINDOW (window)->details->shell_ui,
cvs diff: Diffing file-manager
cvs diff: Diffing samba-helper
