silly problems with program directory

2006-06-08 Thread Yiannis
Hi, I am having a slight problem with the program directory. What I mean is that when I run a program from the directory that all the files are lying it is fine but if I create a symbolic link and I run it from another directory then the program directory is the current one of the symbolic li

Re: silly problems with program directory

2006-06-08 Thread Yeti
On Thu, Jun 08, 2006 at 04:47:13PM +0100, Yiannis wrote: > I am having a slight problem with the program directory. What I mean is that > when I run a program from the directory that all the files are lying it is > fine but if I create a symbolic link and I run it from another directory > then

Re: silly problems with program directory

2006-06-08 Thread Yiannis
On 08/06/06, David Nečas (Yeti) <[EMAIL PROTECTED]> wrote: On Thu, Jun 08, 2006 at 04:47:13PM +0100, Yiannis wrote: > I am having a slight problem with the program directory. What I mean is that > when I run a program from the directory that all the files are lying it is > fine but if I crea

Re: silly problems with program directory

2006-06-08 Thread Sander Marechal
Yiannis wrote: Hi, I am having a slight problem with the program directory. What I mean is that when I run a program from the directory that all the files are lying it is fine but if I create a symbolic link and I run it from another directory then the program directory is the current on

Re: silly problems with program directory

2006-06-08 Thread Tristan Van Berkom
Yiannis wrote: On 08/06/06, David Neèas (Yeti) <[EMAIL PROTECTED]> wrote: On Thu, Jun 08, 2006 at 04:47:13PM +0100, Yiannis wrote: > I am having a slight problem with the program directory. What I mean is that > when I run a program from the directory that all the files are lying it is >

Re: silly problems with program directory

2006-06-08 Thread Yeti
On Thu, Jun 08, 2006 at 05:36:48PM +0100, Yiannis wrote: > > Thanks, for that it seems that common sense is the normal in this case as > that's what I ve done so far in my programs, ie use some kind of command > line argument specifying the program directory. However, my "fears" are true > as 1)

Re: silly problems with program directory

2006-06-08 Thread Jan Struyf
The solution is NOT to make your program dependent on the directory it was run from and use compiled-in paths [+ env variables] [+ command line options] to specify the location -- which I believe is the norm. Assuming that the users/sysadmins dont start moving your apps distributed files aro

Re: silly problems with program directory

2006-06-08 Thread Yeti
On Thu, Jun 08, 2006 at 12:04:01PM -0500, Jan Struyf wrote: > > You might also want to consider this: > > > It allows one to create a binary that can just be unzipped at any place in > the filesystem and figures out at runtime where the data files are base

Resize image to fit button

2006-06-08 Thread 3saul
I need to add images to buttons, the images will have random sizes but I need to scale them down so that they're about a 10th of their original size...what is the easiest way to do this? -- View this message in context: http://www.nabble.com/Resize-image-to-fit-button-t1758787.html#a4784347 Sent

Re: Resize image to fit button

2006-06-08 Thread Yeti
On Thu, Jun 08, 2006 at 04:04:31PM -0700, 3saul wrote: > > I need to add images to buttons, the images will have random sizes but I need > to scale them down so that they're about a 10th of their original > size...what is the easiest way to do this? gdk_pixbuf_scale_simple() The details depend o

Re: Resize image to fit button

2006-06-08 Thread 3saul
..I guess the easiest way would be to fit the button.. -- View this message in context: http://www.nabble.com/Resize-image-to-fit-button-t1758787.html#a4784630 Sent from the Gtk+ - Apps Dev forum at Nabble.com. ___ gtk-app-devel-list mailing list gtk-a

Shrinking the size of combo

2006-06-08 Thread Sailaxmi korada
Hi Folks, My application requires a combination of button and combo in the same row of a table. Is there any way to reduce the size of my combo, so that it can accommodate only single digit numbers and looks very small. I've gone through the postings and tried to reduce the size of entry relate

A GNU automake problem

2006-06-08 Thread Daniel Haude
Hello folks, this question is a bit off-topic in this group; however, it is related to a GTK-based application I'm writing, so bear with me. I'm trying to get automake to set a compiler flag when compiling a specific binary. My Makefile.am looks (in part) like this: CFLAGS = -W