changeset 2b6b48e9d97c in /home/hg/repos/gajim
author: Denis Fomin fominde@gmail.com branches: gtk3 details:http://hg.gajim.org/gajim?cmd=changeset;node=2b6b48e9d97c description: Set transient_for 'Bookmark already set' and 'Bookmark has been added successfully' in disco
diffstat:
src/disco.py | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 8aafc370d433 -r 2b6b48e9d97c src/disco.py --- a/src/disco.py Tue Oct 22 23:59:53 2013 +0400 +++ b/src/disco.py Thu Oct 24 14:17:30 2013 +0400 @@ -1881,7 +1881,8 @@ for bookmark in gajim.connections[self.account].bookmarks: if bookmark['jid'] == bm['jid']: dialogs.ErrorDialog( _('Bookmark already set'), - _('Group Chat "%s" is already in your bookmarks.') % bm['jid']) + _('Group Chat "%s" is already in your bookmarks.') % bm['jid'], + transient_for=self.window.window) return
gajim.connections[self.account].bookmarks.append(bm) @@ -1891,7 +1892,8 @@
dialogs.InformationDialog( _('Bookmark has been added successfully'), - _('You can manage your bookmarks via Actions menu in your roster.')) + _('You can manage your bookmarks via Actions menu in your roster.'), + transient_for=self.window.window)
def on_join_button_clicked(self, *args): """