Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evince/ChangeLog,v
retrieving revision 1.512
diff -u -u -r1.512 ChangeLog
--- ChangeLog	3 Jul 2005 14:00:44 -0000	1.512
+++ ChangeLog	3 Jul 2005 15:50:18 -0000
@@ -1,3 +1,8 @@
+2005-07-03  Carlos Garcia Campos <carlosgc@gnome.org>
+
+	* shell/ev-window.c: use the left mouse button to
+	move forward and right to move backward in presentation mode
+
 2005-07-03  Matthew S. Wilson  <msw@rpath.com>
 
 	* tiff/tiff-document.c (tiff_document_ps_export_begin) 
Index: shell/ev-window.c
===================================================================
RCS file: /cvs/gnome/evince/shell/ev-window.c,v
retrieving revision 1.181
diff -u -u -r1.181 ev-window.c
--- shell/ev-window.c	3 Jul 2005 09:59:32 -0000	1.181
+++ shell/ev-window.c	3 Jul 2005 15:50:19 -0000
@@ -189,6 +189,10 @@
 static void     ev_window_cmd_view_presentation         (GtkAction        *action,
 							 EvWindow         *window);
 static void     show_fullscreen_popup                   (EvWindow         *window);
+static void     ev_window_cmd_go_previous_page          (GtkAction        *action,
+							 EvWindow         *ev_window);
+static void     ev_window_cmd_go_next_page              (GtkAction        *action,
+							 EvWindow         *ev_window);
 							
 
 G_DEFINE_TYPE (EvWindow, ev_window, GTK_TYPE_WINDOW)
@@ -1704,6 +1708,28 @@
 	}
 }
 
+static gboolean
+presentation_button_press_cb (GtkWidget *widget,
+			      GdkEventButton *event,
+			      gpointer user_data)
+{
+	EvWindow *window = EV_WINDOW (user_data);
+
+	switch (event->button) {
+	case 1:
+		ev_window_cmd_go_next_page (NULL, window);
+
+		return TRUE;
+
+	case 3:
+		ev_window_cmd_go_previous_page (NULL, window);
+
+		return TRUE;
+	}
+
+	return FALSE;
+}
+
 static void
 ev_window_update_presentation_action (EvWindow *window)
 {
@@ -1725,6 +1751,11 @@
 		      "shadow-type", GTK_SHADOW_NONE,
 		      NULL);
 
+	g_signal_connect (window->priv->view,
+			  "button-press-event",
+			  G_CALLBACK (presentation_button_press_cb),
+			  window);
+	
 	gtk_widget_grab_focus (window->priv->view);
 	ev_view_set_presentation (EV_VIEW (window->priv->view), TRUE);
 	gtk_window_fullscreen (GTK_WINDOW (window));
@@ -1741,6 +1772,11 @@
 	g_object_set (G_OBJECT (window->priv->scrolled_window),
 		      "shadow-type", GTK_SHADOW_IN,
 		      NULL);
+
+	g_signal_handlers_disconnect_by_func (window->priv->view,
+					      (gpointer) presentation_button_press_cb,
+					      window);
+	
 	ev_view_set_presentation (EV_VIEW (window->priv->view), FALSE);
 	gtk_window_unfullscreen (GTK_WINDOW (window));
 	ev_window_update_presentation_action (window);
