AddNewContactWindow,Join Groupchat Window,NewChatDialog.set transient for roster window

This commit is contained in:
Denis Fomin 2011-03-21 11:04:46 +03:00
parent 783b95b9cb
commit f9a6167f2b
1 changed files with 3 additions and 0 deletions

View File

@ -994,6 +994,7 @@ class AddNewContactWindow:
self.group_comboboxentry.set_active(i)
i += 1
self.window.set_transient_for(gajim.interface.roster.window)
self.window.show_all()
if self.account:
@ -2267,6 +2268,7 @@ class JoinGroupchatWindow:
self._empty_required_widgets = []
self.window = self.xml.get_object('join_groupchat_window')
self.window.set_transient_for(gajim.interface.roster.window)
self._room_jid_entry = self.xml.get_object('room_jid_entry')
self._nickname_entry = self.xml.get_object('nickname_entry')
self._password_entry = self.xml.get_object('password_entry')
@ -2630,6 +2632,7 @@ class NewChatDialog(InputDialog):
okbutton.connect('clicked', self.on_okbutton_clicked)
cancelbutton = self.xml.get_object('cancelbutton')
cancelbutton.connect('clicked', self.on_cancelbutton_clicked)
self.dialog.set_transient_for(gajim.interface.roster.window)
self.dialog.show_all()
def new_chat_response(self, jid):