Multiple post-activate signal

2009-03-24 Thread gege2061
Hello, I use GtkUIManager and connect my main window on the 'post-activate' signal to process the actions. Sometimes the signal is sent twice. My UIManager class: http://code.google.com/p/valide/source/browse/trunk/libvalide/uimanager.vala And the connection of the window:

Custom container with multiple GdkWindows. Adding widgets don't show.

2009-03-24 Thread sledge hammer
Hi a had multiple problems building this widget but I always knew where to look and I fixed them. But now I have a problem that I am truly clueless on how to solve it. Let me explain. I am trying to develop a program which uses Gstreamer, so I needed a video widget. This widget should do the

Re: Multiple post-activate signal

2009-03-24 Thread gege2061
I found where the second signal is emited, but I can't block the emission of the signal with this code: Gtk.ToggleAction a; unowned SListGtk.Widget list a = UIManager.get_instance () .get_action (view-start-page) as Gtk.ToggleAction; list = a.get_proxies (); foreach (Gtk.Widget proxy in

GtkWidget visibility-notify-event and visibility.

2009-03-24 Thread Alexander
Hi, list. Widgets in GtkNotebook doesn't receive GDK_VISIBILITY_NOTIFY events with state GDK_VISIBILITY_FULLY_OBSCURED while its being deactivated on tabs switching. However its receive events with state GDK_VISIBILITY_UNOBSCURED on activation. Where is the catch?

Re: GtkWidget visibility-notify-event and visibility.

2009-03-24 Thread Chris Vine
On Tue, 24 Mar 2009 17:30:38 +0300 Alexander b3n...@yandex.ru wrote: Hi, list. Widgets in GtkNotebook doesn't receive GDK_VISIBILITY_NOTIFY events with state GDK_VISIBILITY_FULLY_OBSCURED while its being deactivated on tabs switching. However its receive events with state

Re: GtkWidget visibility-notify-event and visibility.

2009-03-24 Thread Alexander
On Tuesday 24 March 2009, Chris Vine wrote: On Tue, 24 Mar 2009 17:30:38 +0300 Alexander b3n...@yandex.ru wrote: Hi, list. Widgets in GtkNotebook doesn't receive GDK_VISIBILITY_NOTIFY events with state GDK_VISIBILITY_FULLY_OBSCURED while its being deactivated on tabs switching.

Re: GtkWidget visibility-notify-event and visibility.

2009-03-24 Thread Chris Vine
On Tue, 24 Mar 2009 23:49:13 +0300 Alexander b3n...@yandex.ru wrote: [snip] Thanks, GTK_WIDGET_VISIBLE() may help me. Is there any way to catch event when widget is actualy hiding? You could use the hide signal that GtkWidget objects emit. Chris.

Re: fsync in glib/gio

2009-03-24 Thread Pavel Machek
Yeah, I'd totally agree. But in the absence of an ability to change the spec, it's best to try to make things work as well as they can within the spec, no? It seems like some people are advocating well, today everyone uses ext3, and there's no problem, so we shouldn't do this

Re: fsync in glib/gio

2009-03-24 Thread Pavel Machek
Hi! I think you don't understand the problem. That might very well be the case. I had a look at the presentation that Alex linked to in the initial post in this thread. But I would have preferred a document that doesn't look at the issue from a database developer point of view.

Re: fsync in glib/gio

2009-03-24 Thread Alexander Larsson
On Tue, 2009-03-24 at 10:01 +0100, Pavel Machek wrote: It seems wrong to work around broken file-systems on the application level. That only takes away pressure from the file-system developers to address the problem properly. I don't disagree, but on the other hand. Users are

Re: fsync in glib/gio

2009-03-24 Thread Alexander Larsson
On Tue, 2009-03-24 at 10:38 +0100, Pavel Machek wrote: On Tue 2009-03-24 10:30:52, Alexander Larsson wrote: On Tue, 2009-03-24 at 10:01 +0100, Pavel Machek wrote: It seems wrong to work around broken file-systems on the application level. That only takes away pressure from the

Re: fsync in glib/gio

2009-03-24 Thread Xavier Bestel
On Tue, 2009-03-24 at 10:38 +0100, Pavel Machek wrote: One compromise we could make it to only fsync in the case we're actually overwriting an existing file. This would mean that we don't risk loosing You should fsync just before doing rename, preferably in some special way

Re: fsync in glib/gio

2009-03-24 Thread Alexander Larsson
On Tue, 2009-03-24 at 11:09 +0100, Xavier Bestel wrote: On Tue, 2009-03-24 at 10:38 +0100, Pavel Machek wrote: One compromise we could make it to only fsync in the case we're actually overwriting an existing file. This would mean that we don't risk loosing You should

Re: Plans for GTK+ in the next cycle

2009-03-24 Thread Murray Cumming
On Tue, 2009-03-24 at 01:43 -0400, Matthias Clasen wrote: I've meant to write this mail for a while. Now that 2.16 is released, it is really overdue. Here are my thoughts on the next GTK+ cycle. I think we should aim to release 2.18 around the next Guadec (this was the original plan for 2.16,

Re: Plans for GTK+ in the next cycle

2009-03-24 Thread Hubert Figuiere
On 03/24/2009 08:24 AM, Murray Cumming wrote: We'd also like to get GtkToolPallette in: http://bugzilla.gnome.org/show_bug.cgi?id=567729 It would also be terrific to get the equivalent of GdlDockable and such. Both Anjuta and Inskcape use that (albeit Inkscape forked it) Hub

Re: Plans for GTK+ in the next cycle

2009-03-24 Thread Behdad Esfahbod
On 03/24/2009 08:24 AM, Murray Cumming wrote: Other things are of course possible, depending on people signing up to do the necessary work. I like to review David's resolution-independence work and help land it. I think it's long past time to get extended-layout in. I'll get someone at