g_atomic_pointer*

2010-03-01 Thread James Morris
Hi, I need to use an atomic pointer for my app. The documentation for the glib atomic operations is not exactly helpful. Anyway, I wrote a test program: 8 /* atomic.c */ #include glib.h int main() { char* myptr = 0; char* str = Hello; g_atomic_pointer_set(myptr, str);

Download snapshot from Git repository

2010-03-01 Thread Daniel Espinosa
I have some trouble, at my full time work, I can't get access to a the Git repository other than by web interface, any Git protocolo is blocked! I found at sourceforge.net git service, you can download a shapshot of the current master or what ever commit you require from the web interface!!! Can

GTK+ at the UX Hackfest

2010-03-01 Thread Bastien Nocera
Heya, We had a GNOME Usability hackfest last week in London, and a couple of TODO items, and questions cropped up which I thought I would share. For all those tasks, if resources are scarce to get the work done, I think adding those as ideas for the upcoming GSoC 2010 would be good, once

Re: GTK+ at the UX Hackfest

2010-03-01 Thread Piñeiro
From: Bastien Nocera had...@hadess.net CCing gnome-accessibility list, as probably I will forgot several things. - a11y instant-on (if not instant-off) a11y is enabled in applications when the XSettings mention that the GTK+ modules should be loaded. We could make GTK+ programs instant-apply

Re: GTK+ at the UX Hackfest

2010-03-01 Thread Cosimo Cecchi
On Mon, 2010-03-01 at 16:44 +0100, Piñeiro wrote: In the gtk side, I don't know much about the XSettings, but I suppose that you are talking more general, and XSetting will manage all the gtk modules to be loaded (engines, and so on). So XSettings would have the lists of modules instead of

Re: GTK+ at the UX Hackfest

2010-03-01 Thread Piñeiro
From: Cosimo Cecchi cosi...@gnome.org On Mon, 2010-03-01 at 16:44 +0100, Piñeiro wrote: In the gtk side, I don't know much about the XSettings, but I suppose that you are talking more general, and XSetting will manage all the gtk modules to be loaded (engines, and so on). So XSettings would

Re: Creating GObject/GTK bindings for language

2010-03-01 Thread Tristin Celestin
I apologize for being so terse. I was grasping at straws, trying to think of a specific question regarding GTK binding to get me started. There have been plenty of bindings to scripting languages in the past, so I thought asking about them in general would be the quickest way to get information

Tutorial for using advanced text features in pango library

2010-03-01 Thread Basil Saji
Hi Kindly let me know if there is any tutorial for using advanced text features in the pango library. Basil -- The end is only the beginning ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Re: PangoF2 in win32 not applying GSUB.

2010-03-01 Thread Tor Lillqvist
I think I found the cause to the problem. Pango assumes that the FT_StreamRec::base field, if non-zero, points to the whole font file read or mapped into memory. See pango_ot_info_get(). As such this is correct according to FreeType documentation, as said in ftsystem.h, base :: For memory-based

Re: Tutorial for using advanced text features in pango library

2010-03-01 Thread Ravi Kiran.
Hi Basil, I did not come across any tutorials for advance stuff. For the basic tutorials, here are the links http://x11.gp2x.de/personal/google/ http://www.ibm.com/developerworks/library/l-u-pango2/ For advanced stuff, I use Google CodeSearch with the API I am looking for This gets me code

Re: PangoF2 in win32 not applying GSUB - Fixed.

2010-03-01 Thread Ravi Kiran.
Thanks Tml, This fixed the issue for me, now the GSUBs are working properly in win32. I just commented out the portion in pango_ot_info_get() in pango-1.26.2\pango\pango-ot-info.c. PangoOTInfo * pango_ot_info_get (FT_Face face) { PangoOTInfo *info; if (G_LIKELY (face-generic.data

Re: Problem identifying GtkTextTags for syntax highlighting

2010-03-01 Thread Ken Resander
Hi Sanny, Many thanks! Both your suggestions work fine for getting current cursor position by mouse clicks. I am collecting the key values via key-press-event, but so does the text default handler, so the problem is still present for key navigation. However, I could make it work by using the

Re: Remarks on gtk docs

2010-03-01 Thread David Nečas
On Mon, Mar 01, 2010 at 06:17:15AM +0100, Joost wrote: I've used TK with tcl 1995-1999 writing software to handle plain TeX on Linux. And nearly every Python programmer is using it in the Tkinter form, when making the first steps in Python I've yet to see a Python programmer using Tkinter. On

Re: Remarks on gtk docs

2010-03-01 Thread Tor Lillqvist
Gtk+ development is not done on this list. Oh no, you let out the secret. Now the s/n ratio will drop on lists that developers actually read. --tml ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Remarks on gtk docs

2010-03-01 Thread David Nečas
On Mon, Mar 01, 2010 at 11:17:25AM +0200, Tor Lillqvist wrote: Gtk+ development is not done on this list. Oh no, you let out the secret. Now the s/n ratio will drop on lists that developers actually read. Well, maybe I should say that Gtk+ development is in fact done on alt.sex.spanking

Re: Problem identifying GtkTextTags for syntax highlighting

2010-03-01 Thread Sanny Chawla
Hi Ken, I am not sure if event-after would be a clean approach. However , following way for getting notified for any event which results in cursor-position change for text buffer will be useful. This will be called only if the cursor-position property is updated. g_signal_connect (buffer,

Re: Problem identifying GtkTextTags for syntax highlighting

2010-03-01 Thread Ken Resander
Hi Sanny Many thanks, I didn't know about the notify:: technique to find out about changes of properties. I have read the manual several times, but must have missed it. Is it there? It returns a notification, but it is lagging one behind in the same way as button-press and key-press. I also

Re: Use Umlauts on a Swiss Keyboard

2010-03-01 Thread Azraiyl
Thanks for your answer. I've added a comment (with some more details) to the proposed bug. But based on the bug reports it seems that there is not easy fix and any modification could change the behaviour of any other layout. Thanks to your response I learned that it's possible to enter unicode

Re: Remarks on gtk docs

2010-03-01 Thread Joost
That is not only your planet. There are also that folks, who run youtube, there is Zope (where Mr. van Rossum worked), there are the (unknown for me) systems, for which the reporting tools of www.reportlabs.com are made for. Or slqalchemy - also only useful in large projects. My OKamba is

Re: Remarks on gtk docs

2010-03-01 Thread David Nečas
On Mon, Mar 01, 2010 at 02:13:05PM +0100, Joost wrote: There are also that folks, who run youtube, there is Zope (where Mr. van Rossum worked), there are the (unknown for me) systems, for which the reporting tools of www.reportlabs.com are made for. Or slqalchemy - also only useful in large

Re: Remarks on gtk docs

2010-03-01 Thread Joost
My planet is so much worse and more aggressive, that i see no legitimation for any cease to speak of ... from you. After all that tries to exclude my from mankind. And what has to be in the buglist, what on the developer list and so on, lies not in your hands.

Re: [gnome-db] Include Gir file with constant #x1b;[;31;1m

2010-03-01 Thread Daniel Espinosa
I'll test it as soon as possible, by using JavaScript and may be Vala. Very thanks. 2010/2/27 Vivien Malerba vmale...@gmail.com: On 25 February 2010 19:03, Piotr Pokora piotrek.pok...@gmail.com wrote: Daniel Espinosa pisze: Are there any important reason for this? Because 4.2 will be released

Re: Remarks on gtk docs

2010-03-01 Thread Robert Pearce
Hi David, On Mon, 1 Mar 2010 10:04:27 +0100 you wrote: I've yet to see a Python programmer using Tkinter. Oooh! Ooooh! Sir! Sir! http://lintrain.sourceforge.net http://www.livewires.org.uk/python And I could name others. TkInter is not dead. However, that shouldn't detract from the

Re: [gnome-db] Include Gir file with constant #x1b;[;31;1m

2010-03-01 Thread Vivien Malerba
On 1 March 2010 17:01, Daniel Espinosa eso...@gmail.com wrote: I'll test it as soon as possible, by using JavaScript and may be Vala. Very thanks. Ok, thanks a lot. BTW, you were working on Gobject introspection for Libgda-ui, do you have something working? If so I can integrate it into the

Re: [gnome-db] Include Gir file with constant #x1b;[;31;1m

2010-03-01 Thread Daniel Espinosa
I'm near, but I can fine the way to make compile and generate gir and typedef files for Gda UI, some thing is missing to include, I don't know if some headers files or the Gda-4.0.gir file. I'll test different ways to make it work. For know including Gda-4.0.gir file throws an exception due to

Download snapshot from Git repository

2010-03-01 Thread Daniel Espinosa
I have some trouble, at my full time work, I can't get access to a the Git repository other than by web interface, any Git protocolo is blocked! I found at sourceforge.net git service, you can download a shapshot of the current master or what ever commit you require from the web interface!!! Can

Re: Remarks on gtk docs

2010-03-01 Thread Leon Opit
Gentlemen, Please, enough. This type of debate is not the purpose of this list. Consider also your cultural biases and the misunderstanding of tone and intent that they may cause. Leon Opit On 2 March 2010 03:02, Robert Pearce r...@bdt-home.demon.co.uk wrote: Hi David, On Mon, 1 Mar 2010

Capturing global key press events

2010-03-01 Thread Vikram Noel Ambrose
I'd like to capture global key press events to enable a Global Shortcuts feature in my application. I've looked at a few other projects that have such capabilities and they all seem to hook straight into xlib. Is there a more GTK way of doing it? At the moment I'm using,

Re: Capturing global key press events

2010-03-01 Thread Vikram Noel Ambrose
Lex Trotman wrote: On 2 March 2010 15:29, Vikram Noel Ambrose noel.ambr...@gmail.com mailto:noel.ambr...@gmail.com wrote: I'd like to capture global key press events to enable a Global Shortcuts feature in my application. I've looked at a few other projects that have such

Re: Issues with performance of Simple List

2010-03-01 Thread Mike Martin
On 27 February 2010 22:28, Mike Martin redt...@googlemail.com wrote: I am having issues with the performance of simple list in a wierd way Basicaly I have a simple list object embedded into a window which gets data from a sqlite database via user defined criteria If I dont access the