Re: How to prevent windows to be raised at the top of the stack when clicked?

2013-02-21 Thread Olivier Guillion - Myriad
Hi, Lucas, Vous avez écrit (you wrote:) It's not completely satisfactory, because for instance, when tool palettes are clicked they will raise above the currently open dialog box. Not exactly. Depending on the WM settings, a click may well not raise the window. The fact is: *you*

Re: parsing bibtex using gscanner

2013-02-21 Thread Michael Torrie
On 02/18/2013 11:15 AM, Rudra Banerjee wrote: On Mon, 2013-02-18 at 19:02 +0100, David Nečas wrote: The best approach to parse a grammar is, you know, using a parser. So anything better then bison? You can write your own parser if you want. Maybe a recursive-descent parser. You will want to

Re: switch printer tray during printing

2013-02-21 Thread Michael Cronenworth
Michael Cronenworth wrote: Does anyone know if GTK allows switching print trays in the middle of a GtkPrintOperation? I tried setting the source to Tray 2 in the request-page-setup signal for the second page, but this did not work. The second page printed to Tray 1 (default). Old message,

Re: Notebook tab not correctly drawn if tab pos = BOTTOM (gtk 3.5.4, win32)

2013-02-21 Thread Jernej Simončič
On Tue, 19 Feb 2013 18:39:18 +0100, th-pitsc...@uni.de wrote: Looking through the code (git master gtknotebook.c) I can only guess where the respective drawing action might occur, and I can't see anything which might cause this behavior (specifically on windows). I was hesitating to file a

Re: Proposed fixes to gspawn-win32-helper.c for newer Microsoft CRTs

2013-02-21 Thread John Emmas
On 20/02/2013 06:50, Fan Chun-wei wrote: Hi John, I'm sorry if this sounds a bit off-topic, but can you check your Visual Studio 2005 build (if I recalled correctly, that's the version of Visual Studio you are using) of gspawn-win32-helper.exe/gspawn-win32-helper-console.exe whether

Re: Function completion for GVariant maybe types?

2013-02-21 Thread Andrew Potter
On Thu, Feb 21, 2013 at 1:02 AM, Markus Elfring markus.elfr...@web.dewrote: In glibmm 2.36 it will be possible to test whether the GVariant is null or not by just doing if (v), see bug 690121. Thanks for your information about the issue Provide operator BoolExpr for VariantBase. How do

回覆: Proposed fixes to gspawn-win32-helper.c for newer Microsoft CRTs

2013-02-21 Thread 范君維
Hi John, The thing is that these tests will make use of gspawn-win{32|64}-helper-console.exe (compiled from gspawn-win32-helper.c)when they are run, and gspawn-win{32|64}-helper-console.exe linked to msvcr80.dll or later (i.e. built with Visual Studio 2005 or later) will be terminated/aborted

Re: Function completion for GVariant maybe types?

2013-02-21 Thread Markus Elfring
// Now I want to set v to 'Nothing' v = Glib::Variantint(); I imagine an alternative interface so that I do need to know a concrete data type for this template class. I would prefer an approach which will generally solve this issue once for all classes. How do you think about a generic function

Re: Some shortcomings in gtestutils

2013-02-21 Thread Philip Withnall
On Wed, 2013-02-20 at 20:46 -0600, Federico Mena Quintero wrote: * It's hard to get a debugger up in the middle of make check. I can't think of a way to do it other than manually inserting code to sleep in the middle of the faulty test, and then attaching with a debugger manually. Maybe

Re: Some shortcomings in gtestutils

2013-02-21 Thread Emmanuele Bassi
hi Federico; On 21 February 2013 02:46, Federico Mena Quintero feder...@gnome.org wrote: So, I've been learning what gtestutils provides. It is not bad, but it seems pretty pedestrian on some counts. These are some things I'd like to change, or at least for someone to point me in the right

Re: Function completion for GVariant maybe types?

2013-02-21 Thread Markus Elfring
I'm sorry. - a wording correction: I imagine an alternative interface so that I do *not* need to know a concrete data type for this template class. Regards, Markus ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: Some shortcomings in gtestutils

2013-02-21 Thread Nicola Fontana
Il Thu, 21 Feb 2013 12:31:33 + Simon McVittie simon.mcvit...@collabora.co.uk scrisse: On 21/02/13 11:42, Nicola Fontana wrote: * There is no way to do a make check while cross-compiling, by using wine for example. If you're on a Linux distribution whose Wine packaging sets up

Re: Function completion for GVariant maybe types?

2013-02-21 Thread Tristan Van Berkom
On Thu, Feb 21, 2013 at 7:05 PM, Markus Elfring markus.elfr...@web.de wrote: Until a couple of days ago I'd never even encountered GVariant so forgive me if I've misunderstood the concept - but from what you've written, it seems like you want to be able to map a nullable object to the state of

Re: Function completion for GVariant maybe types?

2013-02-21 Thread Simon McVittie
On 21/02/13 15:55, Markus Elfring wrote: I imagine that I would need an additional function g_variant_get_child_type You don't. g_variant_get_type() and g_variant_type_element() are enough. S ___ gtk-devel-list mailing list

Re: Function completion for GVariant maybe types?

2013-02-21 Thread Markus Elfring
g_variant_get_type() and g_variant_type_element() are enough. How should I inspect the data type for the child of a maybe object? Can this data portion be copied without calling g_variant_get_child_value? Regards, Markus ___ gtk-devel-list mailing