Re: ExtUtils::PkgConfig test failures on OpenBSD

2013-02-17 Thread Torsten Schoenfeld
On 18.12.2012 19:50, Brian Manning wrote: On Mon, Dec 10, 2012 at 1:34 AM, Torsten Schoenfeld kaffeeti...@gmx.de wrote: Could you use the version number of the pkg-config replacement to check whether the tests should be skipped? Then the SKIP block wouldn't have to be removed later. That's

Re: Viewport and style (perl - gtk2)

2013-02-17 Thread Torsten Schoenfeld
On 08.10.2012 14:19, Juergen Harms wrote: I cannot make a style declaration work for a viewport - the corresponding modify_bg statement works. What also works is attaching an eventbox to the viewport and modifying the backbround there. I cannot reproduce this with gtk+ 3.7.9: the viewport area

Re: Gtk3::Image and GtkIconSize

2013-02-17 Thread Dave M
On Fri, Feb 15, 2013 at 9:06 AM, Torsten Schoenfeld kaffeeti...@gmx.de wrote: Dave M dave.n...@gmail.com writes: Here's a first run at Gtk3::Image. Sorry for the long delay. Comments on the patch: 1. I did a hash lookup for the icon/size stuff, as was originally done with

Re: Gtk3::Image and GtkIconSize

2013-02-17 Thread Torsten Schoenfeld
On 17.02.2013 16:22, Dave M wrote: Did the approach using Glib::Object::Introspection-convert_enum_to_sv and Glib::Object::Introspection-convert_sv_to_enum as outlined in https://mail.gnome.org/archives/gtk-perl-list/2013-January/msg00031.html not work? Yes, I had tried it before, and I got

Re: Viewport and style (gtk3)

2013-02-17 Thread Thierry Vignaud
On 17 February 2013 14:09, Torsten Schoenfeld kaffeeti...@gmx.de wrote: Glib::IO has not been released yet; get it from http://git.gnome.org/browse/perl-Glib-IO/. As I said earlier, I'm thinking about making Gtk3 depend on it so that stuff like this works automatically. BTW, it lacks a

Re: Viewport and style (gtk3)

2013-02-17 Thread Brian Manning
On Sun, Feb 17, 2013 at 1:47 PM, Thierry Vignaud thierry.vign...@gmail.com wrote: On 17 February 2013 14:09, Torsten Schoenfeld kaffeeti...@gmx.de wrote: Glib::IO has not been released yet; get it from http://git.gnome.org/browse/perl-Glib-IO/. As I said earlier, I'm thinking about making

Re: Gtk3::Image and GtkIconSize

2013-02-17 Thread Dave M
Yes, that looks fine. It's mostly what I had but the 0's thing threw me, so I re-wrote it, which was a mistake. Thanks, Dave M On Sun, Feb 17, 2013 at 12:01 PM, Torsten Schoenfeld kaffeeti...@gmx.de wrote: On 17.02.2013 16:22, Dave M wrote: Did the approach using

'get_cell_renderers' in Gtk3?

2013-02-17 Thread Dan Kasak
Hi all. I'm taking yet another stab at porting stuff to Gtk3. I used to be able to do $tree_view_column-get_cell_renderers ... in Gtk2. Gtk3::TreeViewColumn doesn't seem to have such a method. Do I have to maintain my own map of TreeViewColumns to CellRenderers? Dan

Builder, connecting signals

2013-02-17 Thread Dan Kasak
Hi again. In Gtk2, I used to use: $glade_xml-signal_autoconnect_from_package( $self ); ... which would make signals fired from Gtk trigger object methods in $self. Is there a similar method in Gtk3 / Builder land? I'm using: $builder-connect_signals( $self ); ... and my method in $self