prevent traceback when showing a warning before roster is built
This commit is contained in:
parent
3d6ac046f2
commit
1e76981322
|
@ -1368,6 +1368,7 @@ class WarningDialog(HigDialog):
|
|||
HigDialog.__init__( self, None,
|
||||
gtk.MESSAGE_WARNING, gtk.BUTTONS_OK, pritext, sectext)
|
||||
self.set_modal(False)
|
||||
if hasattr(gajim.interface, 'roster'):
|
||||
self.set_transient_for(gajim.interface.roster.window)
|
||||
self.popup()
|
||||
|
||||
|
|
Loading…
Reference in New Issue