[recipes] Rename a function to match better



commit 9fb8cd54e0fe3a632f6dc8cd9a7d819e09c03ba0
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Feb 13 20:12:19 2017 -0500

    Rename a function to match better
    
    We are no longer stopping the cooking from this button.

 src/gr-window.c  |    4 ++--
 src/gr-window.ui |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gr-window.c b/src/gr-window.c
index 432ae33..ad40f24 100644
--- a/src/gr-window.c
+++ b/src/gr-window.c
@@ -298,7 +298,7 @@ search_changed (GrWindow *window)
 }
 
 static void
-start_or_stop_cooking (GrWindow *window)
+start_cooking (GrWindow *window)
 {
         GrRecipe *recipe;
 
@@ -564,7 +564,7 @@ gr_window_class_init (GrWindowClass *klass)
         gtk_widget_class_bind_template_callback (widget_class, go_back);
         gtk_widget_class_bind_template_callback (widget_class, add_recipe);
         gtk_widget_class_bind_template_callback (widget_class, visible_page_changed);
-        gtk_widget_class_bind_template_callback (widget_class, start_or_stop_cooking);
+        gtk_widget_class_bind_template_callback (widget_class, start_cooking);
         gtk_widget_class_bind_template_callback (widget_class, hide_or_show_header_end_stack);
         gtk_widget_class_bind_template_callback (widget_class, search_changed);
         gtk_widget_class_bind_template_callback (widget_class, stop_search);
diff --git a/src/gr-window.ui b/src/gr-window.ui
index 61e6465..6314033 100644
--- a/src/gr-window.ui
+++ b/src/gr-window.ui
@@ -113,7 +113,7 @@
                 <property name="visible">1</property>
                 <property name="use-underline">1</property>
                 <property name="label" translatable="yes">_Start Cooking</property>
-                <signal name="clicked" handler="start_or_stop_cooking" swapped="yes"/>
+                <signal name="clicked" handler="start_cooking" swapped="yes"/>
                 <style>
                   <class name="suggested-action"/>
                 </style>


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