Skip to content

Commit

Permalink
Dropping support for Taskwarrior temporeraly
Browse files Browse the repository at this point in the history
  • Loading branch information
anufrievroman committed Sep 20, 2024
1 parent 8ebfd91 commit a9cc8c2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ There are several ways to install:

`yay -S calcure` - [AUR package](https://aur.archlinux.org/packages/calcure) is available. Upvote to support the project!

`calcure` is also available as NixOS package (outdated).
`calcure` is also available as NixOS package.

### Windows

Expand Down
2 changes: 1 addition & 1 deletion calcure/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
from calcure.translations.en import *


__version__ = "3.0.3"
__version__ = "3.1"


def read_items_from_user_arguments(screen, user_tasks, user_events, task_saver_csv, event_saver_csv):
Expand Down
2 changes: 1 addition & 1 deletion calcure/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def read_parameters_from_user_arguments(self):
self.DEFAULT_VIEW = AppState.HELP
elif opt in ('-v'):
self.DEFAULT_VIEW = AppState.EXIT
print ('Calcure - version 3.0.1')
print ('Calcure - version 3.1')
elif opt in ('-i'):
self.USE_PERSIAN_CALENDAR = True
except getopt.GetoptError as e_message:
Expand Down
10 changes: 5 additions & 5 deletions calcure/controls.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,11 +513,11 @@ def control_journal_screen(stdscr, screen, user_tasks, importer):
if confirmed:
importer.import_tasks_from_calcurse()
screen.refresh_now = True
if screen.key == "W":
confirmed = ask_confirmation(stdscr, MSG_TS_TW, cf.ASK_CONFIRMATIONS)
if confirmed:
importer.import_tasks_from_taskwarrior()
screen.refresh_now = True
# if screen.key == "W":
# confirmed = ask_confirmation(stdscr, MSG_TS_TW, cf.ASK_CONFIRMATIONS)
# if confirmed:
# importer.import_tasks_from_taskwarrior()
# screen.refresh_now = True

# Reload:
if screen.key in ["Q"]:
Expand Down
2 changes: 1 addition & 1 deletion calcure/translations/en.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
" . ": "Toggle task privacy",
" f(F) ": "Change (remove) task deadline",
" m ": "Move a task",
" C(W) ": "Import tasks from calcurse (taskwarrior)",
# " C(W) ": "Import tasks from calcurse (taskwarrior)",
}

MSG_NAME = "CALCURE"
Expand Down

0 comments on commit a9cc8c2

Please sign in to comment.