changeset 1663de4885cc in /home/hg/repos/gajim
author: Denis Fomin fominde@gmail.com branches: gajim_0.16 details:http://hg.gajim.org/gajim?cmd=changeset;node=1663de4885cc description: Set transient_for 'Bookmark already set' and 'Bookmark has been added successfully' in disco
diffstat:
src/disco.py | 6 ++++-- 1 файлов изменено, 4 вставок(+), 2 удалений(-)
различия (23 строк):
diff -r ac6dee81a8f1 -r 1663de4885cc src/disco.py --- a/src/disco.py Wed Oct 23 22:57:48 2013 +0200 +++ b/src/disco.py Thu Oct 24 14:17:30 2013 +0400 @@ -1871,7 +1871,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) @@ -1881,7 +1882,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): """