Re: Fwd: gnome applet w/ bash

2007-11-10 Thread Matteo Landi
Just another question.. what is the right way to fix the functions for closing the applet? i noticed that if i shutdown the cpu and i've got the applet running, it freezes waiting for killing remaining process; after that i gotta shut it down manually using the front button.. what is the close func

Re: Fwd: gnome applet w/ bash

2007-11-07 Thread Matteo Landi
well thank you so much for the help you gave me i created my first gnome applet (there is also a cpu graph) and it looks very good! M@ On Mon, 2007-11-05 at 23:50 +1100, Michael Lamothe wrote: > Oh dear, > > #include > > struct utsname name; > uname(&name); > printf("%s\n", na

Re: Fwd: gnome applet w/ bash

2007-11-07 Thread Matteo Landi
On Mon, 2007-11-05 at 22:55 +1100, Michael Lamothe wrote: > Hi Matteo, > > I'm not following. What box? A GtkBox? What "row"? they are just examples > Have you thought of using Glade to do your UI work? the fact is that i've started working with gtk two days ago because i was interested in

Re: Fwd: gnome applet w/ bash

2007-11-07 Thread Matteo Landi
Tnx i think that the first one is the function i'm in need of; by the way i cant' make it work, and my gnome panel crashs everytime i run the applet, so i think there is some problems with memory: well, i've got: const char* data (as argoment of a function) char *std_out (created in the function)

Re: Fwd: gnome applet w/ bash

2007-11-05 Thread Michael Lamothe
Oh dear, #include struct utsname name; uname(&name); printf("%s\n", name.sysname); printf("%s\n", name.nodename); printf("%s\n", name.release); printf("%s\n", name.version); printf("%s\n", name.machine); Thanks, Michael On 05/11/2007, M

Re: Fwd: gnome applet w/ bash

2007-11-05 Thread Michael Lamothe
Hi Matteo, I'm not following. What box? A GtkBox? What "row"? Have you thought of using Glade to do your UI work? Thanks, Michael On 05/11/2007, Matteo Landi <[EMAIL PROTECTED]> wrote: > ok ok that worked, but the output is the same as before... > > just try to create a box with two labels