Re: key bindings

2008-05-15 Thread Vasiliy G Tolstov
On Thu, 2008-05-15 at 05:09 -0500, Diego Escalante Urrelo wrote: On Thu, 2008-05-15 at 13:11 +0400, Vasiliy G Tolstov wrote: I'm using gnome 2.23.1 on my gentoo Linux computer. I want to bind windows+l to lock screen (like in windows), in gnome keyboard shortcuts im define a key combination

Re: Getting a list of open files, the smart way?

2008-05-15 Thread Gustavo J. A. M. Carneiro
On Wed, 2008-05-14 at 19:10 -0500, Diego Escalante Urrelo wrote: Hi, I have made a quite simple patch for bug 528559[0], it makes the quite useless drive is being used dialog into a list of applications using such drive[1]. I'm using a little hack with lsof, but it's not really reliable,

key bindings

2008-05-15 Thread Vasiliy G Tolstov
I'm using gnome 2.23.1 on my gentoo Linux computer. I want to bind windows+l to lock screen (like in windows), in gnome keyboard shortcuts im define a key combination pressing windows and l (Mod4+l). But when i'm pressing this combination - nothing is happened. I'm try to bind windows+t to run

Re: Getting a list of open files, the smart way?

2008-05-15 Thread Diego Escalante Urrelo
On 5/15/08, Gustavo J. A. M. Carneiro [EMAIL PROTECTED] wrote: On Wed, 2008-05-14 at 19:10 -0500, Diego Escalante Urrelo wrote: Hi, I have made a quite simple patch for bug 528559[0], it makes the quite useless drive is being used dialog into a list of applications using such

Re: Getting a list of open files, the smart way?

2008-05-15 Thread Christian Glodt
On Thu, 2008-05-15 at 11:50 +0100, Gustavo J. A. M. Carneiro wrote: On Wed, 2008-05-14 at 19:10 -0500, Diego Escalante Urrelo wrote: Hi, I have made a quite simple patch for bug 528559[0], it makes the quite useless drive is being used dialog into a list of applications using such

Re: Quotation marks: Using “” instead of

2008-05-15 Thread Simos Xenitellis
O/H Thomas Thurman έγραψε: Ysgrifennodd Alan Cox [EMAIL PROTECTED]: Sort order, comparisons, printing, string lengths when using locale aware functions, and no doubt a few more that for the moment have escaped me. Use the tools to spec and you get reliable predictable results, do

Re: key bindings

2008-05-15 Thread Bastien Nocera
On Thu, 2008-05-15 at 14:15 +0400, Vasiliy G Tolstov wrote: On Thu, 2008-05-15 at 05:09 -0500, Diego Escalante Urrelo wrote: On Thu, 2008-05-15 at 13:11 +0400, Vasiliy G Tolstov wrote: I'm using gnome 2.23.1 on my gentoo Linux computer. I want to bind windows+l to lock screen (like in

Re: Getting a list of open files, the smart way?

2008-05-15 Thread Benoît Dejean
Hi, I have made a quite simple patch for bug 528559[0], it makes the quite useless drive is being used dialog into a list of applications using such drive[1]. I'm using a little hack with lsof, but it's not really reliable, like when process names are too long. I checked libgtop quickly

Re: Quotation marks: Using “” instead of

2008-05-15 Thread Federico Mena Quintero
On Tue, 2008-05-13 at 12:20 -0500, Shaun McCance wrote: If I have to use the en translation, then I have to put this string in the source code: The file %s could not be found. Then I have to run 'intltool-update en', open en.po, and add the translation. That's more steps, none of

Re: Quotation marks: Using “” instead of

2008-05-15 Thread Simos Xenitellis
O/H Shaun McCance έγραψε: On Tue, 2008-05-13 at 17:36 +0100, Alan Cox wrote: Honestly, other than being pedantic, I don't see the problem with UTF-8 in the C locale. Does it cause any *actual* problems? I've never once gotten a bug report against g-d-u about this. Sort order,

Re: Quotation marks: Using “” instead of

2008-05-15 Thread Hubert Figuiere
On Thu, 2008-05-15 at 11:19 -0500, Federico Mena Quintero wrote: C is hard. Unicode didn't exist in the 1970s. Get over it. If you want UTF-8 strings in your source code without escaping non-ASCII chars, use C# or another modern language which supports that. utf-8 encoded litteral DO

Re: key bindings

2008-05-15 Thread Jens Granseuer
On 15.05.2008 12:15, Vasiliy G Tolstov wrote: On Thu, 2008-05-15 at 05:09 -0500, Diego Escalante Urrelo wrote: On Thu, 2008-05-15 at 13:11 +0400, Vasiliy G Tolstov wrote: I'm using gnome 2.23.1 on my gentoo Linux computer. I want to bind windows+l to lock screen (like in windows), in

Re: key bindings

2008-05-15 Thread Vasiliy G Tolstov
On Thu, 2008-05-15 at 18:44 +0200, Jens Granseuer wrote: Using the Windows key as a modifier is currently not supported for actions run by gnome-settings-daemon [1]. Jens [1] http://bugzilla.gnome.org/show_bug.cgi?id=165343 Thank You, but why windows+t (or windows+other key) to run

Re: key bindings

2008-05-15 Thread Jens Granseuer
On 15.05.2008 18:39, Vasiliy G Tolstov wrote: On Thu, 2008-05-15 at 18:44 +0200, Jens Granseuer wrote: Using the Windows key as a modifier is currently not supported for actions run by gnome-settings-daemon [1]. Jens [1] http://bugzilla.gnome.org/show_bug.cgi?id=165343 Thank

Re: key bindings

2008-05-15 Thread Vasiliy G Tolstov
On Thu, 2008-05-15 at 19:03 +0200, Jens Granseuer wrote: On 15.05.2008 18:39, Vasiliy G Tolstov wrote: On Thu, 2008-05-15 at 18:44 +0200, Jens Granseuer wrote: Using the Windows key as a modifier is currently not supported for actions run by gnome-settings-daemon [1]. Jens

Re: Quotation marks: Using “” instead of

2008-05-15 Thread Tor Lillqvist
utf-8 encoded litteral DO work in C, without glitch. Assuming the functions in any library (including the C library) you pass such UTF-8 encoded strings to expects them to be UTF-8... And UTF-8-encoded wide string literals hardly work correctly unless you explicitly tell the compiler that the

Re: Quotation marks: Using “” instead of

2008-05-15 Thread Shaun McCance
On Thu, 2008-05-15 at 11:19 -0500, Federico Mena Quintero wrote: On Tue, 2008-05-13 at 12:20 -0500, Shaun McCance wrote: If I have to use the en translation, then I have to put this string in the source code: The file %s could not be found. Then I have to run 'intltool-update

Re: Getting a list of open files, the smart way?

2008-05-15 Thread Shaun McCance
On Thu, 2008-05-15 at 06:19 -0500, Diego Escalante Urrelo wrote: On 5/15/08, Gustavo J. A. M. Carneiro [EMAIL PROTECTED] wrote: On Wed, 2008-05-14 at 19:10 -0500, Diego Escalante Urrelo wrote: Hi, I have made a quite simple patch for bug 528559[0], it makes the quite useless

Re: Getting a list of open files, the smart way?

2008-05-15 Thread Diego Escalante Urrelo
On 5/15/08, Shaun McCance [EMAIL PROTECTED] wrote: On Thu, 2008-05-15 at 06:19 -0500, Diego Escalante Urrelo wrote: On 5/15/08, Gustavo J. A. M. Carneiro [EMAIL PROTECTED] wrote: On Wed, 2008-05-14 at 19:10 -0500, Diego Escalante Urrelo wrote: Hi, I have made a quite

Re: Getting a list of open files, the smart way?

2008-05-15 Thread Diego Escalante Urrelo
On 5/15/08, Benoît Dejean [EMAIL PROTECTED] wrote: Hi, I have made a quite simple patch for bug 528559[0], it makes the quite useless drive is being used dialog into a list of applications using such drive[1]. I'm using a little hack with lsof, but it's not really reliable,

Re: Getting a list of open files, the smart way?

2008-05-15 Thread Benoît Dejean
On 5/15/08, Benoît Dejean [EMAIL PROTECTED] wrote: system-monitor has this using libgtop. feel free to steal the code. i'll answer all your technical questions. I read it but didn't get too far, I'll check again and spam you with questions. Thanks. Checkout this example:

Re: Quotation marks: Using “” instead of

2008-05-15 Thread Tom Tromey
Shaun == Shaun McCance [EMAIL PROTECTED] writes: Shaun But plenty of people have been putting UTF-8 string Shaun literals in C code for some time, seemingly without Shaun problems. Yes, it works fine with gcc. You have to make sure you set the execution character set properly, but the default

libtool versioning (was Re: Getting a list of open files, the smart way?)

2008-05-15 Thread Bastien Nocera
On Thu, 2008-05-15 at 20:26 +0200, Benoît Dejean wrote: On 5/15/08, Benoît Dejean [EMAIL PROTECTED] wrote: system-monitor has this using libgtop. feel free to steal the code. i'll answer all your technical questions. I read it but didn't get too far, I'll check again and spam you

Re: libtool versioning (was Re: Getting a list of open files, the smart way?)

2008-05-15 Thread Benoît Dejean
Bastien Nocera a écrit : On Thu, 2008-05-15 at 20:26 +0200, Benoît Dejean wrote: On 5/15/08, Benoît Dejean [EMAIL PROTECTED] wrote: I'm going to comment about your log message instead which says: Updated libtool versioning: API addition does not change the ABI, so only increased

Something wrong with SVN access?

2008-05-15 Thread Jaap A. Haitsma
Hi, When I check out code with my gnome account I get prompted for a password and I don't have a clue which password it needs to be. svn co svn+ssh://[EMAIL PROTECTED]/svn/vala/trunk vala-trunk [EMAIL PROTECTED]'s password: Normally I always got prompted for my ssh passphrase. Anybody knows

Re: Something wrong with SVN access?

2008-05-15 Thread Sandy Armstrong
http://tinyurl.com/56vsoa On 5/15/08, Jaap A. Haitsma [EMAIL PROTECTED] wrote: Hi, When I check out code with my gnome account I get prompted for a password and I don't have a clue which password it needs to be. svn co svn+ssh://[EMAIL PROTECTED]/svn/vala/trunk vala-trunk [EMAIL

Re: libtool versioning (was Re: Getting a list of open files, the smart way?)

2008-05-15 Thread Matteo Settenvini
Il giorno gio, 15/05/2008 alle 21.35 +0200, Benoît Dejean ha scritto: Bastien Nocera a écrit : On Thu, 2008-05-15 at 20:26 +0200, Benoît Dejean wrote: On 5/15/08, Benoît Dejean [EMAIL PROTECTED] wrote: I'm going to comment about your log message instead which says: Updated

Re: Something wrong with SVN access?

2008-05-15 Thread Jaap A. Haitsma
On Thu, May 15, 2008 at 10:00 PM, Sandy Armstrong [EMAIL PROTECTED] wrote: http://tinyurl.com/56vsoa I see that I received the mail but didn't read it. A better subject would have helped here I think Developer/SSH Access to GNOME servers has been disabled!!! (Please check your ssh keys) as a

Re: libtool versioning (was Re: Getting a list of open files, the smart way?)

2008-05-15 Thread Bastien Nocera
On Thu, 2008-05-15 at 21:35 +0200, Benoît Dejean wrote: Bastien Nocera a écrit : On Thu, 2008-05-15 at 20:26 +0200, Benoît Dejean wrote: On 5/15/08, Benoît Dejean [EMAIL PROTECTED] wrote: I'm going to comment about your log message instead which says: Updated libtool

Re: libtool versioning (was Re: Getting a list of open files, the smart way?)

2008-05-15 Thread Bastien Nocera
On Thu, 2008-05-15 at 22:06 +0200, Matteo Settenvini wrote: Il giorno gio, 15/05/2008 alle 21.35 +0200, Benoît Dejean ha scritto: Bastien Nocera a écrit : On Thu, 2008-05-15 at 20:26 +0200, Benoît Dejean wrote: On 5/15/08, Benoît Dejean [EMAIL PROTECTED] wrote: I'm going to

Re: Getting a list of open files, the smart way?

2008-05-15 Thread Olav Vitters
On Thu, May 15, 2008 at 01:21:36PM -0500, Diego Escalante Urrelo wrote: Don't we have a library that manages this stuff? Is it not possible to query this library on the Exec line? No we don't or at least I didn't find one. And it seems that grepping for Exec lines is not a good idea

Re: Getting a list of open files, the smart way?

2008-05-15 Thread Diego Escalante Urrelo
On 5/15/08, Olav Vitters [EMAIL PROTECTED] wrote: On Thu, May 15, 2008 at 01:21:36PM -0500, Diego Escalante Urrelo wrote: Don't we have a library that manages this stuff? Is it not possible to query this library on the Exec line? No we don't or at least I didn't find one. And it