[gthumb] stop async operations after pressing escape



commit 358266370477083a855bd5470b1a0bfc165d9620
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Oct 19 18:06:56 2013 +0200

    stop async operations after pressing escape

 gthumb/gth-browser-actions-callbacks.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-browser-actions-callbacks.c b/gthumb/gth-browser-actions-callbacks.c
index 003f03a..33b6638 100644
--- a/gthumb/gth-browser-actions-callbacks.c
+++ b/gthumb/gth-browser-actions-callbacks.c
@@ -426,6 +426,8 @@ gth_browser_activate_browser_mode (GSimpleAction *action,
        GthBrowser *browser = user_data;
        GtkWidget  *viewer_sidebar;
 
+       gth_browser_stop (browser);
+
        viewer_sidebar = gth_browser_get_viewer_sidebar (browser);
        if (gth_sidebar_tool_is_active (GTH_SIDEBAR (viewer_sidebar)))
                gth_sidebar_deactivate_tool (GTH_SIDEBAR (viewer_sidebar));


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