Skip to content

Commit

Permalink
Change dismiss task shortcut
Browse files Browse the repository at this point in the history
closes #715
  • Loading branch information
diegogangl committed Mar 2, 2022
1 parent 5813d82 commit 9c0542c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion GTG/gtk/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def init_actions(self):
('add_parent', self.add_parent, ('app.add_parent', ['<ctrl><shift>P'])),
('edit_task', self.edit_task, ('app.edit_task', ['<ctrl>E'])),
('mark_as_done', self.mark_as_done, ('app.mark_as_done', ['<ctrl>D'])),
('dismiss', self.dismiss, ('app.dismiss', ['<ctrl>I'])),
('dismiss', self.dismiss, ('app.dismiss', ['<ctrl><shift>D'])),
('reopen', self.reopen, ('app.reopen', ['<ctrl>O'])),
('open_backends', self.open_backends_manager, None),
('open_help', self.open_help, ('app.open_help', ['F1'])),
Expand Down
2 changes: 1 addition & 1 deletion GTG/gtk/data/help_overlay.ui
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<object class="GtkShortcutsShortcut">
<property name="visible">True</property>
<property name="title" translatable="yes" context="shortcut window">Dismiss Task</property>
<property name="accelerator">&lt;Primary&gt;I</property>
<property name="accelerator">&lt;Primary&gt;&lt;Shift&gt;D</property>
</object>
</child>

Expand Down
2 changes: 1 addition & 1 deletion docs/user_manual/C/gtg-shortcut-keys.page
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
<td><p>Mark Task as Done</p></td> <td><p><keyseq><key>Ctrl</key><key>D</key></keyseq></p></td>
</tr>
<tr>
<td><p>Dismiss Task</p></td> <td><p><keyseq><key>Ctrl</key><key>I</key></keyseq></p><note style="tip"><p>This keyboard shortcut also undismisses a task when used in the <gui>Closed</gui> view mode.</p></note></td>
<td><p>Dismiss Task</p></td> <td><p><keyseq><key>Ctrl</key><key>Shift</key><key>D</key></keyseq></p><note style="tip"><p>This keyboard shortcut also undismisses a task when used in the <gui>Closed</gui> view mode.</p></note></td>
</tr>
<tr>
<td><p>Delete Task</p></td> <td><p><keyseq><key>Ctrl</key><key>Del</key></keyseq></p></td>
Expand Down

0 comments on commit 9c0542c

Please sign in to comment.