[gthumb] added 'e' shortcut to activate the edit tools
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] added 'e' shortcut to activate the edit tools
- Date: Thu, 1 Jul 2010 14:53:55 +0000 (UTC)
commit 9ff05d4d823e2cc124c819227e28b4d9cfc652cf
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Jul 1 16:52:42 2010 +0200
added 'e' shortcut to activate the edit tools
gthumb/gth-browser.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index 652b997..6e67aa6 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -3172,6 +3172,14 @@ gth_file_list_key_press_cb (GtkWidget *widget,
result = TRUE;
break;
+ case GDK_e:
+ if (browser->priv->viewer_page != NULL) {
+ gth_window_set_current_page (GTH_WINDOW (browser), GTH_BROWSER_PAGE_VIEWER);
+ gth_browser_show_viewer_tools (GTH_BROWSER (browser), TRUE);
+ }
+ result = TRUE;
+ break;
+
default:
break;
}
@@ -4624,6 +4632,10 @@ gth_browser_viewer_key_press_cb (GthBrowser *browser,
gth_browser_show_last_image (browser, FALSE, FALSE);
return TRUE;
+ case GDK_e:
+ gth_browser_show_viewer_tools (GTH_BROWSER (browser), ! _gth_browser_get_action_active (browser, "Viewer_Tools"));
+ return TRUE;
+
case GDK_f:
gth_browser_fullscreen (browser);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]