diff options
author | Joe Zhao <ztuowen@gmail.com> | 2015-09-06 15:10:51 -0600 |
---|---|---|
committer | Joe Zhao <ztuowen@gmail.com> | 2015-09-06 15:10:51 -0600 |
commit | 2f63794da7acbfcf61558428cd84f590a73fc13f (patch) | |
tree | bda4bc9682ee5704ad752d601b9ede81de198bbe /main.cpp | |
parent | 3507dcb7a51249962e40847626f72f5207e8c0af (diff) | |
download | pomodori-2f63794da7acbfcf61558428cd84f590a73fc13f.tar.gz pomodori-2f63794da7acbfcf61558428cd84f590a73fc13f.tar.bz2 pomodori-2f63794da7acbfcf61558428cd84f590a73fc13f.zip |
revert to original time
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -3,17 +3,18 @@ #include <gtk/gtk.h> #include "logging.h" #include "totimer.h" +#include "pomodori.h" +#include "trayicon.h" +#include "string.h" + int main(int argc, char** argv) { if (argc<2) return 0; gtk_init(&argc, &argv); - notify_init("pomodori"); - tres lastres; - lastres.time=0; - lastres.reason=argv[1]; - settimer(&lastres,POTIME); + timer_init(); + tray_init(); gtk_main(); return 0; }
\ No newline at end of file |