Fwd: gtk_table_attach api, GtkAttachOptions usage

2010-02-05 Thread Sundeep Dasari
Hi Iam trying to use gtk_table_attach api. I have issues using xoptions(GtkAttachOptions) and yoptions in this api. Iam not able to understand how I can use EXPAND, SHRINK and FILL options. I tried to write a program that does the following: 1. create a table using gtk_table_new api 2. Attach a

GtkAttachOptions usage!!

2010-02-05 Thread Sundeep Dasari
Hi Iam trying to use gtk_table_attach api. I have issues using xoptions(GtkAttachOptions) and yoptions in this api. Iam not able to understand how I can use EXPAND, SHRINK and FILL options. I tried to write a program that does the following: 1. create a table using gtk_table_new api 2. Attach a

Re: gtk_table_attach api, GtkAttachOptions usage

2010-02-05 Thread Tadej Borovšak
Hello. First of all, cross-posting is bad and tends to annoy people. Stick to your original post. Iam trying to use gtk_table_attach api. I have issues using xoptions(GtkAttachOptions) and yoptions in this api. Iam not able to understand how I can use EXPAND, SHRINK and FILL options. I tried

Re: GtkAttachOptions usage!!

2010-02-05 Thread Tadej Borovšak
Hi. Again, this is really annoying. I'm having 3 exactly the same messages, caused by your cross-posting. Please, stop doing that. Tadej -- Tadej Borovšak tadeboro.blogspot.com tadeb...@gmail.com tadej.borov...@gmail.com ___ gtk-app-devel-list

Re: a lot of modal dialogs without GTK.main

2010-02-05 Thread Andrey Nikitin
But I noticed that dialog.destroy() call really does not destroy the dialog window. Have solution? I found the solution, see my code (I use the excellent ruby gtk binding) below: [code] # create first dialog ... if dialog.run == Gtk::Dialog::RESPONSE_ACCEPT # make something else

Re: a lot of modal dialogs without GTK.main

2010-02-05 Thread David Nečas
On Fri, Feb 05, 2010 at 06:26:39PM +0300, Andrey Nikitin wrote: But I noticed that dialog.destroy() call really does not destroy the dialog window. Have solution? I found the solution, see my code (I use the excellent ruby gtk binding) below: Explicit main loop iterations are usually

bug in g_content_type_guess

2010-02-05 Thread Shixin Zeng
from http://git.gnome.org/browse/glib/tree/gio/gcontenttype.c we have the definition for this function as below, where *result_uncertain is never assigned. char * g_content_type_guess (const char *filename, const guchar *data, gsize data_size,

Re: bug in g_content_type_guess

2010-02-05 Thread Javier Jardón
2010/2/6 Shixin Zeng zeng.shi...@gmail.com: from http://git.gnome.org/browse/glib/tree/gio/gcontenttype.c we have the definition for this function as below, where *result_uncertain is never assigned. char * g_content_type_guess (const char   *filename,                      const guchar