[Vala] Vala tutorials on launchpad

2010-12-04 Thread Sepehr Aryani
Hi Guys. My name is Sepehr Aryani (Sepidev). Recently I created a project on Launchpad called Vala-Tutorials. You can join and push your codes and tutorials there. I have pushed some of my codes there already. These are my experiences, you can share yours too. I really appreciate your efforts and

Re: [Vala] Dbus, connecting a signal to an async method...

2010-12-04 Thread Treviño
Il giorno ven, 03/12/2010 alle 17.18 +0100, Abderrahim Kitouni ha scritto: session_proxy.name_acquired.connect (this.name_acquired); What I would have done is: session_proxy.name_acquired.connect ((name) = this.name_acquired.begin(name)); Ok, cool this works thanks. However in this case

[Vala] Vapi question (

2010-12-04 Thread Dru Moore
Hi all, I'm probably a bit out of my depth with vapi editing but I am trying none the less: Currently in hlidon-1.vapi there is a static method [CCode (cheader_filename = hildon/hildon.h)] public static void gtk_window_set_progress_indicator (Gtk.Window window, uint state); which I

Re: [Vala] Vala tutorials on launchpad

2010-12-04 Thread Bob Hazard
If you are feeling keen you may want to talk to Rick Spencer and the Quickly guys about getting proper Vala support in Quickly. I know Shane Fagan made a start on a Vala template in the summer but it is still overshadowed by all the Python momentum. Ubuntu is making push towards Quickly with the

Re: [Vala] Cannot have field and method with the same name

2010-12-04 Thread Anatol Pomozov
2010/12/3 Aleksander Wabik alex.wa...@gmail.com: I have a class that contains a field and method with the same name, and Valac does not like it. Generally Vala does not have any usable symbol mangling engine. It's good, because Vala generates a C api and you obviously don't want to have

Re: [Vala] Cannot have field and method with the same name

2010-12-04 Thread Anatol Pomozov
On Fri, Dec 3, 2010 at 5:08 PM, Evan Nemerson e...@coeus-group.com wrote: On Fri, 2010-12-03 at 15:38 -0800, Anatol Pomozov wrote: Hi, I have a class that contains a field and method with the same name, and Valac does not like it. What is the reason? Other languages (C#/Java) allow it. You

[Vala] Interfaces - why do they must have prerequisites?

2010-12-04 Thread Aleksander Wabik
Hi all, I'm using valac 0.11.2, and when I compile the following code, it fails: // --- test.vala --- namespace Test { public interface IFoo { public abstract bool run(); } public class Foo : IFoo { public

Re: [Vala] [Genie] Problem with derived compact classes

2010-12-04 Thread Jiří Zárevúcky
Nicolas píše v So 04. 12. 2010 v 12:56 +0100: Someone knows what can i do to avoid this ? Unfortunately, there is nothing you can do except trying a different design. Derived compact classes are not supported (and can't be for technical reasons). signature.asc Description: This is a digitally