[recipes] Bring the cooking overlay back with F1



commit 7896e6145cba2b0943ad9d2794a83542e62f624f
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Feb 20 19:09:11 2017 -0500

    Bring the cooking overlay back with F1
    
    Why not ? It makes sense to me.

 src/gr-cooking-page.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/gr-cooking-page.c b/src/gr-cooking-page.c
index 96ec623..5ad081c 100644
--- a/src/gr-cooking-page.c
+++ b/src/gr-cooking-page.c
@@ -341,6 +341,11 @@ gr_cooking_page_handle_event (GrCookingPage *page,
 
                         return GDK_EVENT_STOP;
                 }
+                else if (e->keyval == GDK_KEY_F1) {
+                        show_overlay (page);
+
+                        return GDK_EVENT_STOP;
+                }
                 else if (e->keyval == GDK_KEY_Return) {
                         if (gtk_widget_get_visible (page->done_button))
                                stop_cooking (page);


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