[gthumb] give focus to the file list after viewing the browser
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] give focus to the file list after viewing the browser
- Date: Thu, 18 Feb 2010 18:34:08 +0000 (UTC)
commit 43e1c69097a31306507757b1949f0f4b32c71772
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Feb 18 19:32:43 2010 +0100
give focus to the file list after viewing the browser
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 bde3904..75fd10c 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -2022,6 +2022,8 @@ _gth_browser_real_set_current_page (GthWindow *window,
_gth_browser_update_viewer_ui (browser, page);
_gth_browser_update_browser_ui (browser, page);
+ if (page == GTH_BROWSER_PAGE_BROWSER)
+ gtk_widget_grab_focus (gth_browser_get_file_list_view (browser));
gth_hook_invoke ("gth-browser-set-current-page", browser);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]