[recipes] Hook up the action in the contribute notification



commit fdad8c466b69ac7e1ab95a2faf20aac0e3648b87
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Feb 19 11:50:03 2017 -0500

    Hook up the action in the contribute notification
    
    Offer to send an update if the user updates a contributed
    recipe.

 src/gr-window.c  |    2 ++
 src/gr-window.ui |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-window.c b/src/gr-window.c
index 1358f67..240928e 100644
--- a/src/gr-window.c
+++ b/src/gr-window.c
@@ -532,7 +532,9 @@ do_remind (GrWindow *window)
         recipe = g_object_ref (window->remind_recipe);
 
         close_remind (window);
+
         gr_window_show_recipe (window, recipe);
+        gr_details_page_contribute_recipe (GR_DETAILS_PAGE (window->details_page));
 }
 
 static gboolean
diff --git a/src/gr-window.ui b/src/gr-window.ui
index 6415b4d..23c9d76 100644
--- a/src/gr-window.ui
+++ b/src/gr-window.ui
@@ -315,7 +315,7 @@
                           <object class="GtkButton">
                             <property name="visible">1</property>
                             <property name="focus-on-click">0</property>
-                            <property name="label" translatable="yes">Update</property>
+                            <property name="label" translatable="yes">Send Update</property>
                             <signal name="clicked" handler="do_remind" swapped="yes"/>
                           </object>
                         </child>


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