gtk_combo_box_new_text vs gtk_combo_box_set_active

2006-02-04 Thread Dan McMahill
Hi, I'm having some troubles initializing a combo box. The following bit of code shows what I'm doing: GtkWidget *combo; combo = gtk_combo_box_new_text (); gtk_combo_box_append_text (GTK_COMBO_BOX (combo), Entry0); gtk_combo_box_append_text (GTK_COMBO_BOX (combo), Entry1);

Re: gtk_combo_box_new_text vs gtk_combo_box_set_active

2006-02-04 Thread Dan McMahill
I'm sure this must be something silly I'm doing, but I'm not finding it. Turns out I've evidentally forgotten how to read. On about the 200th reading of my 5 lines of code, I read the important one I'd missed. Turns out getting frustrated and walking away for a few hours was helpful.

Gtk with shellscript

2006-02-04 Thread Sandeep KS
Hello, I have a problem with combining gtk with shell scripts. I have a shellscript which performs some function and at the same time i need to continue with the gtk (frontend). But i can continue only after the shellscript finishes execution. I have used execlp to call the shellscript.

Getting path assertion error with gtk_file_chooser_button_new()

2006-02-04 Thread Justin Clift
Hi all, I'm getting a series of 4 errors when using the following code fragment: GtkWidget *button_project_folder; button_project_folder = gtk_file_chooser_button_new(Select the Project Folder, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER); The four errors are:

Re: Gtk with shellscript

2006-02-04 Thread Matt Hull
not sure what you are doing with the script. does it need to return to gtk? might be able to fork the process or use a thread. matt On Sat, 4 Feb 2006, Sandeep KS wrote: Hello, I have a problem with combining gtk with shell scripts. I have a shellscript which performs some function

compiling glib on OSX.

2006-02-04 Thread electroteque
Hi there, im having some issues getting glib compiled for OSX. Ive been going through these steps on this page which aparantly doesnt require X11. http://developer.imendio.com/wiki/Gtk_Mac_OS_X/Build_Instructions I had some great pain getting up to glib, especially cairo where i had to tweak

Re: compiling glib on OSX.

2006-02-04 Thread electroteque
It looks like i needed automake-1.7 instead of just symlinking automake-1.9 which means i had to downgrade it ?? On 05/02/2006, at 1:15 AM, electroteque wrote: Hi there, im having some issues getting glib compiled for OSX. Ive been going through these steps on this page which aparantly doesnt

Re: compiling glib on OSX.

2006-02-04 Thread electroteque
Ive reverted back to automake-1.7 and still more issues Making all in po file=./`echo fa | sed 's,.*/,,'`.gmo \ rm -f $file /sw/bin/msgfmt -c -o $file fa.po fa.po:95: number of format specifications in `msgid' and `msgstr' does not match fa.po:210: number of format specifications in `msgid'

Re: compiling glib on OSX.

2006-02-04 Thread Jean Bréfort
Le dimanche 05 février 2006 à 01:31 +1100, electroteque a écrit : Ive reverted back to automake-1.7 and still more issues Making all in po file=./`echo fa | sed 's,.*/,,'`.gmo \ rm -f $file /sw/bin/msgfmt -c -o $file fa.po fa.po:95: number of format specifications in `msgid' and

Re: compiling glib on OSX.

2006-02-04 Thread Michael Torrie
On Sun, 2006-02-05 at 01:15 +1100, electroteque wrote: snip? my steps before that was ln -s /usr/share/aclocal/gtk-doc.m4 /sw/share/aclocal/gtk-doc.m4 ^^ Since you are using fink, why not just configure fink to build from source (to grab the

Re: compiling glib on OSX.

2006-02-04 Thread Hubert Figuiere
electroteque wrote: Hi there, im having some issues getting glib compiled for OSX. Ive been going through these steps on this page which aparantly doesnt require X11. http://developer.imendio.com/wiki/Gtk_Mac_OS_X/Build_Instructions I had some great pain getting up to glib, especially cairo

Re: compiling glib on OSX.

2006-02-04 Thread electroteque
That list of instructions linked from the gtk site says to get everything from cvs as it has the specific osx port stuff in it right ? Yes I could easily skip all this and install from fink. Although yes some of it like fontconfig requires X11 or something like that. On 05/02/2006, at 8:58

directfb backend

2006-02-04 Thread Mike Emmel
Hi all just wanted to let everyone know the directfb backend should go into cvs tonight or tomorrow. Mike ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: compiling glib on OSX.

2006-02-04 Thread electroteque
Yeh its complete hacking here. I have libs and includes all over the place. I suppose i should configure all the dependancies via source and not rely on fink ? It means ill have duplicates though. On 05/02/2006, at 1:26 PM, Travis Watkins wrote: On 2/4/06, electroteque [EMAIL PROTECTED]

Re: directfb backend

2006-02-04 Thread Mike Emmel
Its now checked in. On 2/4/06, Mike Emmel [EMAIL PROTECTED] wrote: Hi all just wanted to let everyone know the directfb backend should go into cvs tonight or tomorrow. Mike ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: compiling glib on OSX.

2006-02-04 Thread Hubert Figuiere
electroteque wrote: Yeh its complete hacking here. I have libs and includes all over the place. I suppose i should configure all the dependancies via source and not rely on fink ? It means ill have duplicates though. Just build in a different prefix. Back when I was working on that I did

Re: compiling glib on OSX.

2006-02-04 Thread electroteque
ok however the pkg-config is in fink which has been a pain, ive had to add symlinks all over the place to the fink pkgconfig path ! So do i build everything including pkg-config into a different prefix ? On 05/02/2006, at 3:18 PM, Hubert Figuiere wrote: electroteque wrote: Yeh its complete

Re: compiling glib on OSX.

2006-02-04 Thread Hubert Figuiere
electroteque wrote: ok however the pkg-config is in fink which has been a pain, ive had to add symlinks all over the place to the fink pkgconfig path ! So do i build everything including pkg-config into a different prefix ? Just set the PKG_CONFIG_PATH environment. Hub

Re: compiling glib on OSX.

2006-02-04 Thread electroteque
Just for compiling or for all the time ?, like maybe other binaries use the fink path thats all. On 05/02/2006, at 3:45 PM, Hubert Figuiere wrote: electroteque wrote: ok however the pkg-config is in fink which has been a pain, ive had to add symlinks all over the place to the fink pkgconfig