set bookmarks editor transient too

0001968: twice help click on bookmark closes application


svn: r10368
This commit is contained in:
Benny Malengier 2008-03-21 22:43:11 +00:00
parent fe6840666c
commit 1a2fb30f20

View File

@ -201,6 +201,7 @@ class Bookmarks :
self.top = gtk.Dialog(title)
self.top.set_default_size(400, 350)
self.top.set_modal(True)
self.top.set_transient_for(self.uistate.window)
self.top.set_has_separator(False)
self.top.vbox.set_spacing(5)
label = gtk.Label('<span size="larger" weight="bold">%s</span>'