After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 545280 - Cannot set a custom Mail Reader in Preferred Applications capplet
Cannot set a custom Mail Reader in Preferred Applications capplet
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] Preferred applications
2.23.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-29 08:33 UTC by Sebastien Bacher
Modified: 2008-07-29 12:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
Patch to return "" when custom item is selected. (677 bytes, patch)
2008-07-29 10:15 UTC, James Westby
committed Details | Review

Description Sebastien Bacher 2008-07-29 08:33:45 UTC
the bug has been opened on https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/252253

"gnome-default-applications-properties, aka, "Preferred Applications" is supposed to allow you to set a custom Mail Reader for those like myself that use GMail for all email. However, when I click the drop-down box (which includes "Evolution Mail Reader" and "custom") and choose custom, it flashes the command window very briefly to enabled and then back to disabled immediately, keeping Evolution Mail Reader as the set option. It will not allow me to select custom as an option. As a side note, the custom option under Web Browser is working just fine.

  Installed: 1:2.23.5-0ubuntu1"
Comment 1 James Westby 2008-07-29 09:09:12 UTC
Hi,

On my system selecting a custom web browser and media player works
fine, but I cannot select any of the other custom options, instead I
see behaviour like this.

Thanks,

James
Comment 2 James Westby 2008-07-29 10:15:16 UTC
Hi,

Attached is a patch that works for me. The comment gave the clue, but
the code didn't match it for some reason. I'm not sure why the media
player setting worked though.

Thanks,

James
Comment 3 James Westby 2008-07-29 10:15:57 UTC
Created attachment 115482 [details] [review]
Patch to return "" when custom item is selected.
Comment 4 Rodrigo Moya 2008-07-29 12:13:59 UTC
The code was indeed setting ret to "" to be returned, but it was returning NULL after that, so patch committed to trunk