7850970f27
Several cleanups. Fixup makefiles
17 lines
399 B
Python
17 lines
399 B
Python
import gtk
|
|
|
|
from sugar.canvas.GridWindow import GridWindow
|
|
|
|
class PanelWindow(GridWindow):
|
|
def __init__(self, model):
|
|
GridWindow.__init__(self, model)
|
|
|
|
self.set_decorated(False)
|
|
|
|
self.realize()
|
|
self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG)
|
|
self.window.set_accept_focus(False)
|
|
|
|
screen = gtk.gdk.screen_get_default()
|
|
self.window.set_transient_for(screen.get_root_window())
|