2 lines now one
This commit is contained in:
parent
6ae41cddef
commit
df5e7775d0
1 changed files with 1 additions and 3 deletions
|
@ -78,10 +78,8 @@ def _info(type, value, tb):
|
||||||
dialog.vbox.add(expander)
|
dialog.vbox.add(expander)
|
||||||
|
|
||||||
dialog.set_resizable(True)
|
dialog.set_resizable(True)
|
||||||
dialog.set_position(gtk.WIN_POS_CENTER)
|
|
||||||
|
|
||||||
# on expand the details the dialog remains centered on screen
|
# on expand the details the dialog remains centered on screen
|
||||||
dialog.set_gravity(gtk.gdk.GRAVITY_CENTER)
|
dialog.set_position(gtk.WIN_POS_CENTER_ALWAYS)
|
||||||
|
|
||||||
dialog.show_all()
|
dialog.show_all()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue