Unset deletable and decorated for progress bar window

This commit is contained in:
Cédric Krier
2008-11-09 15:37:12 +01:00
parent edd1b9be7f
commit 2eec142dc0
+3
View File
@@ -815,6 +815,9 @@ class RPCProgress(object):
if not win or not progressbar:
win = gtk.Window(type=gtk.WINDOW_TOPLEVEL)
win.set_position(gtk.WIN_POS_CENTER_ON_PARENT)
if hasattr(win, 'set_deletable'):
win.set_deletable(False)
win.set_decorated(False)
vbox = gtk.VBox(False, 0)
hbox = gtk.HBox(False, 13)
hbox.set_border_width(10)