Panels doesn't take focus

This commit is contained in:
Marco Pesenti Gritti 2006-08-31 10:10:45 +02:00
parent 590608b19b
commit 26c50e3b3d

View File

@ -38,6 +38,7 @@ class Panel(gtk.Window):
self.realize() self.realize()
self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG) self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG)
self.window.set_accept_focus(False)
screen = gtk.gdk.screen_get_default() screen = gtk.gdk.screen_get_default()
self.window.set_transient_for(screen.get_root_window()) self.window.set_transient_for(screen.get_root_window())