Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 112290 Details for
Bug 165081
media-sound/listen broken w/ dev-python/dbus-python-0.80.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
to make it work with dbus-python 0.80.x
listen-fix-dbus.diff (text/plain), 1017 bytes, created by
Jimmy.Jazz
on 2007-03-06 15:53:17 UTC
(
hide
)
Description:
to make it work with dbus-python 0.80.x
Filename:
MIME Type:
Creator:
Jimmy.Jazz
Created:
2007-03-06 15:53:17 UTC
Size:
1017 bytes
patch
obsolete
>--- src/dbus_manager.py 2006-09-05 11:30:50.000000000 +0200 >+++ src/dbus_manager.py 2007-03-06 16:38:21.000000000 +0100 >@@ -29,9 +29,18 @@ > import dbus > import dbus.service > #Try connection du message bus >- dbus.SessionBus() >- if getattr(dbus, 'version', (0,0,0)) >= (0,41,0): >+ dbus_version = getattr(dbus, 'version',(0,0,0)) >+ if dbus_version >= (0,41,0) and dbus_version < (0,80,0): >+ dbus.SessionBus() > import dbus.glib >+ elif dbus_version >= (0,80,0): >+ from dbus.mainloop.glib import DBusGMainLoop >+ DBusGMainLoop(set_as_default=True) >+ dbus.SessionBus() >+ else: >+ pass >+ >+ > except: dbus_imported = False > else: dbus_imported=True > >@@ -104,4 +113,4 @@ > song = self.player.song > return str( song.get_str("title")+ " - ("+song.get_str("album")+" - "+song.get_str("artist")+")") > else: >- return "" >\ Pas de fin de ligne à la fin du fichier. >+ return ""
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 165081
:
112288
| 112290 |
112294