This bug was fixed in the package system-config-printer -
1.1.3+git20090218-0ubuntu17

---------------
system-config-printer (1.1.3+git20090218-0ubuntu17) jaunty; urgency=low

  * debian/patches/26_notification.patch:
    - Check notification daemon capabilities to determine if actions are
      supported rather than check $GDMSESSION (LP: #339847)

 -- Ken VanDine <[email protected]>   Tue, 31 Mar 2009 09:54:27
-0400

** Changed in: system-config-printer (Ubuntu)
       Status: In Progress => Fix Released

-- 
system-config-printer notification patch should auto-detect capabilities of 
notification daemon, so that it can get upstreamized
https://bugs.launchpad.net/bugs/339847
You received this bug notification because you are a member of Canonical
Desktop Experience Team, which is a direct subscriber.

Status in System Config Printer: Confirmed
Status in “system-config-printer” source package in Ubuntu: Fix Released

Bug description:
Binary package hint: system-config-printer

Recently the default notification daemon in Ubuntu was replaced by a notify-osd 
which does not support action buttons.

Therefore system-config-printer was patched to work without action buttons if 
needed, by using pop-up dialogs. Unfortunately this patch cannot be applied 
upstream, as the check for the notification daemon type is done in a 
Ubuntu-specific way:

if os.environ.get('GDMSESSION') == "gnome-stracciatella":

This should be replaced by a generic check on the notification daemon 
capabilities, using the Python equivalent of the function

GList *notify_get_server_caps(void);

(/usr/include/libnotify/notify.h). It should be "pynotify.get_server_caps()". 
As there are notification daemons with and without action button support, the 
assumption of system-config-printer to have action button support is an 
upstream bug which can be fixed by upstreamizing this patch.

Ken VanDine, can you please fix the patch? Thanks.

_______________________________________________
Mailing list: https://launchpad.net/~dx-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dx-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to