From danny.van.elsen@skynet.be Sat Apr 3 20:59:53 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A9AEA75013F for ; Sat, 3 Apr 2010 20:59:53 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.557 X-Spam-Level: X-Spam-Status: No, score=-2.557 tagged_above=-999 required=2 tests=[AWL=0.041, BAYES_00=-2.599, HTML_MESSAGE=0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vXu+xkQzCtYs for ; Sat, 3 Apr 2010 20:59:51 +0000 (UTC) Received: from mailrelay007.isp.belgacom.be (mailrelay007.isp.belgacom.be [195.238.6.173]) by menubar.gnome.org (Postfix) with ESMTP id 06CA2750113 for ; Sat, 3 Apr 2010 20:59:42 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkYFAE9Ht0tR8D2Q/2dsb2JhbACBN4FagmKJYLEIjy6EGW4E Received: from 144.61-240-81.adsl-dyn.isp.belgacom.be (HELO [81.240.61.144]) ([81.240.61.144]) by relay.skynet.be with ESMTP; 03 Apr 2010 22:59:40 +0200 Subject: previewing movies in an icon From: danny van elsen To: nautilus-list@gnome.org Content-Type: multipart/alternative; boundary="=-zMINVTAhP5HXD3IKgof1" Date: Sat, 03 Apr 2010 22:56:13 +0200 Message-Id: <1270328173.11466.5.camel@stille-pc.local> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1.1 X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2010 20:59:53 -0000 --=-zMINVTAhP5HXD3IKgof1 Content-Type: text/plain Content-Transfer-Encoding: 7bit hello all, I noticed that Nautilus "previews" movie files by showing what I think must be the first frame of the movie in the icon for the file can anyone please point me to source code where this is done? is gstreamer used for this, perhaps? I would like to try and do something similer in my own application ... greetings, Danny. --=-zMINVTAhP5HXD3IKgof1 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit hello all,

I noticed that Nautilus "previews" movie files by showing what I think must be the first frame of the movie in the icon for the file

can anyone please point me to source code where this is done?

is gstreamer used for this, perhaps?

I would like to try and do something similer in my own application ...

greetings, Danny. --=-zMINVTAhP5HXD3IKgof1-- From joss@debian.org Sat Apr 3 22:37:59 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E5BBC750112 for ; Sat, 3 Apr 2010 22:37:58 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6vkeC4g8yaHV for ; Sat, 3 Apr 2010 22:37:58 +0000 (UTC) X-Greylist: delayed 2290 seconds by postgrey-1.32 at menubar.gnome.org; Sat, 03 Apr 2010 22:37:57 UTC Received: from diva.malsain.org (diva.malsain.org [91.121.19.57]) by menubar.gnome.org (Postfix) with ESMTP id ED54975010D for ; Sat, 3 Apr 2010 22:37:49 +0000 (UTC) Received: from saya.malsain.org ([88.169.253.162] helo=[192.168.0.10]) by diva.malsain.org with esmtpsa (SSL3.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NyBNQ-0006FI-3y; Sat, 03 Apr 2010 23:59:36 +0200 Subject: Re: previewing movies in an icon From: Josselin Mouette To: danny van elsen In-Reply-To: <1270328173.11466.5.camel@stille-pc.local> References: <1270328173.11466.5.camel@stille-pc.local> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-eLJ66qXSM4RCIHUK3tWl" Date: Sat, 03 Apr 2010 23:59:41 +0200 Message-ID: <1270331981.13094.7.camel@tomoyo> Mime-Version: 1.0 X-Mailer: Evolution 2.29.92.1 Cc: nautilus-list@gnome.org X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2010 22:37:59 -0000 --=-eLJ66qXSM4RCIHUK3tWl Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Le samedi 03 avril 2010 =C3=A0 22:56 +0200, danny van elsen a =C3=A9crit : > I noticed that Nautilus "previews" movie files by showing what I think > must be the first frame of the movie in the icon for the file >=20 > can anyone please point me to source code where this is done? >=20 > is gstreamer used for this, perhaps? >=20 > I would like to try and do something similer in my own application ... It=E2=80=99s done by totem-video-thumbnailer, you can find it in the totem sources. Cheers, --=20 .''`. Josselin Mouette : :' : `. `' =E2=80=9CIf you behave this way because you are blackmailed by someo= ne, `- [=E2=80=A6] I will see what I can do for you.=E2=80=9D -- J=C3=B6r= g Schilling --=-eLJ66qXSM4RCIHUK3tWl Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBLt7pLrSla4ddfhTMRAkcIAJ9FEMZ2rA+stQ4fYiYRB8uqghkAngCeNo67 SMlZF2+4EVefEXHQJFiZeE0= =dqG3 -----END PGP SIGNATURE----- --=-eLJ66qXSM4RCIHUK3tWl-- From i30817@gmail.com Sun Apr 4 12:00:24 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 57E787501BA for ; Sun, 4 Apr 2010 12:00:24 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.598 X-Spam-Level: X-Spam-Status: No, score=-2.598 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6KnfMMirHohV for ; Sun, 4 Apr 2010 12:00:23 +0000 (UTC) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by menubar.gnome.org (Postfix) with ESMTP id AE0CC75021B for ; Sun, 4 Apr 2010 12:00:14 +0000 (UTC) Received: by fxm27 with SMTP id 27so406995fxm.28 for ; Sun, 04 Apr 2010 05:00:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:content-type; bh=q2Dpuq56Vvj4l5U84BkNghTh2z8pyq+S1DyFOcPPqxY=; b=wcFKIJMeLEkIwLOS0mSy1dON7/rdljYBe0hrreJDDiKNyR4v+4HYdZ/sSuyR9w9WjM kY9cIMuavP74L24z69iO8ILHj9WssjndJRgOgpJnb8CnKEQ/zkv+G+pAfQDhYUAtQhr3 GTP2YSdZl7LopiXso0l6YH3znWj0vuadNs5kk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=rclK3IjnMXkzKQRso3rXyEgaDsL5VHOeY1NU/fDLgNH2RkkjoT3a/aO+auQp67cicd zBWIupPQ8Q5nG26YZ7mx18dHtqULQ1Go+ne+086X6qKJzJEVtGHLG3jkZtsn2HAPgi49 HQW8uMyuynb/7AYWOYwzk6b0oGoi5xEVbLx4w= MIME-Version: 1.0 Received: by 10.223.116.143 with HTTP; Sun, 4 Apr 2010 04:59:51 -0700 (PDT) In-Reply-To: References: From: Paulo Levi Date: Sun, 4 Apr 2010 12:59:51 +0100 Received: by 10.223.5.92 with SMTP id 28mr4369691fau.26.1270382411546; Sun, 04 Apr 2010 05:00:11 -0700 (PDT) Message-ID: Subject: Re: Any function to open a nautilus window with *selected* files? To: nautilus-list@gnome.org Content-Type: multipart/alternative; boundary=0015174478f45e980a048367f46a X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2010 12:00:24 -0000 --0015174478f45e980a048367f46a Content-Type: text/plain; charset=ISO-8859-1 On Sat, Apr 3, 2010 at 12:42 PM, Paulo Levi wrote: > I proposed this as a RFE for java 7 claiming that "all modern file managers > should have this capability and the code does the same thing anyway just > look at what happens when Desktop.browse(directory) is given a directly" > (open the directory, not selected admittedly) > Then i look at the jdk native code and see it is using the same native > function for all functions "gnome_url_show" and delegating the work of > choosing the application to gnome. > > Come on don't let me down here :( :( > Is there such a function. Something like explore(byte[] ... files) where > the files have to be in the same directory, i don't care as i can sort that > java side, just has to select atomically. > Even if only a file can be selected that is better than nothing. > Also strange that from the command line you choose to open a dialog saying > "The location is not a folder". > > Sarcasm aside, a useful feature no? I believe Explorer has this, at least i > found a documentation in msn describing the cmd line option with a google > search. > http://support.microsoft.com/kb/152457 > --0015174478f45e980a048367f46a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Sat, Apr 3, 2010 at 12:42 PM, Paulo L= evi <i30817@gmail.= com> wrote:
I proposed this as a RFE for java 7 claiming that "all modern file=20 managers should have this capability and the code does the same thing=20 anyway just look at what happens when Desktop.browse(directory) is given a = directly" (open the directory, not selected admittedly)
Then i look at the jdk native code and see it is using the same native=20 function for all functions "gnome_url_show" and delegating the wo= rk of choosing the application to gnome.

Come on don't let me do= wn=20 here :( :(
Is there such a function. Something like explore(byte[] ... f= iles) where the files have to be in the same directory, i don't care as i can sort that java side, just has to select atomically.
Even if only a file can be selected that is better than nothing.
Also st= range that from the command line you choose to open a dialog=20 saying "The location is not a folder".

Sarcasm aside, a us= eful feature no? I believe Explorer has this, at least i found a documentat= ion in msn describing the cmd line option with a google search.
http:/= /support.microsoft.com/kb/152457

--0015174478f45e980a048367f46a-- From i30817@gmail.com Sat Apr 3 11:42:34 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4EF947500AE for ; Sat, 3 Apr 2010 11:42:34 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.598 X-Spam-Level: X-Spam-Status: No, score=-2.598 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vGQWX3OfwoAy for ; Sat, 3 Apr 2010 11:42:32 +0000 (UTC) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by menubar.gnome.org (Postfix) with ESMTP id 8970C7500A6 for ; Sat, 3 Apr 2010 11:42:24 +0000 (UTC) Received: by fxm27 with SMTP id 27so1011917fxm.28 for ; Sat, 03 Apr 2010 04:42:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:received :message-id:subject:to:content-type; bh=GQCdpENnaR0pYvjxClSOu8NFaV7u9YY2XmH6O5IyQEg=; b=bkkYkaMpDnXBmyk+nxuhB8EK7z3m84s0DjVm2gNFxjf1pUfAJNciuXVQjxvWV3ueKx EvogSkh4BHwfqqI5PDFO8TRKV+A7rn1OX3MF5SKpWqz58JETiEHaPv5/EMrxiXPnNbhR voGVoWOaiC9o/wBWkw/zcvE1a0vRDgvByyJMI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=pLNnP05xBWtkh9lWcSdOgKwVtIJ2iQ1yovPW1/RsGOH4nUlXBbQUvn75dItQ13g6zz 2vuC1tqGwlim7M2UyLx2dJYqvGAlYpjs330NwcHLhGQ5xptWAp1+G65gsS4a0PDphwZw r+HYQkPJ6fCq50Jw3mIkU/qWbI752ziC+/zXo= MIME-Version: 1.0 Received: by 10.223.116.143 with HTTP; Sat, 3 Apr 2010 04:42:02 -0700 (PDT) From: Paulo Levi Date: Sat, 3 Apr 2010 12:42:02 +0100 Received: by 10.223.24.148 with SMTP id v20mr3213721fab.43.1270294942294; Sat, 03 Apr 2010 04:42:22 -0700 (PDT) Message-ID: Subject: Any function to open a nautilus window with *selected* files? To: nautilus-list@gnome.org Content-Type: multipart/alternative; boundary=001517447b5acba39f048353968f X-Mailman-Approved-At: Mon, 05 Apr 2010 13:54:06 +0000 X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2010 11:42:34 -0000 --001517447b5acba39f048353968f Content-Type: text/plain; charset=ISO-8859-1 I proposed this as a RFE for java 7 claiming that "all modern file managers should have this capability and the code does the same thing anyway just look at what happens when Desktop.browse(directory) is given a directly" (open the directory, not selected admittedly) Then i look at the jdk native code and see it is using the same native function for all checks gnome_url_show and delegating the work of choosing the application to gnome. Come on don't let me down here :( :( Is there such a function. Something like explore(byte[] ... files) where the files have to be in the same directory, i don't care as i can sort that java side, just has to select atomically. Also strange that from the command line you choose to open a dialog saying "The location is not a folder". Well thanks for that. Very enlightening. Sarcasm aside, a useful feature no? I believe Explorer has this, at least i found a documentation in msn describing the cmd line option with a google search, something i did not find with nautilus. http://support.microsoft.com/kb/152457 --001517447b5acba39f048353968f Content-Type: text/html; charset=ISO-8859-1 I proposed this as a RFE for java 7 claiming that "all modern file managers should have this capability and the code does the same thing anyway just look at what happens when Desktop.browse(directory) is given a directly" (open the directory, not selected admittedly)
Then i look at the jdk native code and see it is using the same native function for all checks gnome_url_show and delegating the work of choosing the application to gnome.

Come on don't let me down here :( :(
Is there such a function. Something like explore(byte[] ... files) where the files have to be in the same directory, i don't care as i can sort that java side, just has to select atomically.

Also strange that from the command line you choose to open a dialog saying "The location is not a folder". Well thanks for that. Very enlightening.

Sarcasm aside, a useful feature no? I believe Explorer has this, at least i found a documentation in msn describing the cmd line option with a google search, something i did not find with nautilus.
http://support.microsoft.com/kb/152457
--001517447b5acba39f048353968f-- From baptiste.millemathias@gmail.com Mon Apr 5 15:55:12 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 034D7750112 for ; Mon, 5 Apr 2010 15:55:12 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r1MkCietkeUu for ; Mon, 5 Apr 2010 15:55:11 +0000 (UTC) Received: from mail-iw0-f173.google.com (mail-iw0-f173.google.com [209.85.223.173]) by menubar.gnome.org (Postfix) with ESMTP id 05AD475010D for ; Mon, 5 Apr 2010 15:55:00 +0000 (UTC) Received: by iwn3 with SMTP id 3so3468394iwn.3 for ; Mon, 05 Apr 2010 08:54:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=BQSdrwNq2R+Fo06X6v3eUEu4efaL0VolcrfE9uuIli8=; b=rZC0wJHLLfRrlTuboO+zKtHa2Rtr0X0STfeh/nVzByT4h4cZUxgpOYeR/1totpi+6G oJzyYW1GvF3A6XnSd+1816F2w57yjsrXnqQ+IdgdhkEr6kKtC1Modw60KyQvCJLvHuRT mEeLG8JT8mk2+JRYuFzuH0gwzrL6usm7eLmU0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=gols6SvKg89EVeWtOeChyl48t78aEdxwPBzx7FDtgzocE5P20eZz7bJGgJ7q2yrEMr YduAOzYjT/dhGVs8T2hkb2QS0MGO+HbPjf94EenyTMHLdPPu1QqiXP6UvaNBQKocKjIE loRt8pzjVGfB5W2y+b4gJ6I08wj3sPbyBU0EE= Received: by 10.231.167.4 with SMTP id o4mr373088iby.66.1270482899280; Mon, 05 Apr 2010 08:54:59 -0700 (PDT) Received: from [192.168.1.22] (2.100.67-86.rev.gaoland.net [86.67.100.2]) by mx.google.com with ESMTPS id cm22sm9771563ibb.17.2010.04.05.08.54.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 05 Apr 2010 08:54:57 -0700 (PDT) Subject: Re: Any function to open a nautilus window with *selected* files? From: Baptiste Mille-Mathias To: Paulo Levi In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Mon, 05 Apr 2010 17:54:53 +0200 Message-ID: <1270482893.21261.3.camel@oak> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 8bit Cc: nautilus-list@gnome.org X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2010 15:55:12 -0000 Le samedi 03 avril 2010 à 12:42 +0100, Paulo Levi a écrit : Hello Paulo it seems the tone of your mail is really not appropriated, and I don't understand why you are speaking about java and jdk here. Anyway, there is already an enhancement request opened on the GNOME bug tracking system. [0] Bye [0] https://bugzilla.gnome.org/show_bug.cgi?id=498506 From andersonmartiniano@gmail.com Mon Apr 5 18:28:03 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 301877500F6 for ; Mon, 5 Apr 2010 18:28:03 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.598 X-Spam-Level: X-Spam-Status: No, score=-2.598 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pm4gT5Y6cMnR for ; Mon, 5 Apr 2010 18:28:02 +0000 (UTC) Received: from mail-ew0-f217.google.com (mail-ew0-f217.google.com [209.85.219.217]) by menubar.gnome.org (Postfix) with ESMTP id DEB427500C0 for ; Mon, 5 Apr 2010 18:27:53 +0000 (UTC) Received: by ewy9 with SMTP id 9so1133643ewy.29 for ; Mon, 05 Apr 2010 11:27:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:received :message-id:subject:to:content-type; bh=x5TbGgnBMNQ5zB58p1SKQqTAhBpXN+Yc9bNu6aCUDzY=; b=sTOmXGk6sv4xM3nXAROi3i6E5f6owh09KAQ0oZA2Q1f0dpmbnaUH91WmFN48aaF0Wr yHtdOoQLW4/5PB6KyLj/guhcvF5KGrTMmCycZ2+J5njp66W2hgWHXoMuyvYe6dagF+SY zhbEjQsX9sQxlS9BXBRwVQSpff6etOfZkcHKA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=sZ2hWhENGW8Bbifucr+97eO+GFPn+TKS+T0bmhvaGDiLVVsbCzzJ1IGJjpKhNodvPu ym7W8/kMnJN2G+ePt0WoL6t1rRi4R8UPtx36n8Ocvkstmi6Zay/nJt6caXdWdx40eW79 NB6RvfgIfZaUOJWNdrBSaq4OatGI48X+O18xY= MIME-Version: 1.0 Received: by 10.213.20.14 with HTTP; Mon, 5 Apr 2010 11:27:31 -0700 (PDT) From: Anderson Martiniano Date: Mon, 5 Apr 2010 15:27:31 -0300 Received: by 10.213.43.68 with SMTP id v4mr3187445ebe.91.1270492071153; Mon, 05 Apr 2010 11:27:51 -0700 (PDT) Message-ID: Subject: Use accessor functions instead direct access To: nautilus-list@gnome.org Content-Type: multipart/alternative; boundary=0014852e20729752250483817c87 X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2010 18:28:03 -0000 --0014852e20729752250483817c87 Content-Type: text/plain; charset=ISO-8859-1 Hello people, I would like know more info about the Nautilus and GNOME Goal [0] is there someone working on it? [0] http://live.gnome.org/GnomeGoals/UseGseal Anderson Martiniano --0014852e20729752250483817c87 Content-Type: text/html; charset=ISO-8859-1 Hello people,
I would like know more info about the Nautilus and GNOME Goal [0]
is there someone working on it?

[0] http://live.gnome.org/GnomeGoals/UseGseal

Anderson Martiniano
--0014852e20729752250483817c87-- From sickert@in.tum.de Tue Apr 6 10:57:23 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 0E9AD750063; Tue, 6 Apr 2010 10:57:23 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dr+rreJer3HA; Tue, 6 Apr 2010 10:57:20 +0000 (UTC) X-Greylist: delayed 362 seconds by postgrey-1.32 at menubar.gnome.org; Tue, 06 Apr 2010 10:57:19 UTC Received: from mail-out1.informatik.tu-muenchen.de (mail-out1.informatik.tu-muenchen.de [131.159.0.8]) by menubar.gnome.org (Postfix) with ESMTP id C612E75009D; Tue, 6 Apr 2010 10:57:10 +0000 (UTC) Received: from [192.168.2.101] (dslb-084-056-021-185.pools.arcor-ip.net [84.56.21.185]) (using SSLv3 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.in.tum.de (Postfix) with ESMTP id 818BEC0D3; Tue, 6 Apr 2010 12:51:05 +0200 (CEST) Subject: GSoC - Improving the desktop experience with the "Task" and "TaskMonitor" D-Bus API From: Salomon Sickert To: epiphany-list , gnome-shell-list@gnome.org, gnome-list , gnome-soc-list , nautilus-list , telepathy Content-Type: text/plain; charset="UTF-8" Date: Tue, 06 Apr 2010 12:51:04 +0200 Message-ID: <1270551064.2748.13.camel@phoenix> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2010 10:57:23 -0000 Hi, I just want to announce the availability of my proposal at http://socghop.appspot.com/gsoc/student_proposal/private/google/gsoc2010/sickert/t127021584118 Mockups are located here: http://home.in.tum.de/~sickert/dbus-tasks-mockups As always comments and advice are appreciated especially from GNOME-Shell, Nautilus, Epiphany and Empathy/Telepathy developers. Sincerely Salomon Sickert From ak-47@gmx.net Tue Apr 6 12:05:01 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 73B397500AF for ; Tue, 6 Apr 2010 12:05:01 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.98 X-Spam-Level: X-Spam-Status: No, score=-1.98 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, RCVD_IN_SORBS_WEB=0.619] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NIFFvUMt6Suu for ; Tue, 6 Apr 2010 12:05:00 +0000 (UTC) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by menubar.gnome.org (Postfix) with SMTP id 29ACC75009D for ; Tue, 6 Apr 2010 12:04:51 +0000 (UTC) Received: (qmail invoked by alias); 06 Apr 2010 12:04:49 -0000 Received: from g1.blanicka25.net (EHLO [10.0.0.7]) [82.208.42.129] by mail.gmx.net (mp008) with SMTP; 06 Apr 2010 14:04:49 +0200 X-Authenticated: #726810 X-Provags-ID: V01U2FsdGVkX1+sHrEXdGesZmdX4Xw4FAS1fP5VhWNd5CyVrmO0mS UGTsTebJtN9ll+ Subject: Re: Use accessor functions instead direct access From: Andre Klapper To: Anderson Martiniano In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Tue, 06 Apr 2010 14:04:48 +0200 Message-ID: <1270555488.2969.65.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 (2.28.3-1.fc12) Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.67000000000000004 Cc: nautilus-list@gnome.org X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2010 12:05:01 -0000 Am Montag, den 05.04.2010, 15:27 -0300 schrieb Anderson Martiniano: > I would like know more info about the Nautilus and GNOME Goal [0] > is there someone working on it? > > [0] http://live.gnome.org/GnomeGoals/UseGseal As this is not a huge or complicated task I propose that you just go ahead: Try to compile nautilus git master with -DGSEAL_ENABLE to see if work is required in order to potentially come up with a patch. andre -- mailto:ak-47@gmx.net | failed http://www.iomc.de/ | http://blogs.gnome.org/aklapper From nautilus@mejlamej.nu Tue Apr 6 20:59:12 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 46F2E750104 for ; Tue, 6 Apr 2010 20:59:12 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.522 X-Spam-Level: X-Spam-Status: No, score=-2.522 tagged_above=-999 required=2 tests=[BAYES_00=-2.599, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id doVpt0uPoQo4 for ; Tue, 6 Apr 2010 20:59:11 +0000 (UTC) X-Greylist: delayed 986 seconds by postgrey-1.32 at menubar.gnome.org; Tue, 06 Apr 2010 20:59:10 UTC Received: from rit-mx01.rationellit.se (mailin.rationellit.se [212.214.97.157]) by menubar.gnome.org (Postfix) with ESMTP id B5A8C750112 for ; Tue, 6 Apr 2010 20:59:02 +0000 (UTC) Received: from [10.1.232.10] (port=50866 helo=[192.168.100.139]) by rit-mx01.rationellit.se with esmtpa (Exim 4.63) (envelope-from ) id 1NzFbU-0006eD-Fe for nautilus-list@gnome.org; Tue, 06 Apr 2010 22:42:32 +0200 Received: from [192.168.100.139] ([85.229.140.223] helo=[192.168.100.139]) by ASSP.nospam; 6 Apr 2010 22:42:31 +0200 Message-ID: <4BBB9CB7.1080703@mejlamej.nu> Date: Tue, 06 Apr 2010 22:42:31 +0200 From: Marcus Carlson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100404 Thunderbird/3.0.4 MIME-Version: 1.0 To: nautilus-list@gnome.org Subject: Patches Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2010 20:59:12 -0000 Hi list! I've made a few patches for nautilus and would like someone to review and comment on them. I'd also like some input on other bugs to continue working on them. *** Emblems get cut when scaled to a zoom >= 150% (refresh issue) *** https://bugzilla.gnome.org/show_bug.cgi?id=343540 Patch exists and has been tested to work really well. Probably ok to commit. *** Should be able to sort by "when file was binned" in Trash folder *** https://bugzilla.gnome.org/show_bug.cgi?id=89706 Updated patch after review from alex. *** crash in Open Folder: Not sure what triggered ... *** https://bugzilla.gnome.org/show_bug.cgi?id=579627 Crash when opening an invalid network bookmark. Should be ok to commit. Something for 2.30.1? *** File operation dialogue , the file count and the size count change in opposite direction. *** https://bugzilla.gnome.org/show_bug.cgi?id=606955 Patch exists and needs review/comment. *** nautilus should always show disk free space *** https://bugzilla.gnome.org/show_bug.cgi?id=588641 Need input from alex (?) as the translated strings looks valid to me and the comment in the code. *** Open location should not close on invalid path *** https://bugzilla.gnome.org/show_bug.cgi?id=512171 Annoying bug (at least for me). Patch exists and is updated against git. Also need comment from alex as I'm not 100% sure what he means... *** spacebar in nautilus should not open a file *** https://bugzilla.gnome.org/show_bug.cgi?id=606403 Needs help from a gtk ninja. An almost working patch exists but I'm not sure this is the right approach... *** pathbar inconsistent when clicking a folder that no longer exist *** https://bugzilla.gnome.org/show_bug.cgi?id=310205 Last patch needs review and I'll be happy to fix the issues (if Ted won't have time) I think that was all for this time... Best regards, Marcus From nautilus@mejlamej.nu Tue Apr 6 21:05:34 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 47928750104 for ; Tue, 6 Apr 2010 21:05:34 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2.599 X-Spam-Level: X-Spam-Status: No, score=-2.599 tagged_above=-999 required=2 tests=[BAYES_00=-2.599] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YUaMA87kL4IX for ; Tue, 6 Apr 2010 21:05:33 +0000 (UTC) Received: from rit-mx01.rationellit.se (mailin.rationellit.se [212.214.97.157]) by menubar.gnome.org (Postfix) with ESMTP id 36ED67500DA for ; Tue, 6 Apr 2010 21:05:24 +0000 (UTC) Received: from [10.1.232.10] (port=45545 helo=[192.168.100.139]) by rit-mx01.rationellit.se with esmtpa (Exim 4.63) (envelope-from ) id 1NzFxa-00085P-VM; Tue, 06 Apr 2010 23:05:23 +0200 Received: from [192.168.100.139] ([85.229.140.223] helo=[192.168.100.139]) by ASSP.nospam; 6 Apr 2010 23:05:21 +0200 Message-ID: <4BBBA211.4050701@mejlamej.nu> Date: Tue, 06 Apr 2010 23:05:21 +0200 From: Marcus Carlson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100404 Thunderbird/3.0.4 MIME-Version: 1.0 To: Salomon Sickert Subject: Re: GSoC - Improving the desktop experience with the "Task" and "TaskMonitor" D-Bus API References: <1270551064.2748.13.camel@phoenix> In-Reply-To: <1270551064.2748.13.camel@phoenix> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: nautilus-list X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2010 21:05:34 -0000 2010-04-06 12:51, Salomon Sickert skrev: > Hi, > > I just want to announce the availability of my proposal at > http://socghop.appspot.com/gsoc/student_proposal/private/google/gsoc2010/sickert/t127021584118 > > Mockups are located here: > http://home.in.tum.de/~sickert/dbus-tasks-mockups > > As always comments and advice are appreciated especially from > GNOME-Shell, Nautilus, Epiphany and Empathy/Telepathy developers. > > Nice. Have you seen the bug about the File Operations dialog [1] and the proposed mockup [2]? Marcus [1] https://bugzilla.gnome.org/show_bug.cgi?id=518410 [2] http://live.gnome.org/Nautilus/ProgressWindow > Sincerely > > Salomon Sickert > > From kalabharath@gmail.com Thu Apr 15 04:34:32 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C4BCE7500C7 for ; Thu, 15 Apr 2010 04:34:32 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.989 X-Spam-Level: X-Spam-Status: No, score=-1.989 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z94OodfuTwGB for ; Thu, 15 Apr 2010 04:34:29 +0000 (UTC) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by menubar.gnome.org (Postfix) with ESMTP id 7F53F750024 for ; Thu, 15 Apr 2010 04:34:21 +0000 (UTC) Received: by gwaa12 with SMTP id a12so513087gwa.27 for ; Wed, 14 Apr 2010 21:34:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:received :message-id:subject:to:content-type; bh=NewZEIToSnkoL+PoaZdauFvNN9VXk9QJJ6kQvt3Y6Kw=; b=gfb8bvJDroJ0aNdx9tWdNku3SvROrfCDRcq3IRNE+uVepkysWVUFN93L3JN6G0ViJ5 H4SYRRWuIGd3s4z/Ww1OlusVi0V/n2hR7OQ13o0o9VkbnftRfnSpfi89HFahwC+kq8VM IyUvPAW4Zo2Xg53i7Lty9JPDTXjNwk6S7ibv0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=QRdIlin3wg5s+E9oyyCF/pQG+pG6oLCjoc8f22YgQb2Er+lBwtUhvQont96j76ADXG KpW8WexNtT4JJz0XUx6D8kECO3hn54tkK1KjM6cqnDNo+hfPD3FIxSnMPolg12bybWtB Il02Y/cVCEMZnUXBDxLjUhrXYVqKi2gorZSZc= MIME-Version: 1.0 Received: by 10.90.70.17 with HTTP; Wed, 14 Apr 2010 21:33:58 -0700 (PDT) From: kala Date: Thu, 15 Apr 2010 10:03:58 +0530 Received: by 10.91.131.7 with SMTP id i7mr3819860agn.35.1271306058296; Wed, 14 Apr 2010 21:34:18 -0700 (PDT) Message-ID: Subject: Nautilus rebuild Changing default actions To: nautilus-list@gnome.org Content-Type: multipart/alternative; boundary=0016e64654be0179c604843f02e1 X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2010 04:34:33 -0000 --0016e64654be0179c604843f02e1 Content-Type: text/plain; charset=ISO-8859-1 Dear Friends I am trying to build a linux distro by modifying fedora, I want to change the default action configuration of nautilus. particularly i want all the folders to open in browser windows by default, I have downloaded the nautilus src rpm for fc12 but couldn't able to figure out how to do it, kindly help me out kala bharath --0016e64654be0179c604843f02e1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear Friends
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 I am tr= ying to build a linux distro by modifying fedora, I want to change the defa= ult action configuration of nautilus. particularly i want all the folders t= o open in browser windows by default, I have downloaded the nautilus src rp= m for fc12 but couldn't able to figure out how to do it, kindly help me= out
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
kala bharat= h
--0016e64654be0179c604843f02e1-- From berndth@gmx.de Thu Apr 15 06:32:13 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 57904750024 for ; Thu, 15 Apr 2010 06:32:13 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.89 X-Spam-Level: X-Spam-Status: No, score=-1.89 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CYXF0cs0+ENz for ; Thu, 15 Apr 2010 06:32:11 +0000 (UTC) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by menubar.gnome.org (Postfix) with SMTP id BF4B07500C8 for ; Thu, 15 Apr 2010 06:32:02 +0000 (UTC) Received: (qmail invoked by alias); 15 Apr 2010 06:32:00 -0000 Received: from dslb-084-056-139-220.pools.arcor-ip.net (EHLO wodan) [84.56.139.220] by mail.gmx.net (mp068) with SMTP; 15 Apr 2010 08:32:00 +0200 X-Authenticated: #755340 X-Provags-ID: V01U2FsdGVkX1892aZ1PyA9fVSSM5YKiU/WwdJBgs80Mqp9HekN1/ VO+ZTho1k68kuP Date: Thu, 15 Apr 2010 08:31:58 +0200 From: Holger Berndt To: nautilus-list@gnome.org Subject: Re: Nautilus rebuild Changing default actions In-Reply-To: References: X-Mailer: Claws Mail 3.7.5cvs45 (GTK+ 2.18.3; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.65000000000000002 Message-Id: <20100415063210.BF4B07500C8@menubar.gnome.org> X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2010 06:32:13 -0000 On Do, 15.04.2010 10:03, kala wrote: >particularly i >want all the folders to open in browser windows by default Nautilus changed already to have browser mode as the default. The corresponding commit was http://git.gnome.org/browse/nautilus/commit/?id=07c0bf9cb422d38fb4c38faed7af261c5411378c Holger From robin.hahling@gw-computing.net Mon Apr 19 18:14:42 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D21A275016A for ; Mon, 19 Apr 2010 18:14:42 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -0.001 X-Spam-Level: X-Spam-Status: No, score=-0.001 tagged_above=-999 required=2 tests=[BAYES_20=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IShVKJTlxAIM for ; Mon, 19 Apr 2010 18:14:39 +0000 (UTC) X-Greylist: delayed 702 seconds by postgrey-1.32 at menubar.gnome.org; Mon, 19 Apr 2010 18:14:39 UTC Received: from smtp2.infomaniak.ch (smtp2.infomaniak.ch [84.16.68.90]) by menubar.gnome.org (Postfix) with ESMTP id 679B87500EB for ; Mon, 19 Apr 2010 18:14:31 +0000 (UTC) Received: from webmail.infomaniak.ch (mta-web7.infomaniak.ch [84.16.68.40]) (authenticated bits=0) by smtp2.infomaniak.ch (8.14.2/8.14.2) with ESMTP id o3JI2jf6013731 for ; Mon, 19 Apr 2010 20:02:46 +0200 Date: Mon, 19 Apr 2010 20:02:44 +0200 From: Robin Hahling To: nautilus-list@gnome.org Subject: How to contribute? Message-ID: <1271700164-c766655c6101143b0be98c6ffc05d1a8@gw-computing.net> X-Mailer: Infomaniak Webmail X-Origin-IP: 83.76.23.98 MIME-Version: 1.0 X-Priority: 3 (Normal) Content-Type: multipart/alternative; Boundary="-Webmail12717001647d40d43bcd63991d611b630c6007733f" X-Antivirus: Dr.Web (R) for Mail Servers on smtp2 host X-Antivirus-Code: 100000 X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2010 18:14:43 -0000 This is a multi-part message in MIME format. ---Webmail12717001647d40d43bcd63991d611b630c6007733f Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi all, first, I will do a little presentation. My real name is Robin and I'm a 23 years old student from the University of Geneva. Studying computer science, of course. My mother language is french so please, forgive my english mistakes ;) A friend of mine and myself started to developp an application that would copy files using the principle of queue and with the ability to pause a copy. But later on, we realised it would be much better if we can add this feature to nautilus as it already does lots of things like copying from an ftp server or handling the dragNdrop. Moreover, it would be more integrated to the system of someone who uses gnome as a DE. So, my question is: is it possible to developp it as u plugin? (I think this would cause lots of problems) Or, is it possible to implemente those features in Nautilus directly and be part of nautilus developpers? We would love to participate! Thanks for having reading me and payed attention to this email. Robin Hahling ---Webmail12717001647d40d43bcd63991d611b630c6007733f Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 7bit

Hi all,

first, I will do a little presentation.

My real name is Robin and I'm a 23 years old student from the University of Geneva. Studying computer science, of course. My mother language is french so please, forgive my english mistakes ;)

A friend of mine and myself started to developp an application that would copy files using the principle of queue and with the ability to pause a copy. But later on, we realised it would be much better if we can add this feature to nautilus as it already does lots of things like copying from an ftp server or handling the dragNdrop. Moreover, it would be more integrated to the system of someone who uses gnome as a DE.

So, my question is: is it possible to developp it as u plugin? (I think this would cause lots of problems) Or, is it possible to implemente those features in Nautilus directly and be part of nautilus developpers? We would love to participate!

Thanks for having reading me and payed attention to this email.

Robin Hahling

---Webmail12717001647d40d43bcd63991d611b630c6007733f-- From jason.heeris@gmail.com Mon Apr 26 06:59:11 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 74B5B7500F1 for ; Mon, 26 Apr 2010 06:59:11 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.99 X-Spam-Level: X-Spam-Status: No, score=-1.99 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Su2xagL+2Jkj for ; Mon, 26 Apr 2010 06:59:08 +0000 (UTC) Received: from mail-pz0-f183.google.com (mail-pz0-f183.google.com [209.85.222.183]) by menubar.gnome.org (Postfix) with ESMTP id CD56675006C for ; Mon, 26 Apr 2010 06:59:00 +0000 (UTC) Received: by pzk13 with SMTP id 13so7892003pzk.13 for ; Sun, 25 Apr 2010 23:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=s0RX/0KARjV5IaqflCVWIbHV29wZxG+NrTlk6D0BVm8=; b=uOVLskq1GPoX+t3uu+PTSA6XK6qkQiW/9o+MqA7OdUp/iFYzPZVtkGoI5i5ttJY4Ad FJgQI5Bb1eeEp2LDVnqOSZVAWsp/K+kFRYDMWpDbUEh5/H4/tqsZ8WbEnAGN11VdWjcx XyO+NbcOZVBwkm/580QJmOmtW03hanAGsRg8E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=hTjh1gudB+xoed1Hx1tmN1k6sPfwz+Y+ISQvfXreTTPHgnvaayCT3OwTjWfoGju6eP ZuWILT1badY+q4Mp3x6ObEI/IFVoxpbzN6H6jxfhQnIawpA7O2iD0LPR/2XRgucgBi9g GmBHrEgyPvAvLfvKgTPGzBzv6VKU8+qXA9wEc= MIME-Version: 1.0 Received: by 10.140.248.13 with SMTP id v13mr3096652rvh.25.1272265138943; Sun, 25 Apr 2010 23:58:58 -0700 (PDT) Received: by 10.140.173.18 with HTTP; Sun, 25 Apr 2010 23:58:58 -0700 (PDT) Date: Mon, 26 Apr 2010 14:58:58 +0800 Message-ID: Subject: Question about nautilus_menu_provider_emit_items_updated_signal From: Jason Heeris To: nautilus-list@gnome.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 06:59:11 -0000 Hi, The Nautilus menu provider interface includes the function: nautilus_menu_provider_emit_items_updated_signal() What does this function do (and how should it be used)? Presumably it relates to refreshing menu items, but can it be used for the "background" menu (obtained by get_background_items)? It's not in the nautilus-python bindings... does that mean it can't be used by Python extensions? Cheers, Jason From alexl@redhat.com Mon Apr 26 09:31:26 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id CBDA87500D8 for ; Mon, 26 Apr 2010 09:31:26 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.912 X-Spam-Level: X-Spam-Status: No, score=-6.912 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1gGHa0pPRR4y for ; Mon, 26 Apr 2010 09:31:25 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by menubar.gnome.org (Postfix) with ESMTP id EAE7D7500DA for ; Mon, 26 Apr 2010 09:31:16 +0000 (UTC) Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3Q9VEZ8016155 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 26 Apr 2010 05:31:14 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3Q9VCcB002733; Mon, 26 Apr 2010 05:31:13 -0400 Subject: Re: How to contribute? From: Alexander Larsson To: Robin Hahling In-Reply-To: <1271700164-c766655c6101143b0be98c6ffc05d1a8@gw-computing.net> References: <1271700164-c766655c6101143b0be98c6ffc05d1a8@gw-computing.net> Content-Type: text/plain; charset="UTF-8" Date: Mon, 26 Apr 2010 11:31:12 +0200 Message-ID: <1272274272.32401.50.camel@fatty> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 Cc: nautilus-list@gnome.org X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 09:31:27 -0000 On Mon, 2010-04-19 at 20:02 +0200, Robin Hahling wrote: > A friend of mine and myself started to developp an application that > would copy files using the principle of queue and with the ability to > pause a copy. But later on, we realised it would be much better if we > can add this feature to nautilus as it already does lots of things > like copying from an ftp server or handling the dragNdrop. Moreover, > it would be more integrated to the system of someone who uses gnome as > a DE. > > So, my question is: is it possible to developp it as u plugin? (I > think this would cause lots of problems) Or, is it possible to > implemente those features in Nautilus directly and be part of nautilus > developpers? We would love to participate! No, plugins (currently extensions and nautilus scripts) has no way to do this. They are very much limited in how they can extend nautilus. So, such a feature would have to be made as a change to the core of nautilus. Don't let that scare you though, things are not necessarily easier just because you can do it in a plugin, often quite the reverse is true. So, just download the nautilus code, fire up your editors and start hacking. I'm personally a bit busy with non-nautilus work currently, so things are a bit slow in nautilus land atm. I do my best to look at patches when i can, and so do the other developers, but don't be discouraged if there are some delays in responses. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Alexander Larsson Red Hat, Inc alexl@redhat.com alexander.larsson@gmail.com He's a bookish playboy card sharp haunted by an iconic dead American confidante She's a radical blonde femme fatale fleeing from a Satanic cult. They fight crime! From alexl@redhat.com Mon Apr 26 09:38:02 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D2ACF750070 for ; Mon, 26 Apr 2010 09:38:02 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.912 X-Spam-Level: X-Spam-Status: No, score=-6.912 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fmCJbzzgYqRI for ; Mon, 26 Apr 2010 09:38:01 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by menubar.gnome.org (Postfix) with ESMTP id 25BDF75006C for ; Mon, 26 Apr 2010 09:37:52 +0000 (UTC) Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3Q9bnZL025821 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 26 Apr 2010 05:37:49 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3Q9bl9d006295; Mon, 26 Apr 2010 05:37:48 -0400 Subject: Re: Question about nautilus_menu_provider_emit_items_updated_signal From: Alexander Larsson To: Jason Heeris In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Mon, 26 Apr 2010 11:37:47 +0200 Message-ID: <1272274667.32401.52.camel@fatty> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 Cc: nautilus-list@gnome.org X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 09:38:03 -0000 On Mon, 2010-04-26 at 14:58 +0800, Jason Heeris wrote: > Hi, > > The Nautilus menu provider interface includes the function: > nautilus_menu_provider_emit_items_updated_signal() > > What does this function do (and how should it be used)? Presumably it > relates to refreshing menu items, but can it be used for the > "background" menu (obtained by get_background_items)? It's not in the > nautilus-python bindings... does that mean it can't be used by Python > extensions? It signals that any view showing things that depend on this provider should recreate its popup menu to get the new list of menu items from the provider. nautilus_menu_provider_emit_items_updated_signal just emits the "items_updated" signal on the provider, so you can do that yourself from python. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Alexander Larsson Red Hat, Inc alexl@redhat.com alexander.larsson@gmail.com He's a deeply religious zombie vampire hunter living undercover at Ringling Bros. Circus. She's a psychotic mutant angel who believes she is the reincarnation of an ancient Egyptian queen. They fight crime! From jason.heeris@gmail.com Mon Apr 26 10:20:38 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 96E56750070 for ; Mon, 26 Apr 2010 10:20:38 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -0.969 X-Spam-Level: X-Spam-Status: No, score=-0.969 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, MISSING_HEADERS=1.021, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R6WsWJ8+yWoG for ; Mon, 26 Apr 2010 10:20:36 +0000 (UTC) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by menubar.gnome.org (Postfix) with ESMTP id 8ED8475006C for ; Mon, 26 Apr 2010 10:20:28 +0000 (UTC) Received: by pva18 with SMTP id 18so1592657pva.27 for ; Mon, 26 Apr 2010 03:20:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:cc:content-type :content-transfer-encoding; bh=KuPscs0gV5n5NMguAUpPFONO7y8HQHIvJat4foFM4kE=; b=r+eZefTIEFCTt/YLTGeFCkD68EsoijZM5scGlsIMnb4oPsrz9f4Zk/Y0nRA0qpXb8D 3Ys9OnRQA4sT1QApDeVvJ5hLt799Bl1wMGDZ52cdxlLcvhImhOxh7hVNIHzidIc5K/+g x+w0tI7FtO6CJR6SeNLD50Il7wBVYiCyKSCYM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; b=Rhx07gVSYtc1RdUCRp0NXUv1znoIdeFS1kQLsnZSY4dlttBQAuH0My9HWUF9xVo4yu 1b0320IPGd8K8XYUuBtAy0vtPJ8Uce95uY29DN1AvfTE1GmSY0+k4k0UnBzXMp9CCoYU q3EkBl2Kx2chW0lEJYPheLmDrp6Y+aRV/3/fQ= MIME-Version: 1.0 Received: by 10.140.180.5 with SMTP id c5mr3223533rvf.204.1272277226775; Mon, 26 Apr 2010 03:20:26 -0700 (PDT) Received: by 10.140.173.18 with HTTP; Mon, 26 Apr 2010 03:20:26 -0700 (PDT) In-Reply-To: <1272274667.32401.52.camel@fatty> References: <1272274667.32401.52.camel@fatty> Date: Mon, 26 Apr 2010 18:20:26 +0800 Message-ID: Subject: Re: Question about nautilus_menu_provider_emit_items_updated_signal From: Jason Heeris Cc: nautilus-list@gnome.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 10:20:38 -0000 On 26 April 2010 17:37, Alexander Larsson wrote: > nautilus_menu_provider_emit_items_updated_signal just emits the > "items_updated" signal on the provider, so you can do that yourself from > python. (Sorry, I replied to Alex instead of the list!) What do I emit it from? The nautilus.MenuProvider doesn't provide any "emit" method. =E2=80=94 Jason From jason.heeris@gmail.com Mon Apr 26 12:31:37 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 59E137500DA for ; Mon, 26 Apr 2010 12:31:37 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.99 X-Spam-Level: X-Spam-Status: No, score=-1.99 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1ImnPZ29rpmh for ; Mon, 26 Apr 2010 12:31:32 +0000 (UTC) Received: from mail-pz0-f183.google.com (mail-pz0-f183.google.com [209.85.222.183]) by menubar.gnome.org (Postfix) with ESMTP id 4C32E7500AE for ; Mon, 26 Apr 2010 12:31:23 +0000 (UTC) Received: by pzk13 with SMTP id 13so8028235pzk.13 for ; Mon, 26 Apr 2010 05:31:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=40tXLbdh3JRjdC50jnq7O2cKAUU6vdvE0PmaaozuRV0=; b=KnwHU8ZTJsn8jboc+cX3Gw7jmfoN0kSMF+xzoOHwWYlVUNgbhgntzHItnQ5zWI6MoK B5E1ZQgB//t01AYZNN8DHLgE2Vj7XtqZ9MUMyxC81V+ysZxk7HoEEm88YSPtswdvBI1X 2ZRWJXtL8ehwDdeDRbq8XuLBrM1wiXbD0eW6Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=FceXcIbkYcvp6t4ZT/8yDt26xYEQgH86e9G25wtxN4wsTFjECM0hqXF6gFRMmuugjV dDhhoQ1qIqkFOLIoIIellWn00fyfJBmgyM+VP+CZUWp6nQw1MFhWCnaibq3nVQgvZKT6 ysdwF4TRMrJ7l8SjoWuzGCgUwYvL4QNQoBG6o= MIME-Version: 1.0 Received: by 10.140.180.5 with SMTP id c5mr3408126rvf.204.1272285081491; Mon, 26 Apr 2010 05:31:21 -0700 (PDT) Received: by 10.140.173.18 with HTTP; Mon, 26 Apr 2010 05:31:21 -0700 (PDT) In-Reply-To: <1272280778.32401.53.camel@fatty> References: <1272274667.32401.52.camel@fatty> <1272280778.32401.53.camel@fatty> Date: Mon, 26 Apr 2010 20:31:21 +0800 Message-ID: Subject: Re: Question about nautilus_menu_provider_emit_items_updated_signal From: Jason Heeris To: nautilus-list@gnome.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Alexander Larsson X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 12:31:37 -0000 On 26 April 2010 19:19, Alexander Larsson wrote: >> What do I emit it from? The nautilus.MenuProvider doesn't provide any >> "emit" method. > > Signal emission is a basic part of gobject, not a method on > MenuProvider. Sorry... I'm just not clear on the details here. If I subclass gobject.GObject and use the "emit" method, then I get: Emitting signal... Traceback (most recent call last): File "/home/jason/.nautilus/python-extensions/MenuProvTest.py", line 32, in updated_callback self.emit('items_updated') TypeError: : unknown signal name: items_updated If I add the "items_updated" signal to my class' __gsignals__ dict, then there's no exception, but nothing happens (I presume then that I'm not firing the signal that the nautilus extension API defines, but my own custom one now). Here's the test I'm using: ---- import sys import nautilus import gobject FAKE_MENU_ITEM =3D nautilus.MenuItem( "Fake", "Fake menu item", "Fake menu item", None) class MenuProviderTest(gobject.GObject, nautilus.MenuProvider): # Probably not a good idea: __gsignals__ =3D { 'items_updated' : (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, ()) } def __init__(self): super(MenuProviderTest, self).__init__() def get_file_items(self, window, items): sys.stderr.write("In get_file_items\n") return [FAKE_MENU_ITEM] def get_background_items(self, window, folder): sys.stderr.write("In get_background_items\n") gobject.timeout_add_seconds(10, self.updated_callback) return [FAKE_MENU_ITEM] def updated_callback(self): sys.stderr.write("Emitting signal...\n") self.emit('items_updated') sys.stderr.write("Signal done...\n") return False gobject.type_register(MenuProviderTest) ---- =E2=80=94 Jason From alexl@redhat.com Mon Apr 26 13:27:03 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 30F487500DE for ; Mon, 26 Apr 2010 13:27:03 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.912 X-Spam-Level: X-Spam-Status: No, score=-6.912 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oKjlFSh3kpJy for ; Mon, 26 Apr 2010 13:27:01 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by menubar.gnome.org (Postfix) with ESMTP id 23F6B7500B7 for ; Mon, 26 Apr 2010 13:26:52 +0000 (UTC) Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3QDQoDP012260 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 26 Apr 2010 09:26:50 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3QDQmTF016607; Mon, 26 Apr 2010 09:26:49 -0400 Subject: Re: Question about nautilus_menu_provider_emit_items_updated_signal From: Alexander Larsson To: Jason Heeris In-Reply-To: References: <1272274667.32401.52.camel@fatty> <1272280778.32401.53.camel@fatty> Content-Type: text/plain; charset="UTF-8" Date: Mon, 26 Apr 2010 15:26:48 +0200 Message-ID: <1272288408.32401.69.camel@fatty> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 Cc: nautilus-list@gnome.org X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 13:27:03 -0000 On Mon, 2010-04-26 at 20:31 +0800, Jason Heeris wrote: > On 26 April 2010 19:19, Alexander Larsson wrote: > >> What do I emit it from? The nautilus.MenuProvider doesn't provide any > >> "emit" method. > > > > Signal emission is a basic part of gobject, not a method on > > MenuProvider. > > Sorry... I'm just not clear on the details here. If I subclass > gobject.GObject and use the "emit" method, then I get: > Emitting signal... > Traceback (most recent call last): > File "/home/jason/.nautilus/python-extensions/MenuProvTest.py", line > 32, in updated_callback > self.emit('items_updated') > TypeError: 0x287b100)>: unknown signal name: items_updated > > If I add the "items_updated" signal to my class' __gsignals__ dict, > then there's no exception, but nothing happens (I presume then that > I'm not firing the signal that the nautilus extension API defines, but > my own custom one now). I'm not sure how binding this in python works, but you should not have to add your own signal like that if you derive your object from NautilusMenuProvider. The code already adds that signal. I think you need to ask the python people for more details. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Alexander Larsson Red Hat, Inc alexl@redhat.com alexander.larsson@gmail.com He's a lounge-singing drug-addicted farmboy who hides his scarred face behind a mask. She's a psychotic cigar-chomping bodyguard who dreams of becoming Elvis. They fight crime! From berndth@gmx.de Mon Apr 26 15:14:05 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 2557B7500DA for ; Mon, 26 Apr 2010 15:14:05 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.89 X-Spam-Level: X-Spam-Status: No, score=-1.89 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q3opvq7Ub2PT for ; Mon, 26 Apr 2010 15:14:03 +0000 (UTC) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by menubar.gnome.org (Postfix) with SMTP id BA66375006C for ; Mon, 26 Apr 2010 15:13:54 +0000 (UTC) Received: (qmail invoked by alias); 26 Apr 2010 15:13:52 -0000 Received: from mrm-140.e-technik.uni-ulm.de (EHLO mrm-140.e-technik.uni-ulm.de) [134.60.29.140] by mail.gmx.net (mp031) with SMTP; 26 Apr 2010 17:13:52 +0200 X-Authenticated: #755340 X-Provags-ID: V01U2FsdGVkX1+Vc2kwTzWV/3H3zvm/JkVAiTVNAk5Nc3doqr1Bgm YiKsjXYSpnPLex Date: Mon, 26 Apr 2010 17:13:50 +0200 From: Holger Berndt To: nautilus-list@gnome.org Subject: Dealing with the trash Message-ID: <20100426171350.615d4d99@mrm-140.e-technik.uni-ulm.de> X-Mailer: Claws Mail 3.7.5cvs20 (GTK+ 2.18.3; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.63 X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 15:14:05 -0000 Dealing with the trash in Nautilus has never really worked for me. It displays neither the original path, nor the deletion date, and is basically (unless one cleans up the trash regularly) just a black hole. It will get a little more usable once bug 89706 [1] is fixed, but it could be even better. Some time ago, I've blogged about a small python script called "TrashJournal" that offers a journaled view for the trash [2]. I found myself using that on a regular basis for quite a while now. Having an external script for that task is a little annoying, so I decided to have a look at implementing this as a Nautilus view. The trash journal view is basically a list view that has an integrated side bar to filter the display based on deletion time of the files. The user can display "all" files, or just the ones deleted "today", or "yesterday", or a certain amount of days ago. If applicable, there's also an "unknown" entry (if there is no deletion-date information), and a "future" entry (if the deletion date is in the future). I have some working code for that (see [3] for a screenshot), but before I spend time cleaning up the patchset, I thought I'd ask what people think of that. Would such a view be a useful addition to Nautilus? Holger [1] https://bugzilla.gnome.org/show_bug.cgi?id=89706 [2] http://berndth.blogspot.com/2009/07/trashjournal-your-friendly-desktop.html [3] http://dl.dropbox.com/u/2609636/nautilus_trash_journal.jpeg From jason.heeris@gmail.com Mon Apr 26 15:14:07 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 094A27500FB for ; Mon, 26 Apr 2010 15:14:07 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2 X-Spam-Level: X-Spam-Status: No, score=-2 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0MU+qgHhbFfk for ; Mon, 26 Apr 2010 15:14:05 +0000 (UTC) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by menubar.gnome.org (Postfix) with ESMTP id DE78A7500A5 for ; Mon, 26 Apr 2010 15:13:56 +0000 (UTC) Received: by pvc21 with SMTP id 21so175030pvc.27 for ; Mon, 26 Apr 2010 08:13:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=LZz/zEBzBMxlckuVm/RfsWveRbcsK1K1lPVyxFMWxwk=; b=RNDmQxtwBKreVq/vFWEcii4uFLcvbDO+wbO8x+ohKlwjJddGRafDvg4Hjn741C+/v0 llTH4pkvb6mhjUQq/HaRbAWz897WNb8cLk8zGTdwepvyfYPfSyTCFvhIZW+RWdw/5NkW C93iCITRkV3N+rUZVHms6wgzHTVyEYv1agKQg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=FX0Af8/KhkVdFibGiD3KZrvdOgqSEPDlEyaZkdi7O5sSZqj3Ysomr7jh44Urcx9OF2 jE+9FmAUgxEDxNM8j7PyF6Loisy0Y4jtFH/SeHV9IhXWRV0A4r17XjrmuTogRf9daemw 915qRxB5Nxhd6P8GoeUi19nOBHHsA4Ro+ZYOs= MIME-Version: 1.0 Received: by 10.140.87.41 with SMTP id k41mr3862264rvb.109.1272294824988; Mon, 26 Apr 2010 08:13:44 -0700 (PDT) Received: by 10.140.173.18 with HTTP; Mon, 26 Apr 2010 08:13:44 -0700 (PDT) In-Reply-To: <1272288408.32401.69.camel@fatty> References: <1272274667.32401.52.camel@fatty> <1272280778.32401.53.camel@fatty> <1272288408.32401.69.camel@fatty> Date: Mon, 26 Apr 2010 23:13:44 +0800 Message-ID: Subject: Re: Question about nautilus_menu_provider_emit_items_updated_signal From: Jason Heeris To: Alexander Larsson Content-Type: text/plain; charset=UTF-8 Cc: nautilus-list@gnome.org X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 15:14:07 -0000 (FFS, I did it again. Sorry.) On 26 April 2010 21:26, Alexander Larsson wrote: > I'm not sure how binding this in python works, but you should not have > to add your own signal like that if you derive your object from > NautilusMenuProvider. That's what I thought. AFAIK, GObject should detect any "NAUTILUS_TYPE_MENU_PROVIDER" as eligible to send that signal, but I suspect that however this detection works does not span across the Python/C bridge. > The code already adds that signal. I think you > need to ask the python people for more details. The nautilus-python bindings are maintained by Adam Plumb, the other maintainer of RabbitVCS. He picked it up because it was unmaintained for so long, so I'm not sure how well he knows the ins and outs of it right now. My guess is that we need to expose the C function "nautilus_menu_provider_emit_items_updated_signal" to the Python bindings via the "nautilus.defs" file, but I'll take it up with him and follow up here if we have any luck. Thanks for going through it anyway :) Cheers, Jason From joss@debian.org Mon Apr 26 17:34:49 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 8DCDA7500A5 for ; Mon, 26 Apr 2010 17:34:49 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eqqRoIg-dDxR for ; Mon, 26 Apr 2010 17:34:46 +0000 (UTC) Received: from diva.malsain.org (diva.malsain.org [91.121.19.57]) by menubar.gnome.org (Postfix) with ESMTP id AD2377500DA for ; Mon, 26 Apr 2010 17:34:38 +0000 (UTC) Received: from saya.malsain.org ([88.169.253.162] helo=[192.168.0.10]) by diva.malsain.org with esmtpsa (SSL3.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1O6SCY-00018I-Qf for nautilus-list@gnome.org; Mon, 26 Apr 2010 19:34:34 +0200 Subject: Re: Dealing with the trash From: Josselin Mouette To: nautilus-list@gnome.org In-Reply-To: <20100426171350.615d4d99@mrm-140.e-technik.uni-ulm.de> References: <20100426171350.615d4d99@mrm-140.e-technik.uni-ulm.de> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-HhZJdm1+9kJtZJlvLAdn" Date: Mon, 26 Apr 2010 19:34:36 +0200 Message-ID: <1272303276.25375.2.camel@tomoyo> Mime-Version: 1.0 X-Mailer: Evolution 2.29.92.1 X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2010 17:34:49 -0000 --=-HhZJdm1+9kJtZJlvLAdn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le lundi 26 avril 2010 =C3=A0 17:13 +0200, Holger Berndt a =C3=A9crit :=20 > I have some working code for that (see [3] for a screenshot), but before > I spend time cleaning up the patchset, I thought I'd ask what people > think of that. Would such a view be a useful addition to Nautilus? > [3] http://dl.dropbox.com/u/2609636/nautilus_trash_journal.jpeg I don=E2=80=99t like much the current UI, but the idea of a trash journal s= ounds nice. Maybe this view could be made more versatile than just for showing the trash, though. For example integrating with Zeitgeist to show =E2=80=9Cpict= ures from last week=E2=80=9D in such a view would be nice. --=20 .''`. Josselin Mouette : :' : `. `' =E2=80=9CIf you behave this way because you are blackmailed by someo= ne, `- [=E2=80=A6] I will see what I can do for you.=E2=80=9D -- J=C3=B6r= g Schilling --=-HhZJdm1+9kJtZJlvLAdn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQBL1c6rrSla4ddfhTMRAs8fAKC5fjR4ODKYeZWnIcDCFGnj8FB9lQCgwfXA UKoPoP6FgeOghgTpw89bPCk= =7cbt -----END PGP SIGNATURE----- --=-HhZJdm1+9kJtZJlvLAdn-- From martin@unicorn.se Wed Apr 28 11:26:45 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 59F7B7500DA for ; Wed, 28 Apr 2010 11:26:45 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.91 X-Spam-Level: X-Spam-Status: No, score=-1.91 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hgitbmdzxhkg for ; Wed, 28 Apr 2010 11:26:43 +0000 (UTC) X-Greylist: delayed 1155 seconds by postgrey-1.32 at menubar.gnome.org; Wed, 28 Apr 2010 11:26:42 UTC Received: from mail.3gsupport.se (mail.unicorn.se [212.112.176.70]) by menubar.gnome.org (Postfix) with ESMTP id C19AD75007E for ; Wed, 28 Apr 2010 11:26:34 +0000 (UTC) Received: by mail.3gsupport.se (Postfix, from userid 65534) id 7D0921D3C001; Wed, 28 Apr 2010 13:07:16 +0200 (CEST) Received: from [212.112.176.69] (unknown [212.112.176.69]) by mail.3gsupport.se (Postfix) with ESMTP id 08599197C001 for ; Wed, 28 Apr 2010 13:07:14 +0200 (CEST) Message-ID: <4BD816E1.8090906@unicorn.se> Date: Wed, 28 Apr 2010 13:07:13 +0200 From: Martin Lindhe User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10pre) Gecko/20100422 Shredder/3.0.5pre MIME-Version: 1.0 To: nautilus-list@gnome.org Subject: Open nautilus window with 2 tabs from commandline? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 11:26:45 -0000 Hello all! I am looking for info if its possible to start with two tabs open? i tried $ nautilus /home /var/logs but this opens the paths in two separate windows Any help appericated thanks Martin Lindhe From seemanta@gmail.com Wed Apr 28 13:18:19 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C62E875007E for ; Wed, 28 Apr 2010 13:18:19 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.989 X-Spam-Level: X-Spam-Status: No, score=-1.989 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AHVzk+TQ0cGn for ; Wed, 28 Apr 2010 13:18:14 +0000 (UTC) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by menubar.gnome.org (Postfix) with ESMTP id 74A0875006B for ; Wed, 28 Apr 2010 13:18:05 +0000 (UTC) Received: by vws15 with SMTP id 15so11875vws.27 for ; Wed, 28 Apr 2010 06:18:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=K1QIzFVDzeiToNZPJ1/kCWhofeMkrElX0rY8xK5KWUg=; b=eJ54V2Fb7QadFvn4X1gbrx5lFJMpjrPMrTKsCDOydzUIdCOeamkIdZIn8aRF4pYL2V jFkbyLPLIIBwovQO0fbJ/MUGoSmOS/WxR1+p/RDq8GBDrBq7fMNn39/AB1oSHDJZ5UQI GsEkQ6Ho4aMLIU4kPToN7fObqIgsIzx76yXiI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=HUCjBxhuPHlG7Au104tRGfdJE4Dod3DxypHZU3DdtmwY2zvEzS66n1AMokym98FRaX OCu0kBYCfowCRarNtrCUeGr1rTAVbKfqYJOfRvMySZcI+DiJf5O3Tn69OMtHhAsJZKSq jOEFmWMZmdRrwZYsJTbt8cDnLQfeyeaawZV9o= MIME-Version: 1.0 Received: by 10.220.123.214 with SMTP id q22mr5269013vcr.114.1272460681726; Wed, 28 Apr 2010 06:18:01 -0700 (PDT) Received: by 10.220.40.198 with HTTP; Wed, 28 Apr 2010 06:18:01 -0700 (PDT) Date: Wed, 28 Apr 2010 18:48:01 +0530 Message-ID: Subject: A nautilus script to enqueue folders and files to rhythmbox From: Seemanta Dutta To: nautilus-list@gnome.org Content-Type: multipart/alternative; boundary=001636d348c3ecd5d904854bd6b4 X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 13:18:20 -0000 --001636d348c3ecd5d904854bd6b4 Content-Type: text/plain; charset=ISO-8859-1 Hi Nautilus hackers/users, First of all hats off to all Nautilus hackers. This is such a fine piece of software. I have been using Linux for more than 10 years now and more particularly Gnome where I find Nautilus extremely well integrated. You guys have done a damn fine job of creating/maintaining Nautilus ! I recently wrote a small python plugin to enqueue files or folders recursively into the rhythmbox play queue. Please find it here: http://seemanta.net/myblog/?p=634. I am not sure if this is the right place to post this. If there is a dedicated mailing list for python extensions for Nautilus, please let me know. I am however, facing one issue in my script and need your inputs regarding it. Whenever a big folder with several levels of sub-folders and files is selected, there is a high latency in Nautilus during which it seems to become unresponsive. This is because my plugin is creating a list of files that need to be enqueued and this is done recursively. Is there a way to overcome this? I agree, that for huge folders, if I right click the delay might be acceptable. But I think if I simply select a folder, the python plugin should not get invoked. Any ideas how to make my script run only in case of a right-click and not on normal left click selects ? regards, Seemanta --001636d348c3ecd5d904854bd6b4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Nautilus hackers/users,

First of all hats off to all Nautilus hac= kers. This is such a fine piece of software. I have been using Linux for mo= re than 10 years now and more particularly Gnome where I find Nautilus extr= emely well integrated. You guys have done a damn fine job of creating/maint= aining Nautilus !

I recently wrote a small python plugin to enqueue files or folders recu= rsively into the rhythmbox play queue. Please find it here: http://seemanta.net/mybl= og/?p=3D634. I am not sure if this is the right=20 place to post this. If there is a dedicated mailing list for python extensi= ons for Nautilus, please let me know.

I am however, facing one=A0is= sue in my script and need your inputs regarding it. Whenever a big folder w= ith several levels of sub-folders and files is selected, there is a high la= tency in Nautilus during which it seems to become unresponsive. This is bec= ause my plugin is creating a list of files that need to be enqueued and thi= s is done recursively. Is there a way to overcome this? I agree, that for h= uge folders, if I right click the delay might be acceptable. But I think if= I simply select a folder, the python plugin should not get invoked.

Any ideas how to make my script run only in case of a right-click and n= ot on normal left click selects ?

regards,
Seemanta
--001636d348c3ecd5d904854bd6b4-- From seemanta@gmail.com Wed Apr 28 13:35:18 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 917C87500A6 for ; Wed, 28 Apr 2010 13:35:18 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TLZe3ZTdolCu for ; Wed, 28 Apr 2010 13:35:15 +0000 (UTC) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by menubar.gnome.org (Postfix) with ESMTP id 3F2AA750086 for ; Wed, 28 Apr 2010 13:35:06 +0000 (UTC) Received: by vws15 with SMTP id 15so26143vws.27 for ; Wed, 28 Apr 2010 06:35:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=OP38VLras5ZwYF2V4QaxrFQ8At8GXxaDx6ZqSHuR4Lw=; b=s9xk2CEUsKFWQgjW5RrNrCi1R4BSi0SI13vOtI3MpMdNXfff5Ki8y/aYMCBz3LTCjF owKJ70nFkIr+3ww1ENP8RwFmA64CgxQu6jEUFzeHC9IjS96zoeUF1wz7tD+DXMfGcyoU ZjLm1S5EUtpMR2sRNfW6Sn5ASpsmTeQiJGvm4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=WIxIlVIagOomcIV1Oq+LHq1mz5Qws1Kbr5pV9G4VqgokmgNwBZdcBrXUBVA8/DImof uGDZrTeJN40TRg6HTmUeiRI4Yu9kpuhjpbHaplVZvOUm6CkApzICq8RyMVcVcgkMenDm l7vsYaaZgHSzaitH2H/sP3Z2HPRQ95IeDBmUU= MIME-Version: 1.0 Received: by 10.220.123.214 with SMTP id q22mr5283342vcr.114.1272461703439; Wed, 28 Apr 2010 06:35:03 -0700 (PDT) Received: by 10.220.40.198 with HTTP; Wed, 28 Apr 2010 06:35:03 -0700 (PDT) In-Reply-To: <000c01cae6d6$f5c37e20$e14a7a60$@no> References: <000c01cae6d6$f5c37e20$e14a7a60$@no> Date: Wed, 28 Apr 2010 19:05:03 +0530 Message-ID: Subject: Re: A nautilus script to enqueue folders and files to rhythmbox From: Seemanta Dutta To: Stian Skjelstad Content-Type: multipart/alternative; boundary=001636d348c3d3084404854c1338 Cc: nautilus-list@gnome.org X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 13:35:18 -0000 --001636d348c3d3084404854c1338 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable That came to my mind as well. But I am not sure if the python extension interface allows that. Maybe some Nautilus gurus can help me out here! But yeah, I shall try the new process paradigm and post my findings here. Thanks for your prompt reply. regards, Seemanta On Wed, Apr 28, 2010 at 7:00 PM, Stian Skjelstad wrote: > Does the python interface allow threads? If so, spawn a worker thread. I= f > no, spawn a new process that does the actual job. This way, you can retur= n > control back to nautilus faster, avoiding the =93hick-up=94 as you do hea= vy IO > work. > > > > Stian Skjelstad > > > > *Fra:* nautilus-list-bounces@gnome.org [mailto: > nautilus-list-bounces@gnome.org] *P=E5 vegne av* Seemanta Dutta > *Sendt:* 28. april 2010 15:18 > *Til:* nautilus-list@gnome.org > *Emne:* A nautilus script to enqueue folders and files to rhythmbox > > > > Hi Nautilus hackers/users, > > First of all hats off to all Nautilus hackers. This is such a fine piece = of > software. I have been using Linux for more than 10 years now and more > particularly Gnome where I find Nautilus extremely well integrated. You g= uys > have done a damn fine job of creating/maintaining Nautilus ! > > I recently wrote a small python plugin to enqueue files or folders > recursively into the rhythmbox play queue. Please find it here: > http://seemanta.net/myblog/?p=3D634. I am not sure if this is the right > place to post this. If there is a dedicated mailing list for python > extensions for Nautilus, please let me know. > > I am however, facing one issue in my script and need your inputs regardin= g > it. Whenever a big folder with several levels of sub-folders and files is > selected, there is a high latency in Nautilus during which it seems to > become unresponsive. This is because my plugin is creating a list of file= s > that need to be enqueued and this is done recursively. Is there a way to > overcome this? I agree, that for huge folders, if I right click the delay > might be acceptable. But I think if I simply select a folder, the python > plugin should not get invoked. > > Any ideas how to make my script run only in case of a right-click and not > on normal left click selects ? > > regards, > Seemanta > --001636d348c3d3084404854c1338 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable That came to my mind as well. But I am not sure if the python extension int= erface allows that. Maybe some Nautilus gurus can help me out here!
But = yeah, I shall try the new process paradigm and post my findings here. Thank= s for your prompt reply.

regards,
Seemanta

On Wed, Apr 28, = 2010 at 7:00 PM, Stian Skjelstad <stian@nixia.no> wrote:

Does the python interface allow threads? If so, spawn = a worker thread. If no, spawn a new process that does the actual job. This way, you = can return control back to nautilus faster, avoiding the =93hick-up=94 as you d= o heavy IO work.

=A0

Stian Skjelstad

=A0

Fra:<= span style=3D"font-size: 10pt;"> nautil= us-list-bounces@gnome.org [mailto:nautilus-list-bounces@gnome.org] P= =E5 vegne av Seemanta Dutta
Sendt: 28. april 2010 15:18
Til: na= utilus-list@gnome.org
Emne: A nautilus script to enqueue folders and files to rhythmbox

=A0

Hi Nautilus hackers/users,

First of all hats off to all Nautilus hackers. This is such a fine piece of software. I have been using Linux for more than 10 years now and more particularly Gnome where I find Nautilus extremely well integrated. You guy= s have done a damn fine job of creating/maintaining Nautilus !

I recently wrote a small python plugin to enqueue files or folders recursiv= ely into the rhythmbox play queue. Please find it here: http://seemanta.net/myblog/?p=3D= 634. I am not sure if this is the right place to post this. If there is a dedica= ted mailing list for python extensions for Nautilus, please let me know.

I am however, facing one=A0issue in my script and need your inputs regardin= g it. Whenever a big folder with several levels of sub-folders and files is selected, there is a high latency in Nautilus during which it seems to beco= me unresponsive. This is because my plugin is creating a list of files that ne= ed to be enqueued and this is done recursively. Is there a way to overcome thi= s? I agree, that for huge folders, if I right click the delay might be acceptabl= e. But I think if I simply select a folder, the python plugin should not get invoked.

Any ideas how to make my script run only in case of a right-click and not o= n normal left click selects ?

regards,
Seemanta


--001636d348c3d3084404854c1338-- From adamplumb@gmail.com Wed Apr 28 14:02:05 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 74D1675007E for ; Wed, 28 Apr 2010 14:02:05 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.99 X-Spam-Level: X-Spam-Status: No, score=-1.99 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07fVvRczErwT for ; Wed, 28 Apr 2010 14:02:03 +0000 (UTC) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by menubar.gnome.org (Postfix) with ESMTP id 29DD275006B for ; Wed, 28 Apr 2010 14:01:54 +0000 (UTC) Received: by pvg11 with SMTP id 11so1023781pvg.27 for ; Wed, 28 Apr 2010 07:01:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ZKDuYNe+M5nkrTVq2O/oS+Dxkm9FXzr5DTPtAzIHv/0=; b=AN7cozfGtMup7XIxxxqvzXrpx1NJ4ScI4jcjdjmBTYqJY9RQeXOLCuUb10DjkgJl2F RW/c7oeDUcLAs3D2OMrmX1bnvQt01U4Z7K3PfSKJFayRQ0apyfv7mp5TSmS5dEFlTG/Q iPfgn5a0QFNHoZOBsMdh1toT3jlvV7ApukdSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=YienFlVDvKdfabRhHimzZFYcb3sgG3RctvUJ2moNpRwVfsSO4Fc4PkqMRNnAdnnTih Og6kHsaVqiuSxnJM+KOfhWJwdO3N0tPaJneAY36CCkd7P0rq1p9sIWlSHHiSqTAcLiO4 xUPlJSVHZdOlopUtg1GDM8KqCWBGHTV22gUgw= MIME-Version: 1.0 Received: by 10.141.23.16 with SMTP id a16mr4777072rvj.239.1272463312225; Wed, 28 Apr 2010 07:01:52 -0700 (PDT) Received: by 10.231.158.136 with HTTP; Wed, 28 Apr 2010 07:01:52 -0700 (PDT) In-Reply-To: References: Date: Wed, 28 Apr 2010 10:01:52 -0400 Message-ID: Subject: Re: A nautilus script to enqueue folders and files to rhythmbox From: Adam Plumb To: nautilus-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 14:02:05 -0000 On Wed, Apr 28, 2010 at 9:18 AM, Seemanta Dutta wrote: > Hi Nautilus hackers/users, > > First of all hats off to all Nautilus hackers. This is such a fine piece = of > software. I have been using Linux for more than 10 years now and more > particularly Gnome where I find Nautilus extremely well integrated. You g= uys > have done a damn fine job of creating/maintaining Nautilus ! > > I recently wrote a small python plugin to enqueue files or folders > recursively into the rhythmbox play queue. Please find it here: > http://seemanta.net/myblog/?p=3D634. I am not sure if this is the right p= lace > to post this. If there is a dedicated mailing list for python extensions = for > Nautilus, please let me know. > > I am however, facing one=A0issue in my script and need your inputs regard= ing > it. Whenever a big folder with several levels of sub-folders and files is > selected, there is a high latency in Nautilus during which it seems to > become unresponsive. This is because my plugin is creating a list of file= s > that need to be enqueued and this is done recursively. Is there a way to > overcome this? I agree, that for huge folders, if I right click the delay > might be acceptable. But I think if I simply select a folder, the python > plugin should not get invoked. > > Any ideas how to make my script run only in case of a right-click and not= on > normal left click selects ? > > regards, > Seemanta > > I'm the maintainer for the nautilus-python bindings, and I've been doing some work recently to allow for asynchronous IO work in the update_file_info method, which I assume is what you are using for your IO. It is still somewhat experimental, but I would appreciate it if you could clone git master at http://git.gnome.org/browse/nautilus-python and test your extension using the new code. If you do that, let me know whether it alleviates the problems you're seeing with your extension. FYI, you should read the new documentation in examples/documentation.py to see how to use the new features. Adam From stian@nixia.no Wed Apr 28 14:10:29 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C714A75007E for ; Wed, 28 Apr 2010 14:10:29 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.899 X-Spam-Level: X-Spam-Status: No, score=-1.899 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZR5v8yLwl6Ly for ; Wed, 28 Apr 2010 14:10:23 +0000 (UTC) X-Greylist: delayed 2384 seconds by postgrey-1.32 at menubar.gnome.org; Wed, 28 Apr 2010 14:10:22 UTC Received: from mail43.e.nsc.no (mail43.e.nsc.no [193.213.115.43]) by menubar.gnome.org (Postfix) with ESMTP id 715B675006B for ; Wed, 28 Apr 2010 14:10:13 +0000 (UTC) Received: from stianxp (ti122110a080-0265.bb.online.no [83.109.1.9]) by mail43.nsc.no (8.14.3/8.14.3) with SMTP id o3SDUGl9019077 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Wed, 28 Apr 2010 15:30:25 +0200 (MEST) From: "Stian Skjelstad" To: "'Seemanta Dutta'" , References: In-Reply-To: Subject: SV: A nautilus script to enqueue folders and files to rhythmbox Date: Wed, 28 Apr 2010 15:30:16 +0200 Message-ID: <000c01cae6d6$f5c37e20$e14a7a60$@no> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01CAE6E7.B94C4E20" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acrm1Uj2g4GTPenhT0GyvLZ2iiwDqAAAXYww Content-Language: no X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 14:10:30 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_000D_01CAE6E7.B94C4E20 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Does the python interface allow threads? If so, spawn a worker thread. = If no, spawn a new process that does the actual job. This way, you can = return control back to nautilus faster, avoiding the =93hick-up=94 as you do = heavy IO work. =20 Stian Skjelstad =20 Fra: nautilus-list-bounces@gnome.org [mailto:nautilus-list-bounces@gnome.org] P=E5 vegne av Seemanta Dutta Sendt: 28. april 2010 15:18 Til: nautilus-list@gnome.org Emne: A nautilus script to enqueue folders and files to rhythmbox =20 Hi Nautilus hackers/users, First of all hats off to all Nautilus hackers. This is such a fine piece = of software. I have been using Linux for more than 10 years now and more particularly Gnome where I find Nautilus extremely well integrated. You = guys have done a damn fine job of creating/maintaining Nautilus ! I recently wrote a small python plugin to enqueue files or folders recursively into the rhythmbox play queue. Please find it here: http://seemanta.net/myblog/?p=3D634. I am not sure if this is the right = place to post this. If there is a dedicated mailing list for python extensions = for Nautilus, please let me know.=20 I am however, facing one issue in my script and need your inputs = regarding it. Whenever a big folder with several levels of sub-folders and files = is selected, there is a high latency in Nautilus during which it seems to become unresponsive. This is because my plugin is creating a list of = files that need to be enqueued and this is done recursively. Is there a way to overcome this? I agree, that for huge folders, if I right click the = delay might be acceptable. But I think if I simply select a folder, the python plugin should not get invoked.=20 Any ideas how to make my script run only in case of a right-click and = not on normal left click selects ? regards, Seemanta ------=_NextPart_000_000D_01CAE6E7.B94C4E20 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Does the python interface allow threads? If so, spawn a = worker thread. If no, spawn a new process that does the actual job. This way, = you can return control back to nautilus faster, avoiding the = “hick-up” as you do heavy IO work.

 

Stian Skjelstad

 

Fra:<= /b> nautilus-list-bounces@gnome.org [mailto:nautilus-list-bounces@gnome.org] = P=E5 vegne av Seemanta Dutta
Sendt: 28. april 2010 15:18
Til: nautilus-list@gnome.org
Emne: A nautilus script to enqueue folders and files to = rhythmbox

 

Hi Nautilus hackers/users,

First of all hats off to all Nautilus hackers. This is such a fine piece = of software. I have been using Linux for more than 10 years now and more particularly Gnome where I find Nautilus extremely well integrated. You = guys have done a damn fine job of creating/maintaining Nautilus !

I recently wrote a small python plugin to enqueue files or folders = recursively into the rhythmbox play queue. Please find it here: http://seemanta.net/myblog/?p=3D634. I am not sure if this is the right place to post this. If there is a = dedicated mailing list for python extensions for Nautilus, please let me know. =

I am however, facing one issue in my script and need your inputs = regarding it. Whenever a big folder with several levels of sub-folders and files = is selected, there is a high latency in Nautilus during which it seems to = become unresponsive. This is because my plugin is creating a list of files that = need to be enqueued and this is done recursively. Is there a way to overcome = this? I agree, that for huge folders, if I right click the delay might be = acceptable. But I think if I simply select a folder, the python plugin should not = get invoked.

Any ideas how to make my script run only in case of a right-click and = not on normal left click selects ?

regards,
Seemanta

------=_NextPart_000_000D_01CAE6E7.B94C4E20-- From adamplumb@gmail.com Wed Apr 28 14:25:52 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 3CED37500A6 for ; Wed, 28 Apr 2010 14:25:52 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -2 X-Spam-Level: X-Spam-Status: No, score=-2 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ayaVE+wlQ4gG for ; Wed, 28 Apr 2010 14:25:49 +0000 (UTC) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by menubar.gnome.org (Postfix) with ESMTP id C1721750086 for ; Wed, 28 Apr 2010 14:25:40 +0000 (UTC) Received: by pwi9 with SMTP id 9so10333806pwi.27 for ; Wed, 28 Apr 2010 07:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=l35R3UXudxAayjWnURS0ybP4DP2CCCo5siPKI5P821Q=; b=cQC7XsBY84/hTWhgVoW9uCXvkqe57yiP1tf2chMl3uLa3ZKYxviD19t+szNDRR6QBc YA4T57c0qhnXw/dgHRsV1ESHQ8jsZqDyQmOb3aIzKihLnTfv5f6Gct8a0Rc6J9qSRHQi m7oa/9LsJO0GUUmpCl9zy/msNQWnJai8jycR4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=QFyC+lIOwpNIWO6CVNRAf2+LLftpLwYNzYhek+OD+oqT6FkuHKxTfRzXITmyTIIv+H fjrYyZMQgWonycItULGPqaBBym3y9bZZ0jVw4nMVd+Xo5QLFRHQgpU2H0ee3JnSY5SfF YibfjrNcOdMvC7V01FH4tyxEXtnYkbPiJRtcA= MIME-Version: 1.0 Received: by 10.141.188.37 with SMTP id q37mr2056131rvp.212.1272464728361; Wed, 28 Apr 2010 07:25:28 -0700 (PDT) Received: by 10.231.158.136 with HTTP; Wed, 28 Apr 2010 07:25:28 -0700 (PDT) In-Reply-To: References: Date: Wed, 28 Apr 2010 10:25:28 -0400 Message-ID: Subject: Re: A nautilus script to enqueue folders and files to rhythmbox From: Adam Plumb To: Seemanta Dutta Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: nautilus-list@gnome.org X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 14:25:52 -0000 On Wed, Apr 28, 2010 at 10:11 AM, Seemanta Dutta wrote= : > Actually I did not use update_file_info. I used get_file_list() because I > derived my class from MenuProvider. Isn't the way I am supposed to do it?= Is > there a better way to do what I have done? Can you please take a look at = my > code and let me know if that is the case? My script is hosted at: > http://seemanta.net/code/Nautilus_plugin/add-to-rhythmbox_V02.py > > In any case, I shall get the latest stuff from git and let you know how i= t > goes. > > regards, > Seemanta You have done it correctly. Looking at your code, I don't see much you can do to improvie things with just sub-classing MenuProvider. One thing you can do is subclass nautilus.InfoProvider and use the update_file_info (or in the case of git master, update_file_info_async) to collect file information asynchronously when the directory is loaded, and then when the user right-clicks on the file and get_file_items() is called, the information is already there. That may add more complexity than you want to deal with though (for maybe not much benefit). Adam > > On Wed, Apr 28, 2010 at 7:31 PM, Adam Plumb wrote: >> >> On Wed, Apr 28, 2010 at 9:18 AM, Seemanta Dutta >> wrote: >> > Hi Nautilus hackers/users, >> > >> > First of all hats off to all Nautilus hackers. This is such a fine pie= ce >> > of >> > software. I have been using Linux for more than 10 years now and more >> > particularly Gnome where I find Nautilus extremely well integrated. Yo= u >> > guys >> > have done a damn fine job of creating/maintaining Nautilus ! >> > >> > I recently wrote a small python plugin to enqueue files or folders >> > recursively into the rhythmbox play queue. Please find it here: >> > http://seemanta.net/myblog/?p=3D634. I am not sure if this is the righ= t >> > place >> > to post this. If there is a dedicated mailing list for python extensio= ns >> > for >> > Nautilus, please let me know. >> > >> > I am however, facing one=A0issue in my script and need your inputs >> > regarding >> > it. Whenever a big folder with several levels of sub-folders and files >> > is >> > selected, there is a high latency in Nautilus during which it seems to >> > become unresponsive. This is because my plugin is creating a list of >> > files >> > that need to be enqueued and this is done recursively. Is there a way = to >> > overcome this? I agree, that for huge folders, if I right click the >> > delay >> > might be acceptable. But I think if I simply select a folder, the pyth= on >> > plugin should not get invoked. >> > >> > Any ideas how to make my script run only in case of a right-click and >> > not on >> > normal left click selects ? >> > >> > regards, >> > Seemanta >> > >> > >> >> I'm the maintainer for the nautilus-python bindings, and I've been >> doing some work recently to allow for asynchronous IO work in the >> update_file_info method, which I assume is what you are using for your >> IO. =A0It is still somewhat experimental, but I would appreciate it if >> you could clone git master at >> http://git.gnome.org/browse/nautilus-python and test your extension >> using the new code. =A0If you do that, let me know whether it alleviates >> the problems you're seeing with your extension. =A0FYI, you should read >> the new documentation in examples/documentation.py to see how to use >> the new features. >> >> Adam >> -- >> nautilus-list mailing list >> nautilus-list@gnome.org >> http://mail.gnome.org/mailman/listinfo/nautilus-list > > From m.beyer5@gmx.de Fri Apr 23 06:51:05 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E61F9750106 for ; Fri, 23 Apr 2010 06:51:04 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -0.337 X-Spam-Level: X-Spam-Status: No, score=-0.337 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=1.553, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vEODEH2FOvD7 for ; Fri, 23 Apr 2010 06:51:03 +0000 (UTC) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by menubar.gnome.org (Postfix) with SMTP id 71927750063 for ; Fri, 23 Apr 2010 06:50:53 +0000 (UTC) Received: (qmail 16424 invoked by uid 0); 23 Apr 2010 06:50:51 -0000 Received: from 79.211.62.91 by www150.gmx.net with HTTP; Fri, 23 Apr 2010 08:50:48 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" Date: Fri, 23 Apr 2010 08:50:48 +0200 From: "Markus Beyer" Message-ID: <20100423065048.120290@gmx.net> MIME-Version: 1.0 Subject: New folder view through python extensions possible? To: nautilus-list@gnome.org X-Authenticated: #20065949 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1+J5ZpEx5mJyVfwcS2m41v0cLcO3oogfAT3xYdfQD fRv/n036zArFVkqnddZw+1xVxAAm+xicl64w== Content-Transfer-Encoding: 8bit X-GMX-UID: cHHif5dnX1V6E6lDXmByi0B/SDc4NEw8 X-FuHaFi: 0.75 X-Mailman-Approved-At: Wed, 28 Apr 2010 18:31:43 +0000 X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2010 06:51:05 -0000 Hi, I find it very hard to find a good documentation on nautilus' extension capabilities, so I've decided to ask here: Is it possible to add a new folder view (like list, symbol, compact) to nautilus through the python extensions api? If so, is there any good documentation around on how to do that? Thanks, Markus -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 From alexl@redhat.com Fri Apr 30 11:46:02 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id A1FA77501A4 for ; Fri, 30 Apr 2010 11:46:02 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -6.912 X-Spam-Level: X-Spam-Status: No, score=-6.912 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c-C1XsvGE10j for ; Fri, 30 Apr 2010 11:46:00 +0000 (UTC) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by menubar.gnome.org (Postfix) with ESMTP id A4BB87501A0 for ; Fri, 30 Apr 2010 11:45:52 +0000 (UTC) Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3UBjmov025001 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 30 Apr 2010 07:45:48 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3UBjkNX011551; Fri, 30 Apr 2010 07:45:47 -0400 Subject: Re: New folder view through python extensions possible? From: Alexander Larsson To: Markus Beyer In-Reply-To: <20100423065048.120290@gmx.net> References: <20100423065048.120290@gmx.net> Content-Type: text/plain; charset="UTF-8" Date: Fri, 30 Apr 2010 13:45:46 +0200 Message-ID: <1272627946.7759.2.camel@fatty> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 Cc: nautilus-list@gnome.org X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 11:46:02 -0000 On Fri, 2010-04-23 at 08:50 +0200, Markus Beyer wrote: > Hi, > > I find it very hard to find a good documentation on nautilus' extension capabilities, so I've decided to ask here: > > Is it possible to add a new folder view (like list, symbol, compact) to nautilus through the python extensions api? No, nautilus extensions are quite limited in what they can do. Add menus/toolbars and add information about files mostly. -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Alexander Larsson Red Hat, Inc alexl@redhat.com alexander.larsson@gmail.com He's a maverick umbrella-wielding sorceror She's a cynical insomniac fairy princess from Mars. They fight crime! From seemanta@gmail.com Fri Apr 30 18:35:22 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 82EEB75010B for ; Fri, 30 Apr 2010 18:35:22 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e4KKtEQg7Mfw for ; Fri, 30 Apr 2010 18:35:18 +0000 (UTC) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by menubar.gnome.org (Postfix) with ESMTP id 7F7F2750062 for ; Fri, 30 Apr 2010 18:35:10 +0000 (UTC) Received: by vws4 with SMTP id 4so425682vws.27 for ; Fri, 30 Apr 2010 11:35:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=X9ca9ETvP/J0uWC/aRYnP/x3s2mdf16t55hvSjTQhTM=; b=H4TNWv0Po5IvnFDrLtfdTlKohOqoYjT/hYz4/4WRTGE0YRIv0F9yRxYbTvnkpJzKys Xz/zh3RjCquXHy3EUOsUbvQT60XpNNEWjd6WNFCDJkQkS8NSNta2MReVOqbeDb3s9pNf xkkMmqcalojLwX2LS6zOGT1PR5VkH0ENAFnFA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=BidDlfg9ghpoeDo8p4EpNNdw1wVlVTvEBg+e7JqjB36ReNJo9sxTy+vx5fD7KCA+SV d0WqzdasREnrxUvRHa0KpQjq1jKMa0uHK6TKNa8sFWT4JcbL4LyGsnoJeSWFctW/Pdh4 wbml2IMfbqt/o8o32aecV/tz3whIi16IPjsW0= MIME-Version: 1.0 Received: by 10.220.63.132 with SMTP id b4mr8094537vci.53.1272652506969; Fri, 30 Apr 2010 11:35:06 -0700 (PDT) Received: by 10.220.40.198 with HTTP; Fri, 30 Apr 2010 11:35:06 -0700 (PDT) In-Reply-To: References: Date: Sat, 1 May 2010 00:05:06 +0530 Message-ID: Subject: Re: A nautilus script to enqueue folders and files to rhythmbox From: Seemanta Dutta To: Adam Plumb Content-Type: multipart/alternative; boundary=e0cb4e88744799b86304857880ec Cc: nautilus-list@gnome.org X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 18:35:22 -0000 --e0cb4e88744799b86304857880ec Content-Type: text/plain; charset=ISO-8859-1 Hi Adam et al, I installed the latest nautilus-python from git master but I could not find any update_file_info_async() method in it. Perhaps you are referring to update_file_info_full() ? What does the *full* signify in these calls ? And one more question I had was, assuming I get my data and cache it using the update_file_info_*() method, how do I make it accessible to to get_file_items() method when the user actually right-clicks ? This maybe a pretty stupid question but please bear with me, nevertheless. regards, Seemanta On Wed, Apr 28, 2010 at 7:55 PM, Adam Plumb wrote: > On Wed, Apr 28, 2010 at 10:11 AM, Seemanta Dutta > wrote: > > Actually I did not use update_file_info. I used get_file_list() because I > > derived my class from MenuProvider. Isn't the way I am supposed to do it? > Is > > there a better way to do what I have done? Can you please take a look at > my > > code and let me know if that is the case? My script is hosted at: > > http://seemanta.net/code/Nautilus_plugin/add-to-rhythmbox_V02.py > > > > In any case, I shall get the latest stuff from git and let you know how > it > > goes. > > > > regards, > > Seemanta > > You have done it correctly. Looking at your code, I don't see much > you can do to improvie things with just sub-classing MenuProvider. > > One thing you can do is subclass nautilus.InfoProvider and use the > update_file_info (or in the case of git master, > update_file_info_async) to collect file information asynchronously > when the directory is loaded, and then when the user right-clicks on > the file and get_file_items() is called, the information is already > there. That may add more complexity than you want to deal with though > (for maybe not much benefit). > > Adam > > > > > On Wed, Apr 28, 2010 at 7:31 PM, Adam Plumb wrote: > >> > >> On Wed, Apr 28, 2010 at 9:18 AM, Seemanta Dutta > >> wrote: > >> > Hi Nautilus hackers/users, > >> > > >> > First of all hats off to all Nautilus hackers. This is such a fine > piece > >> > of > >> > software. I have been using Linux for more than 10 years now and more > >> > particularly Gnome where I find Nautilus extremely well integrated. > You > >> > guys > >> > have done a damn fine job of creating/maintaining Nautilus ! > >> > > >> > I recently wrote a small python plugin to enqueue files or folders > >> > recursively into the rhythmbox play queue. Please find it here: > >> > http://seemanta.net/myblog/?p=634. I am not sure if this is the right > >> > place > >> > to post this. If there is a dedicated mailing list for python > extensions > >> > for > >> > Nautilus, please let me know. > >> > > >> > I am however, facing one issue in my script and need your inputs > >> > regarding > >> > it. Whenever a big folder with several levels of sub-folders and files > >> > is > >> > selected, there is a high latency in Nautilus during which it seems to > >> > become unresponsive. This is because my plugin is creating a list of > >> > files > >> > that need to be enqueued and this is done recursively. Is there a way > to > >> > overcome this? I agree, that for huge folders, if I right click the > >> > delay > >> > might be acceptable. But I think if I simply select a folder, the > python > >> > plugin should not get invoked. > >> > > >> > Any ideas how to make my script run only in case of a right-click and > >> > not on > >> > normal left click selects ? > >> > > >> > regards, > >> > Seemanta > >> > > >> > > >> > >> I'm the maintainer for the nautilus-python bindings, and I've been > >> doing some work recently to allow for asynchronous IO work in the > >> update_file_info method, which I assume is what you are using for your > >> IO. It is still somewhat experimental, but I would appreciate it if > >> you could clone git master at > >> http://git.gnome.org/browse/nautilus-python and test your extension > >> using the new code. If you do that, let me know whether it alleviates > >> the problems you're seeing with your extension. FYI, you should read > >> the new documentation in examples/documentation.py to see how to use > >> the new features. > >> > >> Adam > >> -- > >> nautilus-list mailing list > >> nautilus-list@gnome.org > >> http://mail.gnome.org/mailman/listinfo/nautilus-list > > > > > --e0cb4e88744799b86304857880ec Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Adam et al,
I installed the latest nautilus-python from git master bu= t I could not find any update_file_info_async() method in it. Perhaps you a= re referring to update_file_info_full() ? What does the *full* signify in t= hese calls ?

And one more question I had was, assuming I get my data and cache it us= ing the update_file_info_*() method, how do I make it accessible to to get_= file_items() method when the user actually right-clicks ? This maybe a pret= ty stupid question but please bear with me, nevertheless.

regards,
Seemanta

On Wed, Apr 28, = 2010 at 7:55 PM, Adam Plumb <adamplumb@gmail.com> wrote:
On Wed, Apr 28, 2010 at 10:11 AM, Seemanta Dutta <seemanta@gmail.com> wrote:
> Actually I did not use update_file_info. I used get_file_list() becaus= e I
> derived my class from MenuProvider. Isn't the way I am supposed to= do it? Is
> there a better way to do what I have done? Can you please take a look = at my
> code and let me know if that is the case? My script is hosted at:
> http://seemanta.net/code/Nautilus_plugin/add-to-rh= ythmbox_V02.py
>
> In any case, I shall get the latest stuff from git and let you know ho= w it
> goes.
>
> regards,
> Seemanta

You have done it correctly. =A0Looking at your code, I don't see = much
you can do to improvie things with just sub-classing MenuProvider.

One thing you can do is subclass nautilus.InfoProvider and use the
update_file_info (or in the case of git master,
update_file_info_async) to collect file information asynchronously
when the directory is loaded, and then when the user right-clicks on
the file and get_file_items() is called, the information is already
there. =A0That may add more complexity than you want to deal with though (for maybe not much benefit).

Adam

>
> On Wed, Apr 28, 2010 at 7:31 PM, Adam Plumb <adamplumb@gmail.com> wrote:
>>
>> On Wed, Apr 28, 2010 at 9:18 AM, Seemanta Dutta <seemanta@gmail.com>
>> wrote:
>> > Hi Nautilus hackers/users,
>> >
>> > First of all hats off to all Nautilus hackers. This is such a= fine piece
>> > of
>> > software. I have been using Linux for more than 10 years now = and more
>> > particularly Gnome where I find Nautilus extremely well integ= rated. You
>> > guys
>> > have done a damn fine job of creating/maintaining Nautilus !<= br> >> >
>> > I recently wrote a small python plugin to enqueue files or fo= lders
>> > recursively into the rhythmbox play queue. Please find it her= e:
>> > http://seemanta.net/myblog/?p=3D634. I am not sure if this is the = right
>> > place
>> > to post this. If there is a dedicated mailing list for python= extensions
>> > for
>> > Nautilus, please let me know.
>> >
>> > I am however, facing one=A0issue in my script and need your i= nputs
>> > regarding
>> > it. Whenever a big folder with several levels of sub-folders = and files
>> > is
>> > selected, there is a high latency in Nautilus during which it= seems to
>> > become unresponsive. This is because my plugin is creating a = list of
>> > files
>> > that need to be enqueued and this is done recursively. Is the= re a way to
>> > overcome this? I agree, that for huge folders, if I right cli= ck the
>> > delay
>> > might be acceptable. But I think if I simply select a folder,= the python
>> > plugin should not get invoked.
>> >
>> > Any ideas how to make my script run only in case of a right-c= lick and
>> > not on
>> > normal left click selects ?
>> >
>> > regards,
>> > Seemanta
>> >
>> >
>>
>> I'm the maintainer for the nautilus-python bindings, and I'= ;ve been
>> doing some work recently to allow for asynchronous IO work in the<= br> >> update_file_info method, which I assume is what you are using for = your
>> IO. =A0It is still somewhat experimental, but I would appreciate i= t if
>> you could clone git master at
>> http://git.gnome.org/browse/nautilus-python and test your exten= sion
>> using the new code. =A0If you do that, let me know whether it alle= viates
>> the problems you're seeing with your extension. =A0FYI, you sh= ould read
>> the new documentation in examples/documentation.py to see how to u= se
>> the new features.
>>
>> Adam
>> --
>> nautilus-list mailing list
>> nautilus-list@gnome.org=
>> http://mail.gnome.org/mailman/listinfo/nautilus-list >
>

--e0cb4e88744799b86304857880ec-- From seemanta@gmail.com Fri Apr 30 18:48:02 2010 Return-Path: X-Original-To: nautilus-list@gnome.org Delivered-To: nautilus-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E83D0750062 for ; Fri, 30 Apr 2010 18:48:01 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7IU0r+7IqnjR for ; Fri, 30 Apr 2010 18:47:58 +0000 (UTC) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by menubar.gnome.org (Postfix) with ESMTP id E9B0A75004D for ; Fri, 30 Apr 2010 18:47:49 +0000 (UTC) Received: by vws7 with SMTP id 7so8890vws.27 for ; Fri, 30 Apr 2010 11:47:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=b1XtD9vll/Kq9MrWjxE+KlGrPHBC5g+hWs4Tx4TAOxI=; b=usoXIxBuvOkuVi+DCFjOf/5MvqyzRbRHDZePmZqZ9KabQFI624wgcwXigphJghUso8 RtqOdmWt5LTBty5IwjnBktSL4wud6xq31ga7CAYlkPgvnd0oIkJXKJDXC3EokrHloOgK jvGr7KZk4+37HBdY+n8B8hNZUqqfzyjpEdJNw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=IRxKfLdf1Pt0G0VZbXxgnkBOGjQKoaOSN2pZfrPK7lgngHckPByjDCt0qgD3p/vs96 /PmH4C6HdV6Z5np+Jmqd1fj4s9jyYltXhaBHqIeJgMZnG3gjy6QteAxKKcqyf//hrtMf M1c5pNU7XAvvPoL+eYl0DcRmjIYEbC0p2TeDw= MIME-Version: 1.0 Received: by 10.220.47.219 with SMTP id o27mr8220214vcf.69.1272653266236; Fri, 30 Apr 2010 11:47:46 -0700 (PDT) Received: by 10.220.40.198 with HTTP; Fri, 30 Apr 2010 11:47:46 -0700 (PDT) In-Reply-To: References: Date: Sat, 1 May 2010 00:17:46 +0530 Message-ID: Subject: Re: A nautilus script to enqueue folders and files to rhythmbox From: Seemanta Dutta To: Adam Plumb Content-Type: multipart/alternative; boundary=0016e6476154db38e3048578adcc Cc: nautilus-list@gnome.org X-BeenThere: nautilus-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: For developers and users of the Nautilus file manager List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2010 18:48:02 -0000 --0016e6476154db38e3048578adcc Content-Type: text/plain; charset=ISO-8859-1 Wow Adam!! That was superfast! Appreciate your prompt response. So now, I have a question. If this update_info_full() method gets called for each and every file, then would having such a plugin make sense? Every directory load would start 'n' async threads reading its contents recursively, where n is the number of folders contained within that folder. I have started to have second thoughts over my plugin now :( Please advise. regards, Seemanta On Sat, May 1, 2010 at 12:09 AM, Adam Plumb wrote: > hi Seemanta, sorry for the confusion, I changed the > update_file_info_async method to update_file_info_full yesterday, > after sending that email. > > In order to have cached data available to your get_file_items method, > you would probably want to create a dictionary available throughout > your class, something like self.cache that can be accessed from > anywhere. update_file_info_full() will get called for each file in a > directory, and you can start a thread or process to cache/process the > file data. Then when someone right-clicks on a file and > get_file_items is called, you already have the data you need cached. > > Adam > > On Fri, Apr 30, 2010 at 2:35 PM, Seemanta Dutta > wrote: > > Hi Adam et al, > > I installed the latest nautilus-python from git master but I could not > find > > any update_file_info_async() method in it. Perhaps you are referring to > > update_file_info_full() ? What does the *full* signify in these calls ? > > > > And one more question I had was, assuming I get my data and cache it > using > > the update_file_info_*() method, how do I make it accessible to to > > get_file_items() method when the user actually right-clicks ? This maybe > a > > pretty stupid question but please bear with me, nevertheless. > > > > regards, > > Seemanta > > > > On Wed, Apr 28, 2010 at 7:55 PM, Adam Plumb wrote: > >> > >> On Wed, Apr 28, 2010 at 10:11 AM, Seemanta Dutta > >> wrote: > >> > Actually I did not use update_file_info. I used get_file_list() > because > >> > I > >> > derived my class from MenuProvider. Isn't the way I am supposed to do > >> > it? Is > >> > there a better way to do what I have done? Can you please take a look > at > >> > my > >> > code and let me know if that is the case? My script is hosted at: > >> > http://seemanta.net/code/Nautilus_plugin/add-to-rhythmbox_V02.py > >> > > >> > In any case, I shall get the latest stuff from git and let you know > how > >> > it > >> > goes. > >> > > >> > regards, > >> > Seemanta > >> > >> You have done it correctly. Looking at your code, I don't see much > >> you can do to improvie things with just sub-classing MenuProvider. > >> > >> One thing you can do is subclass nautilus.InfoProvider and use the > >> update_file_info (or in the case of git master, > >> update_file_info_async) to collect file information asynchronously > >> when the directory is loaded, and then when the user right-clicks on > >> the file and get_file_items() is called, the information is already > >> there. That may add more complexity than you want to deal with though > >> (for maybe not much benefit). > >> > >> Adam > >> > >> > > >> > On Wed, Apr 28, 2010 at 7:31 PM, Adam Plumb > wrote: > >> >> > >> >> On Wed, Apr 28, 2010 at 9:18 AM, Seemanta Dutta > >> >> wrote: > >> >> > Hi Nautilus hackers/users, > >> >> > > >> >> > First of all hats off to all Nautilus hackers. This is such a fine > >> >> > piece > >> >> > of > >> >> > software. I have been using Linux for more than 10 years now and > more > >> >> > particularly Gnome where I find Nautilus extremely well integrated. > >> >> > You > >> >> > guys > >> >> > have done a damn fine job of creating/maintaining Nautilus ! > >> >> > > >> >> > I recently wrote a small python plugin to enqueue files or folders > >> >> > recursively into the rhythmbox play queue. Please find it here: > >> >> > http://seemanta.net/myblog/?p=634. I am not sure if this is the > right > >> >> > place > >> >> > to post this. If there is a dedicated mailing list for python > >> >> > extensions > >> >> > for > >> >> > Nautilus, please let me know. > >> >> > > >> >> > I am however, facing one issue in my script and need your inputs > >> >> > regarding > >> >> > it. Whenever a big folder with several levels of sub-folders and > >> >> > files > >> >> > is > >> >> > selected, there is a high latency in Nautilus during which it seems > >> >> > to > >> >> > become unresponsive. This is because my plugin is creating a list > of > >> >> > files > >> >> > that need to be enqueued and this is done recursively. Is there a > way > >> >> > to > >> >> > overcome this? I agree, that for huge folders, if I right click the > >> >> > delay > >> >> > might be acceptable. But I think if I simply select a folder, the > >> >> > python > >> >> > plugin should not get invoked. > >> >> > > >> >> > Any ideas how to make my script run only in case of a right-click > and > >> >> > not on > >> >> > normal left click selects ? > >> >> > > >> >> > regards, > >> >> > Seemanta > >> >> > > >> >> > > >> >> > >> >> I'm the maintainer for the nautilus-python bindings, and I've been > >> >> doing some work recently to allow for asynchronous IO work in the > >> >> update_file_info method, which I assume is what you are using for > your > >> >> IO. It is still somewhat experimental, but I would appreciate it if > >> >> you could clone git master at > >> >> http://git.gnome.org/browse/nautilus-python and test your extension > >> >> using the new code. If you do that, let me know whether it > alleviates > >> >> the problems you're seeing with your extension. FYI, you should read > >> >> the new documentation in examples/documentation.py to see how to use > >> >> the new features. > >> >> > >> >> Adam > >> >> -- > >> >> nautilus-list mailing list > >> >> nautilus-list@gnome.org > >> >> http://mail.gnome.org/mailman/listinfo/nautilus-list > >> > > >> > > > > > > --0016e6476154db38e3048578adcc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Wow Adam!! That was superfast! Appreciate your prompt response. So now, I h= ave a question. If this update_info_full() method gets called for each and = every file, then would having such a plugin make sense? Every directory loa= d would start 'n' async threads reading its contents recursively, w= here n is the number of folders contained within that folder.

I have started to have second thoughts over my plugin now :(
Please = advise.

regards,
Seemanta

On Sa= t, May 1, 2010 at 12:09 AM, Adam Plumb <adamplumb@gmail.com> wrote:
hi Seemanta, sorr= y for the confusion, I changed the
update_file_info_async method to update_file_info_full yesterday,
after sending that email.

In order to have cached data available to your get_file_items method,
you would probably want to create a dictionary available throughout
your class, something like self.cache that can be accessed from
anywhere. =A0update_file_info_full() will get called for each file in a
directory, and you can start a thread or process to cache/process the
file data. =A0Then when someone right-clicks on a file and
get_file_items is called, you already have the data you need cached.

Adam

On Fri, Apr 30, 2010 at 2:35 PM, Seemanta Dutta <seemanta@gmail.com> wrote:
> Hi Adam et al,
> I installed the latest nautilus-python from git master but I could not= find
> any update_file_info_async() method in it. Perhaps you are referring t= o
> update_file_info_full() ? What does the *full* signify in these calls = ?
>
> And one more question I had was, assuming I get my data and cache it u= sing
> the update_file_info_*() method, how do I make it accessible to to
> get_file_items() method when the user actually right-clicks ? This may= be a
> pretty stupid question but please bear with me, nevertheless.
>
> regards,
> Seemanta
>
> On Wed, Apr 28, 2010 at 7:55 PM, Adam Plumb <adamplumb@gmail.com> wrote:
>>
>> On Wed, Apr 28, 2010 at 10:11 AM, Seemanta Dutta <seemanta@gmail.com>
>> wrote:
>> > Actually I did not use update_file_info. I used get_file_list= () because
>> > I
>> > derived my class from MenuProvider. Isn't the way I am su= pposed to do
>> > it? Is
>> > there a better way to do what I have done? Can you please tak= e a look at
>> > my
>> > code and let me know if that is the case? My script is hosted= at:
>> > http://seemanta.net/code/Nautilus_plugin/= add-to-rhythmbox_V02.py
>> >
>> > In any case, I shall get the latest stuff from git and let yo= u know how
>> > it
>> > goes.
>> >
>> > regards,
>> > Seemanta
>>
>> You have done it correctly. =A0Looking at your code, I don't s= ee much
>> you can do to improvie things with just sub-classing MenuProvider.=
>>
>> One thing you can do is subclass nautilus.InfoProvider and use the=
>> update_file_info (or in the case of git master,
>> update_file_info_async) to collect file information asynchronously=
>> when the directory is loaded, and then when the user right-clicks = on
>> the file and get_file_items() is called, the information is alread= y
>> there. =A0That may add more complexity than you want to deal with = though
>> (for maybe not much benefit).
>>
>> Adam
>>
>> >
>> > On Wed, Apr 28, 2010 at 7:31 PM, Adam Plumb <adamplumb@gmail.com> wrote:
>> >>
>> >> On Wed, Apr 28, 2010 at 9:18 AM, Seemanta Dutta <seemanta@gmail.com>
>> >> wrote:
>> >> > Hi Nautilus hackers/users,
>> >> >
>> >> > First of all hats off to all Nautilus hackers. This = is such a fine
>> >> > piece
>> >> > of
>> >> > software. I have been using Linux for more than 10 y= ears now and more
>> >> > particularly Gnome where I find Nautilus extremely w= ell integrated.
>> >> > You
>> >> > guys
>> >> > have done a damn fine job of creating/maintaining Na= utilus !
>> >> >
>> >> > I recently wrote a small python plugin to enqueue fi= les or folders
>> >> > recursively into the rhythmbox play queue. Please fi= nd it here:
>> >> > http://seemanta.net/myblog/?p=3D634. I am not sure if thi= s is the right
>> >> > place
>> >> > to post this. If there is a dedicated mailing list f= or python
>> >> > extensions
>> >> > for
>> >> > Nautilus, please let me know.
>> >> >
>> >> > I am however, facing one=A0issue in my script and ne= ed your inputs
>> >> > regarding
>> >> > it. Whenever a big folder with several levels of sub= -folders and
>> >> > files
>> >> > is
>> >> > selected, there is a high latency in Nautilus during= which it seems
>> >> > to
>> >> > become unresponsive. This is because my plugin is cr= eating a list of
>> >> > files
>> >> > that need to be enqueued and this is done recursivel= y. Is there a way
>> >> > to
>> >> > overcome this? I agree, that for huge folders, if I = right click the
>> >> > delay
>> >> > might be acceptable. But I think if I simply select = a folder, the
>> >> > python
>> >> > plugin should not get invoked.
>> >> >
>> >> > Any ideas how to make my script run only in case of = a right-click and
>> >> > not on
>> >> > normal left click selects ?
>> >> >
>> >> > regards,
>> >> > Seemanta
>> >> >
>> >> >
>> >>
>> >> I'm the maintainer for the nautilus-python bindings, = and I've been
>> >> doing some work recently to allow for asynchronous IO wor= k in the
>> >> update_file_info method, which I assume is what you are u= sing for your
>> >> IO. =A0It is still somewhat experimental, but I would app= reciate it if
>> >> you could clone git master at
>> >> http://git.gnome.org/browse/nautilus-python and test y= our extension
>> >> using the new code. =A0If you do that, let me know whethe= r it alleviates
>> >> the problems you're seeing with your extension. =A0FY= I, you should read
>> >> the new documentation in examples/documentation.py to see= how to use
>> >> the new features.
>> >>
>> >> Adam
>> >> --
>> >> nautilus-list mailing list
>> >> nautilus-list@= gnome.org
>> >> http://mail.gnome.org/mailman/listinfo/nautilus-l= ist
>> >
>> >
>
>

--0016e6476154db38e3048578adcc--