[Vala] Writing to existing file

2009-05-31 Thread Joss 4
Hi , Guys I am trying to write to an existing file but I found only a write to a new file in http://code.valaide.org code like this : var file = File.new_for_path (samplefile.txt); { var file_stream = file.create (FileCreateFlags.NONE, null); if

[Vala] [PATCH] Enhance X11 bindings and fix some cnames

2009-05-31 Thread Michael B. Trausch
(Resending a modified patch, per juergbi.) This patch fixes cnames for the X11 bindings and provides bindings for new methods which came from my original bindings that I wrote for AllTray earlier this year. Signed-off-by: Michael B. Trausch m...@trausch.us --- vapi/x11.vapi | 236

Re: [Vala] [PATCH] Enhance X11 bindings and fix some cnames

2009-05-31 Thread Jürg Billeter
On Sun, 2009-05-31 at 14:48 -0400, Michael B. Trausch wrote: (Resending a modified patch, per juergbi.) This patch fixes cnames for the X11 bindings and provides bindings for new methods which came from my original bindings that I wrote for AllTray earlier this year. Thanks, pushed. Jürg

Re: [Vala] [PATCH] Tiny patch regarding gdk-x11 vapi.

2009-05-31 Thread Jürg Billeter
On Sat, 2009-05-30 at 18:30 -0300, Alexandre Moreira wrote: I am dealing with the new x11 binding and a few things (trying to port a System Tray manager to Vala) and I found that there is (what I believe to be) a tiny mistake in gdk-x11 vapi files. Gdk.x11_screen_get_xscreen is returning a