The issue has been resolvedf since

** Changed in: nautilus (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/225214

Title:
  nautilus 2.22 scripts doesn't handle arguments

Status in Nautilus:
  New
Status in nautilus package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: nautilus

  In Ubuntu 7.10 was ok but in 8.04

  nautilus-scripts doesn't handle arguments anymore.
  Arguments are saved only inside the os environment variables.
  So it's impossible to use old scripts that handled the arguments in the "old 
style" way.
  ( $ ./script arg1 arg2 arg3) 

  You need to edit them like this (if you are using python):

  # arguments = os.environ["NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"].split()
  # for imgPath in arguments:

  instead of

  # for imgPath in sys.argv[1:]:

  And makes them no more usable from command line..

To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/225214/+subscriptions

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

Reply via email to