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 673467 - Use g_app_info_get_executable() instead of g_app_info_get_commandline() to get default mail client
Use g_app_info_get_executable() instead of g_app_info_get_commandline() to ge...
Status: RESOLVED DUPLICATE of bug 673465
Product: nautilus-sendto
Classification: Applications
Component: general
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: nautilus-sendto-maint
nautilus-sendto-maint
Depends on:
Blocks:
 
 
Reported: 2012-04-03 23:34 UTC by Laurent Bigonville
Modified: 2012-04-11 10:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Call g_app_info_get_executable() instead of g_app_info_get_commandline() (1.10 KB, patch)
2012-04-04 13:23 UTC, Laurent Bigonville
none Details | Review
Call g_app_info_get_executable() instead of g_app_info_get_commandline() (1.07 KB, patch)
2012-04-04 13:24 UTC, Laurent Bigonville
none Details | Review

Description Laurent Bigonville 2012-04-03 23:34:18 UTC
Hi,

You should use g_app_info_get_executable() instead of g_app_info_get_commandline() to get the default mail client

The later actually also return arguments (and arguments placeholder) that are contained in the .desktop file.

This is not what's needed as the nautilus-sendto is generating these arguments
Comment 1 Laurent Bigonville 2012-04-04 13:23:40 UTC
Created attachment 211293 [details] [review]
Call g_app_info_get_executable() instead of g_app_info_get_commandline()

It seems that g_app_info_get_commandline() is adding the arguments
placeholder from the .desktop file. We don't want this because
nautilus-sendto is building the arguments list itself.
Comment 2 Laurent Bigonville 2012-04-04 13:24:14 UTC
Created attachment 211294 [details] [review]
Call g_app_info_get_executable() instead of g_app_info_get_commandline()

It seems that g_app_info_get_commandline() is adding the arguments
placeholder from the .desktop file. We don't want this because
nautilus-sendto is building the arguments list itself.

Branch: gnome-3-0
Comment 3 Bastien Nocera 2012-04-11 10:35:20 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 673465 ***