summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--plugins/new_version.xml5
-rw-r--r--portato/plistener.py5
2 files changed, 8 insertions, 2 deletions
diff --git a/plugins/new_version.xml b/plugins/new_version.xml
index 6d300dd..1aa5e33 100644
--- a/plugins/new_version.xml
+++ b/plugins/new_version.xml
@@ -14,4 +14,9 @@
<item call="find_version">Check for new _versions</item>
</menu>
+ <options>
+ <option>disabled</option>
+ </options>
+
+
</plugin>
diff --git a/portato/plistener.py b/portato/plistener.py
index b5948ca..2e35ccb 100644
--- a/portato/plistener.py
+++ b/portato/plistener.py
@@ -71,7 +71,7 @@ class PListener (object):
Popen(cmdlist)
- def do_notify(self, base, descr, icon, urgency):
+ def do_notify(self, base, descr, icon, urgency = None):
"""Displays a notify.
This will do nothing if pynotify is not present and/or root is running the listener."""
@@ -80,7 +80,8 @@ class PListener (object):
pynotify.init(APP)
n = pynotify.Notification(base, descr, icon)
- n.set_urgency(int(urgency))
+ if urgency is not None and urgency != "":
+ n.set_urgency(int(urgency))
n.show()
def set_send (self, mem = None, sig = None, rw = None):
ons'>+107 >-1/+1 2013-06-18Remove subtle configRené 'Necoro' Neumann1-876/+0 2013-06-18dunst: Use DroidSansMonoRené 'Necoro' Neumann1-1/+1 2013-06-18i3: workspaces.py -- small cosmetic changesRené 'Necoro' Neumann1-3/+3 2013-06-18i3: Use i3-msg 'exec …' for processes, not sh.CommandRené 'Necoro' Neumann2-3/+8 2013-06-17i3: workspaces.py -- python errorRené 'Necoro' Neumann1-0/+1 2013-06-17i3: workspaces.py -- python errorRené 'Necoro' Neumann1-1/+1 2013-06-17i3 changesRené 'Necoro' Neumann2-2/+2 2013-06-14i3: New 'open new workspace with a terminal on'René 'Necoro' Neumann2-15/+31 2013-06-14Vimperator: Do not open popups in a new window -- sucks with tiling WMsRené 'Necoro' Neumann1-1/+1 2013-06-08Cleanup X startup filesRené 'Necoro' Neumann3-19/+42 2013-06-07i3: better renameRené 'Necoro' Neumann2-3/+17 2013-06-07i3: Some keybinding changes.René 'Necoro' Neumann1-5/+6 2013-06-07i3: Overhaul workspaces.pyRené 'Necoro' Neumann1-27/+19 2013-06-06i3: use $mod+t for tabbed instead of $mod+wRené 'Necoro' Neumann1-1/+1 2013-06-06i3: unify scripts into oneRené 'Necoro' Neumann6-49/+1771 2013-06-06i3: new temporary workspaceRené Neumann2-1/+27 2013-06-06Allow 'klass' in i3.py descriptionsRené Neumann1-0/+4 2013-06-04i3: rename workspaceRené Neumann1-0/+3 2013-06-03Some more greek chars / math product and sumRené 'Necoro' Neumann1-0/+6 2013-06-02Fix rules in i3-config. Somehow 'set' expands variables twice :-/René Neumann1-14/+11 2013-06-01Overhaul xlock.shRené 'Necoro' Neumann1-4/+8 2013-06-01Better workspace chooserRené 'Necoro' Neumann3-2/+581 2013-06-01FF/TB/Pidgin stuffRené 'Necoro' Neumann1-26/+45 2013-06-01More i3René 'Necoro' Neumann1-2/+11 2013-06-01FixesRené 'Necoro' Neumann2-2/+2