From 8b4e5db9a523cbee2b46da55bfb237f99b02cf04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sat, 7 Nov 2020 21:13:06 -0500 Subject: [PATCH] Give up on title dialogs in popOS (grr) and put title in text --- pomodoroprompt.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pomodoroprompt.py b/pomodoroprompt.py index deab4df..d32137b 100644 --- a/pomodoroprompt.py +++ b/pomodoroprompt.py @@ -18,8 +18,8 @@ QUIET = True def pomodoro_prompt_plan(whatdid = ''): """ Ask about what task will be worked on (showing last thing worked on) """ - title = "What're you gonna do?" - text = '' + text = "What're you gonna do?" + title = '' # Instead of repeating this, i'd prefer a clean interface with the ability to get back # the placeholder text with 'esc' or up arrow or something. But i'm not up for building # my own interface, so here's what we get. NOTE: If we can do system notifications that @@ -36,8 +36,8 @@ def pomodoro_prompt_plan(whatdid = ''): def pomodoro_prompt_report(whatnext): """ Ask what task was completed, showing the last task claimed to be being worked on """ - title = "What'd you do?" - text = '' + text = "What'd you do?" + title = '' if whatnext: text = "\n\n(What you said you'd do: " + whatnext + ')\n' whatdid = zenipy.zenipy.entry(text=text, placeholder=whatnext, title=title)