RE: gdk_display_set_double_click_time: has no effect

2006-01-20 Thread Boncek, John
We are not tinkering. We have an embedded app with no other apps in the system and no desktop. We cannot afford a user interface for many settings such as this. So what is required to get gdk_display_set_double_click_time to work? -Original Message- From: Matthias Clasen [mailto:[EMAIL

Re: gdk_display_set_double_click_time: has no effect

2006-01-20 Thread Matthias Clasen
Double click time is a setting that is controlled desktop-wide. Applications are not supposed to tinker with it... ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

gdk_display_set_double_click_time: has no effect

2006-01-20 Thread Boncek, John
I have implemented double-click handling in some items but would like to set a longer double-click time than the built-in 1/4 second. (This is an embedded but mouse-using system that will not have user-selectable timing.) The gdk_display_set_double_click_time function is supposed to do this but s

Re: stop dialog response - - was dialogs problems -- FIXED?

2006-01-20 Thread Juan Pablo
Juan Pablo wrote: Hi list, i figured out what was my problem. Thanks for the responses I recived. The problem of calling gtk_dialog_run inside a dialog wich is running with gtk_dialog_run is that if the second call was made by pressing an action button, the event of this button is also taken

Re: Simple GDK app segfaults for unknown reason

2006-01-20 Thread László Monda
Hey Gyözö, On Fri, 2006-01-20 at 18:24 +0100, Gyözö Both wrote: > hi, > > i'd say you forgot to end the call with a NULL. also, as far as i know > the standard way to use GError is to have a 'GError *error;' variable > and then pass the pointer to it. in your case: > > GError *error = NULL; > Gd

stop dialog response - - was dialogs problems

2006-01-20 Thread Juan Pablo
Hi list, i figured out what was my problem. Thanks for the responses I recived. The problem of calling gtk_dialog_run inside a dialog wich is running with gtk_dialog_run is that if the second call was made by pressing an action button, the event of this button is also taken in account. What i

DnD sensitivity

2006-01-20 Thread John Coppens
Hi all. Using Sylpheed I have some problems with DnD: When trying to drag the last message from the message folder, it takes some 8 or more pixels to activate dragging. So, as the line is only slightly higher, it's necessary to either aim very precisely to the top of the message line, or start th

Re: Simple GDK app segfaults for unknown reason

2006-01-20 Thread Gyözö Both
hi, i'd say you forgot to end the call with a NULL. also, as far as i know the standard way to use GError is to have a 'GError *error;' variable and then pass the pointer to it. in your case: GError *error = NULL; GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file("input.jpg", &error); gdk_pixbuf_save(

Re: Simple GDK app segfaults for unknown reason

2006-01-20 Thread David Necas (Yeti)
On Fri, Jan 20, 2006 at 11:36:38AM +0100, László Monda wrote: > Hi List, > > I've just written a simple GDK application that basically converts an > input JPEG image to a BMP using a Pixbuf. > > Unfortunately it segfaults. > > 8< > > #include > > int main(int argc, char *argv[]) > { >

Re: Simple GDK app segfaults for unknown reason

2006-01-20 Thread Andreas Stricker
Laszls Monda schrieb: Hi List, I've just written a simple GDK application that basically converts an input JPEG image to a BMP using a Pixbuf. Unfortunately it segfaults. 8< #include int main(int argc, char *argv[]) { gdk_init(&argc, &argv); GError **error = NULL; GdkPi

Re: Simple GDK app segfaults for unknown reason

2006-01-20 Thread László Monda
On Fri, 2006-01-20 at 11:55 +0100, Colossus wrote: > László Monda wrote: > > Could someone here explain why does it segfault? > > Compile it with the -g flag and then run it in gdb. When the segfault > occurs issue bt. You should have the line where the segfault occurs. Program received signal S

Re: Simple GDK app segfaults for unknown reason

2006-01-20 Thread Colossus
László Monda wrote: Could someone here explain why does it segfault? Compile it with the -g flag and then run it in gdb. When the segfault occurs issue bt. You should have the line where the segfault occurs. -- Colossus Xarchiver, a GTK2 only archive manager - http://xarchiver.sourceforge.ne

Simple GDK app segfaults for unknown reason

2006-01-20 Thread László Monda
Hi List, I've just written a simple GDK application that basically converts an input JPEG image to a BMP using a Pixbuf. Unfortunately it segfaults. 8< #include int main(int argc, char *argv[]) { gdk_init(&argc, &argv); GError **error = NULL; GdkPixbuf *pixbuf = gdk_pixbu