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

I met a strange problem: after dispose g_object_ref could also succeed!

2009-06-19 Thread Peter Cai
I met a strange problem: after dispose ( or during dispose) g_object_ref could also succeed! http://pastebin.com/d631246a7 It crashes on line 24, which is almost impossible. 1st, I checked these variables. 2nd, I called g_object_ref(self) to avoid self being disposed while this function has not

How can I get the resolution of printer?

2009-06-19 Thread yanghaitao
Hi, All: I want to create a customized printing dialog. Now I can enumerate all printers in my system, but I don't know how can I get the resolution list of specific printer? Thanks advanced! Alfred Young ___ gtk-list mailing list

Re: I met a strange problem: after dispose g_object_ref could also succeed!

2009-06-19 Thread Dan Kegel
On Fri, Jun 19, 2009 at 1:20 AM, Peter Cainewpt...@gmail.com wrote: I met a strange problem: after dispose ( or during dispose) g_object_ref could also succeed! Have you tried running your program under Valgrind? If that finds any warnings, your program's behavior is ill-defined, and all bets

Release: Camelbox 2009.167.2132Z-tahi

2009-06-19 Thread Brian Manning
Hi, I've released a new version of Camelbox [1]. You can read the release announcement and upgrade recommendations in [2]. The new installer is located at [3]. New for this release is that now Windows shortcuts are created for applications, demos, documentation and web links that are installed