Skip to content

Commit

Permalink
Add start in X days options to context menu
Browse files Browse the repository at this point in the history
ref #244
  • Loading branch information
diegogangl committed Apr 13, 2020
1 parent a91797c commit c1d74e8
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions GTG/gtk/data/context_menus.ui
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,39 @@
<submenu>
<attribute name="label" translatable="yes">Set Start Date</attribute>

<section>
<item>
<attribute name="label" translatable="yes">Tomorrow</attribute>
<attribute name="action">win.start_tomorrow</attribute>
</item>

<item>
<attribute name="label" translatable="yes">In 2 days</attribute>
<attribute name="action">win.start_next_day_2</attribute>
</item>

<item>
<attribute name="label" translatable="yes">In 3 days</attribute>
<attribute name="action">win.start_next_day_3</attribute>
</item>

<item>
<attribute name="label" translatable="yes">In 4 days</attribute>
<attribute name="action">win.start_next_day_4</attribute>
</item>

<item>
<attribute name="label" translatable="yes">In 5 days</attribute>
<attribute name="action">win.start_next_day_5</attribute>
</item>

<item>
<attribute name="label" translatable="yes">In 6 days</attribute>
<attribute name="action">win.start_next_day_6</attribute>
</item>
</section>
<section>

<item>
<attribute name="label" translatable="yes">Next Week</attribute>
<attribute name="action">win.start_next_week</attribute>
Expand All @@ -79,6 +107,7 @@
<attribute name="label" translatable="yes">Pick a date...</attribute>
<attribute name="action">win.start_custom</attribute>
</item>
</section>

<section>
<item>
Expand Down

0 comments on commit c1d74e8

Please sign in to comment.