diff options
author | Joe Zhao <ztuowen@gmail.com> | 2015-09-04 11:28:34 -0600 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2015-09-04 11:28:34 -0600 |
commit | 4e296d5f189c2a5a4505149a7cfba3b1f50f0d85 (patch) | |
tree | eb790522b1ea8214999a80edd8508d459aaed254 /main.cpp | |
parent | 4797fa9af722263307f08b386458691a5b70fa29 (diff) | |
download | pomodori-4e296d5f189c2a5a4505149a7cfba3b1f50f0d85.tar.gz pomodori-4e296d5f189c2a5a4505149a7cfba3b1f50f0d85.tar.bz2 pomodori-4e296d5f189c2a5a4505149a7cfba3b1f50f0d85.zip |
sqlite logging
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -6,11 +6,14 @@ int main(int argc, char** argv) { + if (argc<2) + return 0; gtk_init(&argc, &argv); - notify_init("Tomodori"); + notify_init("pomodori"); tres lastres; lastres.time=0; - settimer(&lastres,POTIME); + lastres.reason=argv[1]; + settimer(&lastres,1); gtk_main(); return 0; }
\ No newline at end of file |