Follow-up Comment #17, bug #34490 (project gnustep):

ok i have reworked the patch.

* still uses NSTask on unix and native API ShellExecute on win32.
* actually works now
* as suggested is user configurable, the user defaults keys GSOpenFileTools
and GSOpenURLTools should contain arrays of strings

some things are missing still

* the patch assumes the talked-about changes to NSPerformServices(). i'd
consider it a bug that an API call like openURL would perviously throw up an
alert in the users-face,  but now the situation is even worse because you can
get the error dialog and still have it succeed because the native-path is now
the last fallback even in the openURL case.
* the patch makes sense only if GSOpenFileTools and GSOpenURLTools are set to
sensible defaults, but i don't know how to add default values for the user
defaults. i suggest setting both to "("xdg-open", "gnome-open", "kde-open")"


(file #24412)
    _______________________________________________________

Additional Item Attachment:

File name: workspaceopen.patch            Size:3 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34490>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to