Skip to content

Commit edfa7b4

Browse files
committed
Some cleanup, email changes and TODO
Signed-off-by: Santosh S <[email protected]>
1 parent 215f0ef commit edfa7b4

7 files changed

+414
-5
lines changed

.gitignore

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
*.py[cod]
2+
3+
# C extensions
4+
*.so
5+
6+
# Packages
7+
*.egg
8+
*.egg-info
9+
dist
10+
build
11+
eggs
12+
parts
13+
bin
14+
var
15+
sdist
16+
develop-eggs
17+
.installed.cfg
18+
lib
19+
lib64
20+
21+
# Installer logs
22+
pip-log.txt
23+
24+
# Unit test / coverage reports
25+
.coverage
26+
.tox
27+
nosetests.xml
28+
29+
# Translations
30+
*.mo
31+
32+
# Mr Developer
33+
.mr.developer.cfg
34+
.project
35+
.pydevproject

LICENSE

+339
Large diffs are not rendered by default.

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
nagme
2+
=====
3+
4+
A reminder utility for the forgetful geeks. This is written in python and still
5+
has a lot to do. Anyway it works, with a few bugs sprinkled here and there ;-)

TODO.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
TODO
2+
====
3+
4+
* nagme_gui.py: # TODO Update the timer list when a new timer is added when there was none
5+
* nagme_gui.py: # TODO system tray notification when timer has expired
6+
* nagme_gui.py: # TODO Play sound when timer expires
7+
* nagme_gui.py: # TODO There is a timing issue in label update and expiry (see 153,154 in timer_timer)
8+
* nagme_gui.py: # TODO Remove timer thread and implement as a schedulable time event, so we don't loop and waste cycles
9+
* nagme_timer.py: # TODO Make timer thread into a timer event, make it dynamic, instead

nagme.py

+21
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
#
2+
# A reminder for the forgetful geeks
3+
#
4+
# Copyright (C) 2011 Santosh Sivaraj <[email protected]>
5+
#
6+
# This program is free software; you can redistribute it and/or modify
7+
# it under the terms of the GNU General Public License as published by
8+
# the Free Software Foundation; either version 2 of the License, or
9+
# (at your option) any later version.
10+
#
11+
# This program is distributed in the hope that it will be useful,
12+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
# GNU General Public License for more details.
15+
#
16+
# You should have received a copy of the GNU General Public License
17+
# along with this program; if not, write to the Free Software
18+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19+
# 02110-1301, USA
20+
#
21+
122
from nagme_gui import tui
223

324
if __name__ == "__main__":

nagme_gui.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#
22
# GUI for the timer implementation
33
#
4-
# Copyright (C) 2011 Santosh Sivaraj <santoshs@fossix.org>
4+
# Copyright (C) 2011 Santosh Sivaraj <ssantosh@fossix.org>
55
#
66
# This program is free software; you can redistribute it and/or modify
77
# it under the terms of the GNU General Public License as published by
88
# the Free Software Foundation; either version 2 of the License, or
99
# (at your option) any later version.
10-
#
10+
#
1111
# This program is distributed in the hope that it will be useful,
1212
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@@ -145,7 +145,7 @@ def timer_timer(self, pobj):
145145
#self.statusicon.set_tooltip(i['text'])
146146
md.run_nb()
147147
if os.name == 'nt':
148-
winsound.PlaySound("*", winsound.SND_ALIAS)
148+
winsound.PlaySound("*", winsound.SND_ALIAS)
149149

150150
self.statusbar.push(0, i['title'] + " " + i['text'])
151151

nagme_timer.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#
22
# A Timer implementation for short notifications
33
#
4-
# Copyright (C) 2011 Santosh Sivaraj <santoshs@fossix.org>
4+
# Copyright (C) 2011 Santosh Sivaraj <ssantosh@fossix.org>
55
#
66
# This program is free software; you can redistribute it and/or modify
77
# it under the terms of the GNU General Public License as published by
88
# the Free Software Foundation; either version 2 of the License, or
99
# (at your option) any later version.
10-
#
10+
#
1111
# This program is distributed in the hope that it will be useful,
1212
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

0 commit comments

Comments
 (0)