After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 779206 - populate Add Timer popup
populate Add Timer popup
Status: RESOLVED FIXED
Product: recipes
Classification: Other
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Recipes maintainer(s)
Recipes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-02-25 04:20 UTC by Matthias Clasen
Modified: 2017-05-07 00:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2017-02-25 04:20:06 UTC
When opening these on an existing step, it would be nice to populate them with the data from an existing image or timer in that step.
Comment 1 Matthias Clasen 2017-03-02 19:52:42 UTC
Here are the steps to do this:

When the popover is opened

1) locate the cursor in the text field, and search backwards and forwards from it to find the full text of the current step (search for \n\n or beginning/end of buffer).

2) Parse the step using the existing api: gr_recipe_parse_instructions

3) Use the resulting GrRecipeStep to find an existing timer, and set the spin button and entry to the values found.
Comment 2 Matthias Clasen 2017-03-04 17:46:30 UTC
Gauri is looking at this bug
Comment 3 Matthias Clasen 2017-03-12 18:55:33 UTC
Maithili is too, now