[packagekit] logic flow problem in pk-backend.c
Scott Reeves
sreeves at novell.com
Fri Apr 4 15:32:09 PDT 2008
pk_backend_error_code is checking to see if we are setting a duplicate error. If so then it formats up a nice message, gives it a DAEMON type and calls pk_backend_message.
But pk_backend _message first does the same duplicate check and just prints a generic error - throwing away the nice message.
Not sure if you actually want to try and change this to really emit a signal in this case or just simply print the nice error in pk_backend_error_code.
The attached patch does the latter...
Scott.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: debug.patch
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20080404/e974de6a/attachment-0003.txt>
More information about the PackageKit
mailing list