patchGKSu - Patches: patch #6688, Opening files via "Open as...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

patch #6688: Opening files via "Open as administrator" generates commandline with extra blank space

Submitted by:  Luca Falavigna <dktrkranz>
Submitted on:  Wed 10 Dec 2008 11:50:23 AM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Wed 10 Dec 2008 11:50:23 AM UTC, original submission:

Taken from https://launchpad.net/bugs/252633:

Suppose if we open an archive(i.e. .tar.gz) via "Open as administrator" then it opens two file-roller window. One window says "Unable to open" and other window shows the archive content. But the first window steals focus, so we have to click "Ok" and close it to do anything with the other window.
Internally nautilus-gksu finds the application name for selected file's mime type. But the returned application name contains one extra blank space which leads to a commandline something like "appBBvfspath", where app is application name, B is a blank space and vfspath is a vfs path of the file. In my case file-roller treats the second blank space as seperate parameter and tries to open it. This happens with several applications (such as nautilus).

Attached patch fixes it.

Luca Falavigna <dktrkranz>

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dktrkranz (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 10 Dec 2008 11:50:23 AM UTCdktrkranzAttached File-=>Added libnautilus-gksu.c.patch, #17016

    Back to the top


    Powered by Savane 3.1-cleanup