Skip to content

Commit

Permalink
Start integrating the new icon into timeclock.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Sokolow authored and Stephan Sokolow committed Jul 18, 2009
1 parent 9b3db3b commit 6b15db5
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2 deletions.
Binary file added icons/timeclock_16x16.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/timeclock_48x48.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
3 changes: 2 additions & 1 deletion timeclock.glade
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd"> <!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
<!--Generated with glade3 3.4.5 on Wed Jun 17 13:11:09 2009 --> <!--Generated with glade3 3.4.5 on Sat Jul 18 15:45:13 2009 -->
<glade-interface> <glade-interface>
<widget class="GtkWindow" id="mainWin"> <widget class="GtkWindow" id="mainWin">
<property name="visible">True</property> <property name="visible">True</property>
<property name="title" translatable="yes">Time Clock</property> <property name="title" translatable="yes">Time Clock</property>
<property name="resizable">False</property> <property name="resizable">False</property>
<property name="window_position">GTK_WIN_POS_CENTER</property> <property name="window_position">GTK_WIN_POS_CENTER</property>
<property name="icon">icons/timeclock_48x48.png</property>
<signal name="destroy" handler="on_mainWin_destroy"/> <signal name="destroy" handler="on_mainWin_destroy"/>
<child> <child>
<widget class="GtkTable" id="mainWin_layout"> <widget class="GtkTable" id="mainWin_layout">
Expand Down
2 changes: 1 addition & 1 deletion timeclock.py
Expand Up @@ -97,7 +97,7 @@
notification = pynotify.Notification( notification = pynotify.Notification(
"%s Time Exhausted" % mode_name.title(), "%s Time Exhausted" % mode_name.title(),
"You have used up your alotted time for %s" % mode_name.lower(), "You have used up your alotted time for %s" % mode_name.lower(),
"dialog-warning") os.path.join(SELF_DIR, "icons", "timeclock_48x48.png"))
notification.set_urgency(pynotify.URGENCY_NORMAL) notification.set_urgency(pynotify.URGENCY_NORMAL)
notification.set_timeout(pynotify.EXPIRES_NEVER) notification.set_timeout(pynotify.EXPIRES_NEVER)
notification.last_shown = 0 notification.last_shown = 0
Expand Down

0 comments on commit 6b15db5

Please sign in to comment.