Re: [Vala] DBUS : Must add the signal with dbus_g_proxy_add_signal()

2009-06-12 Thread Enrique Ocaña González
El Friday 15 May 2009 16:01:00 Frédéric Gaudy escribió: > I try to connect a call back to DBus.Object signal I've got this warning : > WARNING **: Must add the signal > 'net-sf-Cameleon-Service-conversion_completed' with > dbus_g_proxy_add_signal() prior to connecting to it > [...] > The signal Co

Re: [Vala] setting this.window from Gtk.Widget subclass is not allowed?

2009-06-12 Thread qnull
Hello Jürg Shouldn't the function public Window (Gdk.Window parent, Gdk.WindowAttr attributes, int attributes_mask); be public Window (Gdk.Window? parent, Gdk.WindowAttr attributes, int attributes_mask); parent window can be null. cheers Am Freitag, den 12.06.2009, 23:19 +0200 schrieb Jürg

Re: [Vala] setting this.window from Gtk.Widget subclass is not allowed?

2009-06-12 Thread Jürg Billeter
On Fri, 2009-06-12 at 10:02 +0100, Ali Afshar wrote: > Hi everyone, nice work with Vala, I am quite excited. > > I am not sure whether this is a bug or not, but when I follow the custom > widget examples on http://live.gnome.org/Vala/CustomWidgetSamples, in > the final example, which set's this.

Re: [Vala] Val(a)IDE 0.5 - IDE for Vala

2009-06-12 Thread Nicolas Joseph
The problem is fixed: the path for vala is removed. Instead of the patch, I wrote a vapi file. This is not the best solution, but it is better ("c'est moins pire", in french). 2009/6/12 Sam Liddicott : > * Nicolas Joseph wrote, On 12/06/09 12:11: > > 2009/6/12 Andre "Osku" Schmidt : > > > in (at

Re: [Vala] Help with generating headers. Forward declaration?

2009-06-12 Thread qnull
yw, qnull Am Freitag, den 12.06.2009, 11:44 -0400 schrieb Sam Danielson: > On Fri, Jun 12, 2009 at 3:41 AM, qnull wrote: > > Not only you have to add -H, but also the name of the .h file: > > valac ... -H foo.h ... > > maybe you also have to add the path for the .h file > > The -H option works. I

Re: [Vala] Help with generating headers. Forward declaration?

2009-06-12 Thread Sam Danielson
On Fri, Jun 12, 2009 at 3:41 AM, qnull wrote: > Not only you have to add -H, but also the name of the .h file: > valac ... -H foo.h ... > maybe you also have to add the path for the .h file The -H option works. I omitted the argument to -H and that was causing my first source file to be associated

Re: [Vala] Val(a)IDE 0.5 - IDE for Vala

2009-06-12 Thread Sam Liddicott
* Nicolas Joseph wrote, On 12/06/09 12:11: > 2009/6/12 Andre "Osku" Schmidt : > > >> in (at least) ubuntu9.04 /bin/sh -> dash, and as dash seems to give that >> "[[:" not found error, it would be probably worth to note that "bash >> apply_patches.sh" doesn't give that error. >> >> > > What

Re: [Vala] Val(a)IDE 0.5 - IDE for Vala

2009-06-12 Thread Nicolas Joseph
2009/6/12 Andre "Osku" Schmidt : > as i get some french (a language that i dont know) error mails from > google when i try to post on valide-users "mailing list", ill try > here... > I have changed the default language of the group. I have a problem with the configuration, you can't send a message

Re: [Vala] Val(a)IDE 0.5 - IDE for Vala

2009-06-12 Thread Nicolas Joseph
2009/6/12 Andre "Osku" Schmidt : > but i see we still have to patch system files... > any progress on avoiding this ? > Currently, I have reported all bugs: http://bugzilla.gnome.org/show_bug.cgi?id=536480 http://bugzilla.gnome.org/show_bug.cgi?id=559647 http://bugzilla.gnome.org/show_bug.cgi?id=

Re: [Vala] Val(a)IDE 0.5 - IDE for Vala

2009-06-12 Thread Andre "Osku" Schmidt
as i get some french (a language that i dont know) error mails from google when i try to post on valide-users "mailing list", ill try here... o...@klotz:~/Code/valide-0.5.0$ sh apply_patches.sh apply_patches.sh: 8: [[: not found patching file vapi/gtk+-2.0.vapi Hunk #1 succeeded at 4730 (offset 3

Re: [Vala] Val(a)IDE 0.5 - IDE for Vala

2009-06-12 Thread Andre "Osku" Schmidt
On Thu, 2009-06-11 at 23:45 +0200, Nicolas Joseph wrote: > I am pleased to announce version 0.5 of Val(a)IDE. very nice, thanks! but i see we still have to patch system files... any progress on avoiding this ? ___ Vala-list mailing list Vala-list@gnom

Re: [Vala] Help with generating headers. Forward declaration?

2009-06-12 Thread Jürg Billeter
On Thu, 2009-06-11 at 22:27 -0400, Sam Danielson wrote: > I have a convenience library written in Vala so I need to generate > headers. There are a few circular dependencies and adding the -H > switch to valac causes something like this. > > libsqlpilot/flight.vala:8.10-8.17: error: The type name

[Vala] setting this.window from Gtk.Widget subclass is not allowed?

2009-06-12 Thread Ali Afshar
Hi everyone, nice work with Vala, I am quite excited. I am not sure whether this is a bug or not, but when I follow the custom widget examples on http://live.gnome.org/Vala/CustomWidgetSamples, in the final example, which set's this.window (which seems right for gtk+ and is needed later by oth

[Vala] [Patch] Return value of FileInfo.list_attributes

2009-06-12 Thread Frederik Sdun
Hi, ryancr pointed me to a bug in gio-2.0.vapi in FileInfo class. The method returns string instead of string[].I appended a patch. Regards, Frederik diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index 44d9b9d..dfffde2 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -209,7 +209,7 @