From: Thomas L. <ta...@ec...> - 2002-03-15 12:30:02
|
On Wed, Mar 13, 2002 at 03:44:22PM -0500, Keith Warno wrote: > | #include <gtk/gtk.h> > | #include <unistd.h> > | int main(int argc, char **argv) > | { > | gtk_init(&argc, &argv); > | > | while (1) > | { > | sleep(1); > | gdk_beep(); > | } > | } > > That code, as it's written, doesn't produce any beeps whatsoever on the > boxes I've tried it. I had to remove the while() loop and the sleep() > and just issue one gdk_beep() to make the thing beep. Oops, I forgot the gdk_flush()... > Doesn't honor the 'xset b 0', nor 'xset b off' nor 'xset -b'. I've > tried this on three different machines (RH 6.1, RH 6.2, and a > "home-brewed" box), all with the same result. Very wierd. Oh well, I don't think it's my fault ;-) I'm thinking of getting the text to go red when the pathname is invalid, rather than beeping, so that would solve the problem... (I also hate the way it beeps if you type while its scanning because it hasn't got to that file yet) -- Thomas Leonard http://rox.sourceforge.net ta...@ec... ta...@us... |