[evince/wip/recent-view: 52/53] shell: Do not propagate button_press_event in the recent view



commit dfb663447cbdd294c89979a850f69610eafffcc8
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Sat May 3 21:17:05 2014 -0700

    shell: Do not propagate button_press_event in the recent view
    
    Otherwise, when using single clicks the drag icon would remain
    active.

 shell/ev-recent-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/ev-recent-view.c b/shell/ev-recent-view.c
index 7d58a89..5eb0c8d 100644
--- a/shell/ev-recent-view.c
+++ b/shell/ev-recent-view.c
@@ -279,7 +279,7 @@ on_button_press_event (GtkWidget      *view,
        ev_recent_view->priv->pressed_item_tree_path =
                gd_main_view_generic_get_path_at_pos (generic, event->x, event->y);
 
-       return FALSE;
+       return TRUE;
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]