[gthumb] removed useless call to gth_window_set_current_page



commit 2fd3bae66ed0967745f8d52cf288b7868d73055a
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Nov 8 10:53:36 2011 +0100

    removed useless call to gth_window_set_current_page

 gthumb/gth-browser.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 7513abc..8dea902 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -3569,10 +3569,8 @@ gth_file_list_key_press_cb (GtkWidget   *widget,
 			break;
 
 		case GDK_KEY_e:
-			if (browser->priv->viewer_page != NULL) {
-				gth_window_set_current_page (GTH_WINDOW (browser), GTH_BROWSER_PAGE_VIEWER);
+			if (browser->priv->viewer_page != NULL)
 				gth_browser_show_viewer_tools (GTH_BROWSER (browser), TRUE);
-			}
 			result = TRUE;
 			break;
 



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