Can't make a popup menu popup from a GtkStatusIcon

2009-06-19 Thread Bill Farmer
I'm using GtkStatusIcon, GtkMenu, and GtkCheckMenuItem to create a status icon with a popup menu. The code appears to be working in that a small rectangular empty box pops up in exactly the right place under the status icon, but I can't get any content in the menu. I've tried adding extra menu

Re: Can't make a popup menu popup from a GtkStatusIcon

2009-06-19 Thread Bill Farmer
Thanks, I thought it was something simple like that. Bill Mike Massonnet wrote: After building the menu, and before poping it up, call gtk_widget_show_all() on the menu. 2009/6/19 Bill Farmer williamjfar...@tiscali.co.uk: I'm using GtkStatusIcon, GtkMenu, and GtkCheckMenuItem to create a

Make GCancellable subclassable?

2009-06-19 Thread Richard Hughes
In PackageKit, the packaging backend is able to control what part of each transaction is cancellable so we can do things like set the cancel GUI button sensitive or insensitive at appropriate times. For instance loading the rpmdb is not cancellable, but downloading a file is. In converting some of

Re: client side windows - request for testing and reviewing

2009-06-19 Thread Stefan Kost
Mikkel Kamstrup Erlandsen schrieb: 2009/6/17 Alexander Larsson al...@redhat.com: The client side window branch is now feature complete on X11, and includes API to do offscreen window embedding (with patches for clutter-gtk availible to test this). Today I merged the latest master into the

Re: Make GCancellable subclassable?

2009-06-19 Thread Sven Neumann
Hi, On Fri, 2009-06-19 at 10:29 +0100, Richard Hughes wrote: It would be really great to wrap GCancellable in another object, in my case PkCancellable and add the extra functionality there. Unfortunately _GCancellable is private and not public, and thus can't be subclassed. I've attached a

Re: GObject Introspection problems

2009-06-19 Thread Colin Walters
On Fri, Jun 19, 2009 at 7:56 AM, Daniel Espinosaeso...@gmail.com wrote: I'm introducing GObject Introspection y two libraries GDA and my own project libcash[http://sourceforge.net/projects/libcash/], but when compiling to generate gir and typedef files I get this errors messages. My guess here