Comment 4 for bug 764739

Revision history for this message
Francesco Apollonio (lorddex) wrote : Re: [Bug 764739] Re: Deleting brick while active hangs up the menu

2011/5/4 Abbakus <email address hidden>:
> Modified again. Who did add threads_enter/leave around show_error? And why?!
> Removed threads_enter/leave on rev. 264
>                gtk.gdk.threads_enter()
>                try:
>                        self.show_error(text)
>                finally:
>                        gtk.gdk.threads_leave()
>
> Here threads_enter/leave hangs GUI every time an error is showed while
> works correctly without.

using show_error instead of error or error without this code block
doesn't work well.
Why do you re-comment this code block? Have you noticed again the
freeze on brick delete or another related bug?

Francesco