[gthumb] Fixed double-click that sometimes doesn't open the viewer.
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] Fixed double-click that sometimes doesn't open the viewer.
- Date: Sun, 21 Feb 2010 15:35:22 +0000 (UTC)
commit a75f80e8cba4a44f0b2ca69ab3921db3e01726e2
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Feb 21 16:32:48 2010 +0100
Fixed double-click that sometimes doesn't open the viewer.
Load the file if the viewer is not available.
gthumb/gth-browser.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index e62b707..f348674 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -2863,6 +2863,8 @@ gth_file_view_item_activated_cb (GtkIconView *iconview,
gth_viewer_page_show (GTH_VIEWER_PAGE (browser->priv->viewer_page));
gth_window_set_current_page (GTH_WINDOW (browser), GTH_BROWSER_PAGE_VIEWER);
}
+ else if (browser->priv->current_file != NULL)
+ gth_browser_load_file (browser, browser->priv->current_file, TRUE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]