Removing dependency on libnotify
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rhythmbox-record-station |
Fix Released
|
Low
|
Unassigned |
Bug Description
Hi and thanks for a great job!!
Since Lucid does not install libnotify-bin by default, I made a change to the code so it does not depend on libnotify anymore, and it doesn't have to call the OS.
The function that replaces notify-send is as follows:
##*****
import dbus
def notify(icon, title, text):
bus=
busobject=
args = ["rb-record-
method = busobject.
retval=
return retval
##*****
The inspiration for the code came from this tool
http://
I'm submitting a patch with calls to os.system replaced by a call to the new function. Hope you find it useful!
Have a nice day!
Erion.
Changed in rb-record-station: | |
status: | Fix Committed → Fix Released |
Thanks for the patch, I've checked it into bzr. It will be included in the next release.