How to wrap text to next line automatically when using GtkCellRendererText?

2009-05-20 Thread Zhihai Wang
Dear all, I'm using GtkCellRendererText to render some text. This text might be very long, and I want the text wrapped to next line(s) according to the width of the window, which means I can't set wrap-width property of GtkCellRendererText since the width of the whole window might be resized by

Giving GtkFileChooser different backend functions.

2009-05-20 Thread Richard Shann
Does anyone know if it would be at all easy to intercept the calls the GtkFileChooser widget makes to get files/directories? I am sure it would take me too long to get to grips with the whole subclassing thing to create a special version of the widget, but if I could just sneak in there when it

Re: Review of gnio, round 2

2009-05-20 Thread Alexander Larsson
On Tue, 2009-05-19 at 07:50 -0400, Dan Winship wrote: Alexander Larsson wrote: There is no GLIB_SYSDEF enum thing because there are no such thing in the sockets API. You use getprotobyname, which is wrapped as g_socket_protocol_id_lookup_by_name(). Hm... actually, it looks like this is

Re: GTK+ print preview

2009-05-20 Thread Ghee Teo
Carlos Garcia Campos wrote: El mar, 19-05-2009 a las 07:46 +0200, Sven Neumann escribió: Hi, On Mon, 2009-05-18 at 15:06 +0200, Carlos Garcia Campos wrote: I've realized that print preview doesn't work as I thought, and I'm bit confused. An application open the print dialog by using

Re: Embedded page setup dialog in the print dialog

2009-05-20 Thread Ghee Teo
Marek Kasik wrote: Hi all, I'm working on a fix of the bug #551409. I would like to add a Paper size combo box and an Orientation combo box to the Page setup page. This combo boxes would be optional (depending on call of gtk_print_operation_embed_page_setup_dialog()). I would also change layout

Embedded page setup dialog in the print dialog

2009-05-20 Thread Marek Kasik
Hi all, I'm working on a fix of the bug #551409. I would like to add a Paper size combo box and an Orientation combo box to the Page setup page. This combo boxes would be optional (depending on call of gtk_print_operation_embed_page_setup_dialog()). I would also change layout preview on Page

Re: GTK+ print preview

2009-05-20 Thread Christian Dywan
Am Wed, 20 May 2009 15:17:41 +0100 schrieb Ghee Teo ghee@sun.com: Carlos Garcia Campos wrote: El mar, 19-05-2009 a las 07:46 +0200, Sven Neumann escribió: Hi, On Mon, 2009-05-18 at 15:06 +0200, Carlos Garcia Campos wrote: I've realized that print preview doesn't work

Re: GTK+ Hackfest around Boston Summit

2009-05-20 Thread Cody Russell
I'll definitely attend, and I'd like to join a hackfest if one happens. On Tue, May 19, 2009 at 11:06 PM, Behdad Esfahbod besfa...@redhat.comwrote: Hi everyone, Since the last attempt to organize a GTK+ hackfest failed and not many GTK+ people seems to be going to GUADEC, I wonder whether