[g.livid] fix xfce4 notifd usage with git version of notifyd. Fixes #5280

This commit is contained in:
Yann Leboulanger 2009-09-21 21:31:40 +02:00
parent 6124a60b8f
commit 086469a594
1 changed files with 1 additions and 1 deletions

View File

@ -650,7 +650,7 @@ class DesktopNotification:
def version_reply_handler(self, name, vendor, version, spec_version=None):
if spec_version:
version = spec_version
elif vendor == 'Xfce' and version == '0.1.0':
elif vendor == 'Xfce' and version.startswith('0.1.0'):
version = '0.9'
version_list = version.split('.')
self.version = []