Program Crashes when Removing a Page

2009-10-30 Thread dhk
I have a notebook that crashes the program when gtk_notebook_remove_page(GTK_NOTEBOOK(nb), page_num) is called. Each page of the notebook has a lot of stuff on it and the crash always happens on the same page. The source of gtk_notebook_remove_page() looks like it recursively traverses the page

Re: Program Crashes when Removing a Page

2009-10-30 Thread David Nečas
On Fri, Oct 30, 2009 at 06:09:16AM -0400, dhk wrote: I have a notebook that crashes the program when gtk_notebook_remove_page(GTK_NOTEBOOK(nb), page_num) is called. Each page of the notebook has a lot of stuff on it and the crash always happens on the same page. The source of

toolbutton label not visible in gtk 2.18

2009-10-30 Thread John Stebbins
I just installed fedora 12 beta on one machine and ubuntu 9.10 on another. Both have gtk 2.18.3. When I run my application on either system, my toolbutton labels are not visible. Am I missing some new property that needs to be set to make them visible, or is this a gtk bug?

Re: toolbutton label not visible in gtk 2.18

2009-10-30 Thread John Stebbins
On 10/30/2009 09:24 AM, John Stebbins wrote: I just installed fedora 12 beta on one machine and ubuntu 9.10 on another. Both have gtk 2.18.3. When I run my application on either system, my toolbutton labels are not visible. Am I missing some new property that needs to be set to make them

Re: toolbutton label not visible in gtk 2.18

2009-10-30 Thread Florian Müllner
On Fri, 2009-10-30 at 09:57 -0700, John Stebbins wrote: On 10/30/2009 09:24 AM, John Stebbins wrote: I just installed fedora 12 beta on one machine and ubuntu 9.10 on another. Both have gtk 2.18.3. When I run my application on either system, my toolbutton labels are not visible. Am I

Re: toolbutton label not visible in gtk 2.18

2009-10-30 Thread Colomban Wendling
Hi , John Stebbins a écrit : On 10/30/2009 09:24 AM, John Stebbins wrote: I just installed fedora 12 beta on one machine and ubuntu 9.10 on another. Both have gtk 2.18.3. When I run my application on either system, my toolbutton labels are not visible. Am I missing some new property that

Re: toolbutton label not visible in gtk 2.18

2009-10-30 Thread John Stebbins
On 10/30/2009 10:25 AM, Colomban Wendling wrote: Hi , John Stebbins a écrit : On 10/30/2009 09:24 AM, John Stebbins wrote: I just installed fedora 12 beta on one machine and ubuntu 9.10 on another. Both have gtk 2.18.3. When I run my application on either system, my toolbutton

Need help to set a cursor/focus on treeview row!

2009-10-30 Thread Daniel B. Thurman
I am learning, so please bear with me! I have the following code: def expandHome(self, model, iter=None, defaultHome=None): ''' expand user's home directory ''' if not defaultHome: return ran = model.iter_n_children(iter) for i in range(ran):

Static GTypeInfo and GInterfaceInfo

2009-10-30 Thread Nicola Fontana
Hi all, tutorials and GLib/GTK+ code often use unnecessary static variables for GTypeInfo and GInterfaceInfo structs, so I run the following script: sed -i -e \ 's/static\s\+\(\(const\s\+\)\?\(GInterfaceInfo\|GTypeInfo\)\)/\1/g' \ `find . -regex '.*\.\([ch]\|xml\|sgml\)'` on a fresh tree of the

Re: Static GTypeInfo and GInterfaceInfo

2009-10-30 Thread Javier Jardón
2009/10/30 Nicola Fontana n...@entidi.it: Hi all, Hello Nicola, on a fresh tree of the latest stable releases: glib-2.22.2 and gtk-2.18.3 (patches attached). I'm succesfully using them since tuesday. I've created a bug for glib [1] and another for gtk+ [2] to make more easy the review