handle XFCE notification-daemon. Fixes #4556

This commit is contained in:
Yann Leboulanger 2009-02-07 09:11:40 +00:00
parent e0123f0c24
commit 20edebbd33
1 changed files with 2 additions and 0 deletions

View File

@ -619,6 +619,8 @@ class DesktopNotification:
def version_reply_handler(self, name, vendor, version, spec_version=None): def version_reply_handler(self, name, vendor, version, spec_version=None):
if spec_version: if spec_version:
version = spec_version version = spec_version
elif vendor == 'Xfce' and version == '0.1.0':
version = '0.9'
version_list = version.split('.') version_list = version.split('.')
self.version = [] self.version = []
while len(version_list): while len(version_list):