resize a gtkcombobox

2011-10-24 Thread Andrea Zagli
i have a gtkcombobox with a gtktreemodel i initially fill the gtktreemodel with some strings, but while running the application these strings change but the gtkcombobox remains of the width of the longest of these strings and not of the width of the longest currently present in the model

Re: GtkContainer Gtk 3.0 vs Gtk 3.2 geometry management

2011-10-24 Thread Tristan Van Berkom
On Sun, Oct 23, 2011 at 4:38 PM, Denis Linvinus linvi...@gmail.com wrote: 2011/10/19 Tristan Van Berkom t...@gnome.org Note I spent a lot of time writing something like this last year. I would like to eventually port it into GTK+ as the internal implementation of the GtkToolPalette.

GTK+ library access issue?

2011-10-24 Thread David Buchan
Hi guys, I think I have a dumb question. I had been maintaining a c/GTK+2 program for the last year. My OS was Ubuntu lucid. This weekend, I replaced the hard drive (I keep my programming projects on a RAID though). I installed the latest Ubuntu (oneiric, I think they call it...not sure). I

Re: GTK+ library access issue?

2011-10-24 Thread David Nečas
On Mon, Oct 24, 2011 at 08:09:39AM -0700, David Buchan wrote: Trying to make now gives over 1700 errors, ALL of which are like this small sample: /x.c:43: undefined reference to `g_threads_got_initialized' /x.c:44: undefined reference to `g_thread_init' /x.c:46: undefined reference to

missing download for intltool-0.41

2011-10-24 Thread Earnie
checking for intltool = 0.41.0... 0.40.6 found configure: error: Your intltool is too old. You need intltool 0.41.0 or later. http://ftp.gnome.org/pub/GNOME/sources/intltool/ doesn't contain 0.41. ___ gtk-list mailing list gtk-list@gnome.org

Re: missing download for intltool-0.41

2011-10-24 Thread Dieter Verfaillie
On Mon, 24 Oct 2011 12:20:04 -0400, Earnie wrote: checking for intltool = 0.41.0... 0.40.6 found configure: error: Your intltool is too old. You need intltool 0.41.0 or later. http://ftp.gnome.org/pub/GNOME/sources/intltool/ doesn't contain 0.41. According to

Re: missing download for intltool-0.41

2011-10-24 Thread Dieter Verfaillie
On Mon, 24 Oct 2011 12:20:04 -0400, Earnie wrote: checking for intltool = 0.41.0... 0.40.6 found configure: error: Your intltool is too old. You need intltool 0.41.0 or later. http://ftp.gnome.org/pub/GNOME/sources/intltool/ doesn't contain 0.41. Off list, just in case: are you secretly

Re: missing download for intltool-0.41

2011-10-24 Thread Dieter Verfaillie
On 24/10/2011 18:36, Dieter Verfaillie wrote: On Mon, 24 Oct 2011 12:20:04 -0400, Earnie wrote: checking for intltool = 0.41.0... 0.40.6 found configure: error: Your intltool is too old. You need intltool 0.41.0 or later. http://ftp.gnome.org/pub/GNOME/sources/intltool/ doesn't contain

Re: missing download for intltool-0.41

2011-10-24 Thread Earnie
Dieter Verfaillie wrote: On Mon, 24 Oct 2011 12:20:04 -0400, Earnie wrote: checking for intltool = 0.41.0... 0.40.6 found configure: error: Your intltool is too old. You need intltool 0.41.0 or later. http://ftp.gnome.org/pub/GNOME/sources/intltool/ doesn't contain 0.41. According to

GtkTreeViewColumn not translated

2011-10-24 Thread Andrea Zagli
i have a GtkBuilder file made with glade 3.8.1 the problem is that only GtkTreeViewColumn headers are not translated; they are regularly inside *.po and *.gmo what could it be the bug? thanks in advance ___ gtk-list mailing list

Re: GTK+ library access issue?

2011-10-24 Thread David Buchan
Thanks Dave. I tried pkg-config from the command line and here's what we get: $ pkg-config --cflags gtk+-2.0 gmodule-2.0 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0

Re: GTK+ library access issue?

2011-10-24 Thread David Nečas
On Mon, Oct 24, 2011 at 01:49:05PM -0700, David Buchan wrote: I tried pkg-config from the command line and here's what we get: $ pkg-config --cflags gtk+-2.0 gmodule-2.0 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo

Re: GTK+ library access issue?

2011-10-24 Thread David Buchan
Hi Dave, Yes, these commands were copy and pasted directly from the Makefile. I wouldn't trust myself to type it correctly. I've been using the same Makefile for about 6 months or more. In fact, the program was compiled a day before I had to replace the hard drive. The only reason I recompiled

Re: GTK+ library access issue?

2011-10-24 Thread David Buchan
Interesting. I just tried compiling a simple non-gtk c program: #include stdio.h #include stdlib.h #include math.h int main() {   int i;   double a =3.14;   double c;   c = log(a);   c = pow(a, i); } $ gcc -lm test.c /tmp/cc9RccRJ.o: In function `main': test.c:(.text+0x1b): undefined

Re: GTK+ library access issue?

2011-10-24 Thread Paul Davis
2011/10/24 David Buchan pdbuc...@yahoo.com: Interesting. I just tried compiling a simple non-gtk c program: apparently you didn't use -lm ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: GTK+ library access issue?

2011-10-24 Thread Dhaivat Pandya
He did use gcc -lm. It says so in the shell paste. On Mon, Oct 24, 2011 at 8:06 PM, Paul Davis p...@linuxaudiosystems.comwrote: 2011/10/24 David Buchan pdbuc...@yahoo.com: Interesting. I just tried compiling a simple non-gtk c program: apparently you didn't use -lm

Re: GTK+ library access issue?

2011-10-24 Thread David Buchan
ok. So, I did a complete reinstall of Ubuntu (it's relatively quick, so why not?). This did nothing. Smae old story. I then got back on the net and tried Paul's suggestion: Try putting it [-lm] at the end of the command,just for kicks. i.e., gcc test.c -lm Not only did that work for

Re: GTK+ library access issue?

2011-10-24 Thread David Buchan
Thanks to everybody for the great support! I really appreciate it. Dave From: Paul Davis p...@linuxaudiosystems.com To: David Buchan pdbuc...@yahoo.com Cc: gtk-list list gtk-list@gnome.org Sent: Monday, October 24, 2011 10:54 PM Subject: Re: GTK+ library access