Show
Ignore:
Timestamp:
08/30/07 01:18:56 (15 months ago)
Author:
roidelapluie
Message:

warning and information dialogs are now no more modal, but transient for parent. This means all windows are usable even if such a
dialog is opened, but dialog stays above parent windows. Parent is roster window. fixes #3035

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11.1/src/dialogs.py

    r8613 r8616  
    941941                HigDialog.__init__( self, None,  
    942942                        gtk.MESSAGE_WARNING, gtk.BUTTONS_OK, pritext, sectext) 
     943                self.set_modal(False) 
     944                self.set_transient_for(gajim.interface.roster.window) 
    943945                self.popup() 
    944946 
     
    948950                HigDialog.__init__( self, None,  
    949951                        gtk.MESSAGE_INFO, gtk.BUTTONS_OK, pritext, sectext) 
     952                self.set_modal(False) 
     953                self.set_transient_for(gajim.interface.roster.window) 
    950954                self.popup() 
    951955