bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #34490] -[NSWorkspace open*] native system integration


From: julian
Subject: [bug #34490] -[NSWorkspace open*] native system integration
Date: Mon, 21 Nov 2011 10:09:24 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]