It's still the same with 8.04.1 and 8.10.
I have tried the same in C as well:

-------
#include <gtk/gtk.h>

int main(int argc, char **argv)
{
 GtkWidget *window;
 gtk_init(&argc, &argv);
 window=gtk_window_new(GTK_WINDOW_TOPLEVEL);
 gtk_window_set_deletable((GtkWindow*) window, FALSE);
 gtk_signal_connect(GTK_OBJECT(window), "destroy", GTK_SIGNAL_FUNC(gtk_main_qui$
 gtk_widget_show(window);
 gtk_main();
 return 0;
}
-------

As a workaround I've disabled Compiz :)
But nevertheless it is a bug.

-- 
set_deletable(False) does not work on gtk windows with compiz enabled
https://bugs.launchpad.net/bugs/240794
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to