Re: Question about "Color name Gtk+ knowns"

2006-09-03 Thread Yeti
On Mon, Sep 04, 2006 at 02:01:14PM +0800, chao yeaj wrote: > The gtk's document file saids "GTK+ knows all names from the X > color database /usr/lib/X11/rgb.txt)" > > But ,in my PC, i can not find this file named "rgb.txt" > > My OS is :Fedora Core 5 $ cat /etc/fedora-release Fed

Question about "Color name Gtk+ knowns"

2006-09-03 Thread chao yeaj
Hello all The gtk's document file saids "GTK+ knows all names from the X color database /usr/lib/X11/rgb.txt)" But ,in my PC, i can not find this file named "rgb.txt" My OS is :Fedora Core 5 Why ? Any comments would be much appreciated ,and thanks in advance

How to update a treeview with values from a closed dialog?

2006-09-03 Thread Fabricio Rocha
Hi all! RADiola is going on, as far as I have time to develop it :) It has been a great learning exercise, and I am happy that I could update my C knowledge (which was full of dust) and learn a lot about GTK without having to bug the list all the time! However, some times I really need

Re: Musings on the proper use of g_error and GError

2006-09-03 Thread Philip Kovacs
Suppose one issues a connect() on a socket fd. Would it be correct to set a GError if the call returned a "soft" error code like EAGAIN or ECONNREFUSED, but to throw a hard g_error if it were, e.g. EFAULT? "Recoverable" is in the eye of the beholder, no? Also, since "g_error should only be used

Re: Unsolved clipping problem

2006-09-03 Thread Tor Lillqvist
Tintin72 writes: > Do you think is there a way to improve/optimise my code and remove this > problem ? Yes. Thanks to Mitch on #gimp for this hint: You should set the background of the window instead of trying to paint the background yourself in the expose_event handler. Below is your sample pro

Re: Unsolved clipping problem

2006-09-03 Thread Michael Torrie
On Sun, 2006-09-03 at 01:33 -0700, Tintin72 wrote: > Hi again, > > Just for information, I would like you to see exactely the nature of this > clipping problem. > So I captured a little .avi movie (900ko) from my pc's screen. > http://web8.free.fr/images/pbClipping.avi > Quality is not very good

Re: Unsolved clipping problem

2006-09-03 Thread Tintin72
Hi again, Just for information, I would like you to see exactely the nature of this clipping problem. So I captured a little .avi movie (900ko) from my pc's screen. http://web8.free.fr/images/pbClipping.avi Quality is not very good but it's just to give you an idea of the pb. I forgot to say