Re: g_build_filename and members

2008-01-06 Thread Morten Welinder
On Jan 6, 2008 3:43 PM, Mikael Hermansson <[EMAIL PROTECTED]> wrote: > Hmm just saw that g_build_filename does not work for GIO Uris > > its simply strips away separator for example: > > g_build_filename("file:///", g_get_home_dir(), "foobar.txt", NULL) > > will be: > > file:/home/user/foobar.txt

Re: RFC: Re-Design GtkStyle to only pass cairo-context?

2008-01-06 Thread Clemens Eisserer
Hello Kalle, > I guess it could work if one derives a GtkCairoStyle from GtkStyle and > add the cairo-based API to that. That way casts to GtkStyle should > work and engines could implement the old api with the wrapper > approach. > > Or was that what you meant already?-) Not really, because as fa

Re: g_build_filename and members

2008-01-06 Thread Emmanuele Bassi
On Sun, 2008-01-06 at 23:30 +0100, Xavier Bestel wrote: > Le dimanche 06 janvier 2008 à 22:14 +, Emmanuele Bassi a écrit : > > On Sun, 2008-01-06 at 21:43 +0100, Mikael Hermansson wrote: > > > Hmm just saw that g_build_filename does not work for GIO Uris > > > > as the name implies, and the d

Re: g_build_filename and members

2008-01-06 Thread Xavier Bestel
Le dimanche 06 janvier 2008 à 22:14 +, Emmanuele Bassi a écrit : > On Sun, 2008-01-06 at 21:43 +0100, Mikael Hermansson wrote: > > Hmm just saw that g_build_filename does not work for GIO Uris > > as the name implies, and the documentation specifies, g_build_filename() > is meant for filename

Re: g_build_filename and members

2008-01-06 Thread Emmanuele Bassi
On Sun, 2008-01-06 at 21:43 +0100, Mikael Hermansson wrote: > Hmm just saw that g_build_filename does not work for GIO Uris as the name implies, and the documentation specifies, g_build_filename() is meant for filenames, not URIs. > maybe there should be an g_build_uri? or similar? different sc

Fosdem 2008 - Call for talks

2008-01-06 Thread Christophe Fergeau
Hi everyone, and happy new year ;) As for the last few years, we'll have a GNOME devroom at FOSDEM (23/24 feb in Brussels), and as always, we're looking for people who want to give talks in that devroom. This year, the half day dedicated to cross desktop talks has been extended to cover the whol

g_build_filename and members

2008-01-06 Thread Mikael Hermansson
Hmm just saw that g_build_filename does not work for GIO Uris its simply strips away separator for example: g_build_filename("file:///", g_get_home_dir(), "foobar.txt", NULL) will be: file:/home/user/foobar.txt The File:/ gvfs backend will accept this but if we pass: g_build_filename("sftp://

Re: RFC: Re-Design GtkStyle to only pass cairo-context?

2008-01-06 Thread Kalle Vahlman
2008/1/6, Clemens Eisserer <[EMAIL PROTECTED]>: > Hello, > > Many non-gtk applications are using GtkStyle to adjust their > appearance to the currently used GTK theme. > The current GtkStyle-function (gtk_paint_xyz()) take a GdkWindow as > parameter - however I saw many programs which instead passe

Re: RFC: Re-Design GtkStyle to only pass cairo-context?

2008-01-06 Thread Clemens Eisserer
I just found out that my suggestion seems to be even on the GtkCairoIntegration task list, even if the wherefores are different. Taken from http://live.gnome.org/GtkCairoIntegration: 5. Gtk+ themes need to support Cairo surfaces so that e.g. insensitivity can be rendered without workarounds (e.g.

RFC: Re-Design GtkStyle to only pass cairo-context?

2008-01-06 Thread Clemens Eisserer
Hello, Many non-gtk applications are using GtkStyle to adjust their appearance to the currently used GTK theme. The current GtkStyle-function (gtk_paint_xyz()) take a GdkWindow as parameter - however I saw many programs which instead passed a GdkPixmap which also seemd to work (however as far as I

Re: g_test with mainloop integration?

2008-01-06 Thread Mikkel Kamstrup Erlandsen
On 06/01/2008, muppet <[EMAIL PROTECTED]> wrote: > > On Jan 5, 2008, at 6:46 PM, Mikkel Kamstrup Erlandsen wrote: > > > The wait_for_signal() method process the main loop until a signal is > > emitted on a given object - or maybe until a timeout is reached[1]. > > The whole idea about that method i

Re: g_test with mainloop integration?

2008-01-06 Thread muppet
On Jan 5, 2008, at 6:46 PM, Mikkel Kamstrup Erlandsen wrote: The wait_for_signal() method process the main loop until a signal is emitted on a given object - or maybe until a timeout is reached[1]. The whole idea about that method is that it should be possible to write your tests without using