Re: Exiting GTK main event loop from a plugin application

2006-08-11 Thread Kevin Arthur
To answer my own question: I solved it by calling gdk_error_trap_push() to trap the X error. Probably not the most elegant solution but it seems to work. On 8/10/06, Kevin Arthur <[EMAIL PROTECTED]> wrote: > > I'm having a fairly basic main loop/event problem in a GTK+ application. > I'm sure thi

Re: Systray icon..

2006-08-11 Thread James Scott Jr
Here is an example of using eggtrayicon.c and eggtrayicon.h http://mysite.verizon.net/skoona/id2.html James, On Fri, 2006-08-11 at 17:05 +0200, Enrico wrote: > Hi at all! > > How can I display an icon in the system tray without using GtkStatusIcon > (I've only GTK 2.8). > > Many thanks! > >

Re: Bug in GLib, libglade, libc??

2006-08-11 Thread Yeti
On Fri, Aug 11, 2006 at 12:53:50PM -0300, Fabricio Rocha wrote: > > > QUESTION: This is quite mysterious for me. If the program runs fine a > lot of times, it does not look a bug in the code itself. Most likely it is either a race condition or a use of an undefined value in the code itsel

Re: Bug in GLib, libglade, libc??

2006-08-11 Thread Samuel Cormier-Iijima
First of all, I highly doubt the bug is in libc or libxml. Most of the time bugs like these are the result of bad code in the application (as in not following the API, passing bad pointers and such) and although libglade and gtk should not let these things fall through, the fault is probably not wi

Bug in GLib, libglade, libc??

2006-08-11 Thread Fabricio Rocha
Folks, There is an application which pops up a dialog, fills its widgets, etc (no user input until now). I usually can exit the program normally (already implemented a "really quit?" dialog and such). However, suddenly (without updating anything in the system) the program start

Fwd: Systray icon..

2006-08-11 Thread Fernando ApesteguĂ­a
Using eggtrayicon.c and eggtrayicon.h Best regards -- Forwarded message -- From: Enrico <[EMAIL PROTECTED]> Date: Aug 11, 2006 5:05 PM Subject: Systray icon.. To: gtk-app-devel-list@gnome.org Hi at all! How can I display an icon in the system tray without using GtkStatusIcon (I'

Systray icon..

2006-08-11 Thread Enrico
Hi at all! How can I display an icon in the system tray without using GtkStatusIcon (I've only GTK 2.8). Many thanks! Enrico ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

GtkTreeModelFilter does not visit children

2006-08-11 Thread Henrique Ferreiro
Hi all! I have a problem with GtkTreeModelFilter. I have two combo boxes and one tree model. Each combo has to present data with an opposite condition. To do that I share the same tree model (list store) with two tree model filters which have a visible function with the corresponding condition. Th

Events on a GDK window

2006-08-11 Thread Fabio Rotondo
Hi, I am trying to get events from the X root window. I have obtained the root window with: gdk_get_default_root_window () (which returns a GDK window) but now, I am trying to set events with g_signal_connect () but every type of event I am using gives me the following error: (:13228): GLib-