Re: glib 1.2.10 compile problem?

2005-05-04 Thread Jean Bréfort
Le jeudi 05 mai 2005 Ã 13:28 +0800, Xu Qiang a Ãcrit : > Hi, all: > > I am trying to compile glib 1.2.10 from the src in my FreeBSD 5.3 (i383) PC > (with gcc 3.4.2). Yet I met the following error with configure script: > > gstrfuncs.c: In function `g_printf_string_upper_bound': > gstrfuncs.c:8

Re: Welcome to the "gtk-list" mailing list

2005-05-04 Thread Valdis . Kletnieks
On Thu, 05 May 2005 12:52:40 +0800, Xu Qiang said: > My previous 2.6.7 version is installed at /usr/local. Can I install 1.2.10 in > to the same place? Yes. All the libraries and include files are designed so they can co-exist on the system. Do *NOT* remove 2.6.7 - you can install 1.2.10 right

glib 1.2.10 compile problem?

2005-05-04 Thread Xu Qiang
Hi, all: I am trying to compile glib 1.2.10 from the src in my FreeBSD 5.3 (i383) PC (with gcc 3.4.2). Yet I met the following error with configure script: gstrfuncs.c: In function `g_printf_string_upper_bound': gstrfuncs.c:870: error: syntax error before string constant gstrfuncs.c:1037: erro

RE: Welcome to the "gtk-list" mailing list

2005-05-04 Thread Xu Qiang
Hi, all: I have installed gtk+ 2.6.7 in my FreeBSD 5.3 (i386) machine. But to compile smpeg, it requires gtk+ 1.2 series. I am afraid if I install gtk+ 1.2.10, it would confuse the system as there are two gtk+ versions, and it would not know which version to choose. My previous 2.6.7 version

Re: Invalid UTF-8 encoded text

2005-05-04 Thread Aaron Walker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric Clement wrote: > Hi, > > I found this error when I try to parse a XML file. It's strange because it's > already works but now I don't know why I have this error > > ** (process:22490): WARNING **: Can not parse xml file: > Error on line 2 cha

Re: static linking

2005-05-04 Thread John Cupitt
On 5/4/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > how does one link a gtk+ application (v2.6.2) as a static executable? You need to build the static gtk libs first. I do: % cd glib % ./configure --enable-static % cd pango % ./configure --enable-static --with-included-modules=basic-fc % cd

New GTypes request

2005-05-04 Thread Daniel Espinosa
I'm trying to have working GDA in GTK#, and at the moment I'm trying to port GdaValue from an union structure, to use GValue as container. But GValue need GType derived types, and GdaValue need to store the following types: GList gshort (gint16) gushort(guint16) gtinyint

Invalid UTF-8 encoded text

2005-05-04 Thread Eric Clement
Hi, I found this error when I try to parse a XML file. It's strange because it's already works but now I don't know why I have this error ** (process:22490): WARNING **: Can not parse xml file: Error on line 2 char 1: Invalid UTF-8 encoded text The XML file have been write with a commun text

Re: .gtkrc

2005-05-04 Thread stian
> hi > > I did that too, but there still isnt any difference in my application. Any > ideas try to run a random gtk application like this (install strace if you don't already have it): strace gedit 2>&1 |grep opem This will show all os-calls that matches the word open. It's the hard way, but giv

New GTypes request

2005-05-04 Thread Daniel Espinosa
I'm trying to have working GDA in GTK#, and at the moment I'm trying to port GdaValue from an union structure, to use GValue as container. But GValue need GType derived types, and GdaValue need to store the following types: GList gshort (gint16) gushort(guint16) gtinyint

Re: .gtkrc

2005-05-04 Thread abhi rocks
hi   I did that too, but there still isnt any difference in my application. Any ideas   Thank You Abhishek SamuelDarryl Luff <[EMAIL PROTECTED]> wrote: abhi rocks wrote:>hi all,>>I just wanted to change my application looks. How do i>do this. I found the .gtkrc file in my home/name>directory.>>It w

Re: static linking

2005-05-04 Thread riboaz
thanks for that... > > Hello, > > You can also ship the GTK shared libraries with your > application, and dynamically write the various module/pango > config files in your installation routine. Then, set > the appropriate environment variables so that GTK finds > the config files, and you should b

Re: static linking

2005-05-04 Thread Jesse Pavel
Hello, You can also ship the GTK shared libraries with your application, and dynamically write the various module/pango config files in your installation routine. Then, set the appropriate environment variables so that GTK finds the config files, and you should be good to go. VMWare for Linux use

Re: Report generator

2005-05-04 Thread Francisco Santiago Capel Torres
On Wednesday 04 May 2005 16:22, Ben Johnson wrote: > On Wed, May 04, 2005 at 10:01:43AM +0100, Francisco Santiago Capel Torres > wrote: ... > > > I have realized that in order to port it to GTK, I only need a very > > simple XML parser, a Date class and some classes to access databases. > > Here is

Re: Report generator

2005-05-04 Thread Ben Johnson
On Wed, May 04, 2005 at 10:01:43AM +0100, Francisco Santiago Capel Torres wrote: ... > I have realized that in order to port it to GTK, I only need a very simple > XML > parser, a Date class and some classes to access databases. Here is where I > need the suppor from this list. I'm starting to

Re: static linking

2005-05-04 Thread Ben Johnson
On Wed, May 04, 2005 at 04:16:42PM +0200, [EMAIL PROTECTED] wrote: ... > so my question remains: is it possible? was it ever thought of in the gtk+ > design to allow for this possibility? or is it such that because the > resulting static application would be necessarily "heavy" (or for any > numbe

Re: Solaris compile problem: `X_' undeclared

2005-05-04 Thread Graham Leggett
Graham Leggett said: > Hi all, > > I am getting the following compile error while trying to compile gtk+ > v2.6.7 under Solaris v2.8: > > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" > -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED > -DGDK_PIXBUF_DISABLE_DEP

Re: static linking

2005-05-04 Thread riboaz
thanks for the follow-up. but to split hairs: compiling statically is very useful, then i can deliver my application without the user being required to have gtk+ installed on their platform. (because when an end-user is not OS-savvy, installing gtk+ can ultimately mean my application will never r

Re: .gtkrc

2005-05-04 Thread Darryl Luff
abhi rocks wrote: >hi all, > >I just wanted to change my application looks. How do i >do this. I found the .gtkrc file in my home/name >directory. > >It was as follows ># -- THEME AUTO-WRITTEN DO NOT EDIT >include "/usr/share/themes/Bluecurve/gtk/gtkrc" ># -- THEME AUTO-WRITTEN DO NOT EDIT > >Even

Solaris compile problem: `X_' undeclared

2005-05-04 Thread Graham Leggett
Hi all, I am getting the following compile error while trying to compile gtk+ v2.6.7 under Solaris v2.8: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -D

Re: static linking

2005-05-04 Thread Matthias Clasen
On Wed, 2005-05-04 at 15:15 +0200, [EMAIL PROTECTED] wrote: > hi, > > this question was posed during the last week and i was very curious as to > the answer, but nothing came across this particular mailing list, so i'm a > gonna ask again: > > how does one link a gtk+ application (v2.6.2) as a st

static linking

2005-05-04 Thread riboaz
hi, this question was posed during the last week and i was very curious as to the answer, but nothing came across this particular mailing list, so i'm a gonna ask again: how does one link a gtk+ application (v2.6.2) as a static executable? the command pkg-config --libs always returns -Wl

How to hide/unhide a widget properly

2005-05-04 Thread Joao Victor
Take a look at these pics: http://khiraly.4242.hu/tmp/puliAutomatic-1.png http://khiraly.4242.hu/tmp/puliAutomatic-2.png As you can see, the right-side widget is being hidden/unhidden, but there's a problem: the window is growing every time the widget is unhidden. How could i make it so that would

Unforgiving GtkEntry

2005-05-04 Thread Egon Andersen
Hi, I've discovered a problem that I can't really determine if it is a bug or intended. I have a entry in which I insert some text using gtk_entry_set_text(). Unfortunately it happened that it was not completely UTF-8 - one of the characters in the middle was not UTF-8. Okay, I get a warning -

Re: Report generator

2005-05-04 Thread Francisco Santiago Capel Torres
Well, if you have a look to my project, at http://reports.sourceforge.net, you'll see all the features it has (The version on cvs has more features yet). The only feature I am not committed to do, even in Qt, is the graphic designer :( I am decided to por it to GTK, but I need support from the

Re: how to get rid of mouse-over button color?

2005-05-04 Thread Ben Johnson
On Mon, May 02, 2005 at 10:53:12AM -0400, Owen Taylor wrote: ... > A custom theme could do whatever it wants ... both pieces of information > are passed to it. state_type and shadow_type. can you give me some quick pointers about how to get started making a custom theme? I MUST allow my users to

Re: how to get rid of mouse-over button color?

2005-05-04 Thread Ben Johnson
On Mon, May 02, 2005 at 04:00:30PM +0200, Richard Stellingwerff wrote: ... > As the author of Clearlooks, I got complaints about exactly this issue > from people using normal mouse input devices. The way I fixed it in > the engine, is by simply ignoring the prelight color for toggled > togglebutton

Re: how to get rid of mouse-over button color?

2005-05-04 Thread Ben Johnson
On Mon, May 02, 2005 at 03:34:49PM +0200, Richard Stellingwerff wrote: ... > Which theme does this currently happen with? Because you should always > be able to see whether a button is pressed or not, even on mouse-over. I've never messed with themes at all, so I have no idea what theme I'm using.