Path: csiph.com!usenet.pasdenom.info!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'source.': 0.05; 'python': 0.09; '22,': 0.09; 'python:': 0.09; 'dec': 0.15; 'sat,': 0.15; 'slightly': 0.15; 'anymore': 0.16; 'belongs': 0.16; 'folks,': 0.16; 'nevertheless': 0.16; 'wrote:': 0.17; 'module': 0.19; 'written': 0.20; "i'd": 0.22; 'cheers,': 0.23; 'header': 0.24; 'specifically': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'checking': 0.27; 'realize': 0.27; 'topic': 0.27; 'is?': 0.27; '+0100,': 0.29; 'source': 0.29; 'maybe': 0.29; 'related': 0.30; 'daniel': 0.30; 'function': 0.30; 'stuff': 0.30; 'asking': 0.32; 'could': 0.32; 'info': 0.32; 'turns': 0.33; 'anyone': 0.33; 'to:addr:python-list': 0.33; "can't": 0.34; 'received:google.com': 0.34; 'list': 0.35; 'exist': 0.35; 'received:209.85': 0.35; 'there': 0.35; 'but': 0.36; 'skip:g 30': 0.36; 'totally': 0.36; 'charset:us-ascii': 0.36; 'does': 0.37; 'uses': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'files': 0.38; 'to:addr:python.org': 0.39; 'content-disposition:inline': 0.60; 'more': 0.63; 'hoping': 0.72; 'lift': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=a0/7QZTlXMxY5OEqGnf4mMb1lDFx8slutmMk3GAyJt0=; b=pzbrI26E8B1DVucIfGBDWIqQpzlRsWxevUCXxhGXM1ja/z9S5YJzDvdvX1SANj45w7 GK9MrUPUrLrUobaWQkmUMKmZbjQYb+RNTkuuv47eZKDLgbYrF9P9x3obsnez4BO4ST8F 4uHgposddOMM1WtN+zxegYzT/42JcVQwEGIYaoQ8H89LhX4O1jFOFPd9TYQJERW058Av zZ/Hf8sPHezDA4zQ8Q3P1nciGyKj6x6V6wcAvgI0lCL78TmtLcgAKcEjgdiJ7DcUT6y8 6Ly3n6vXut4G4Qs9aeIPn8kCBhXn8hOMMZmLlDJIbPIvfG8pMQSXe9XcfLeuQeQsWr5K R5ag== X-Received: by 10.68.243.69 with SMTP id ww5mr47457399pbc.45.1356167706113; Sat, 22 Dec 2012 01:15:06 -0800 (PST) Date: Sat, 22 Dec 2012 01:15:01 -0800 From: Westley =?iso-8859-1?Q?Mart=EDnez?= To: python-list@python.org Subject: Re: pygnomevfs get_local_path_from_uri replacement References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 25 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1356167715 news.xs4all.nl 6977 [2001:888:2000:d::a6]:46115 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35350 On Sat, Dec 22, 2012 at 09:57:11AM +0100, Daniel Fetchinson wrote: > Hi folks, I realize this is slightly off topic and maybe belongs to a > gnome email list but it's nevertheless python: > > I use an old python program that was written for gnome 2 and gtk 2 and > uses the function get_local_path_from_uri. More specifically it uses > gnomevfs.get_local_path_from_uri. > > Now with gnome 3 the module pygnomevfs does not exist anymore and > after checking the source for pygnomevfs it turns out it's written in > C using all the header files and stuff from gnome 2. So I can't just > lift it from the source. I was hoping it's pure python in which case I > could have simply lifted it. > > Does anyone know what a good replacement for get_local_path_from_uri > is? Is there a gtk/gnome/etc related python package that contains it > which would work with gnome 3? Or a totally gnome-independent python > implementation? > > Cheers, > Daniel > > I'd reckon you'd get better info by asking the people at GTK or GNOME.