This commit is contained in:
Nikos Kouremenos 2005-06-07 22:04:23 +00:00
parent bf39254aed
commit 5b3d92522a
1 changed files with 1 additions and 2 deletions

View File

@ -304,11 +304,10 @@ class Groupchat_window(chat.Chat):
for bookmark in gajim.connections[self.account].bookmarks: for bookmark in gajim.connections[self.account].bookmarks:
if bookmark['jid'] == bm['jid']: if bookmark['jid'] == bm['jid']:
dialogs.Error_dialog( dialogs.Error_dialog(
_('Bookmark already set.'), _('Bookmark already set'),
_('The bookmark is already in your roster.')).get_response() _('The bookmark is already in your roster.')).get_response()
return return
gajim.connections[self.account].bookmarks.append(bm) gajim.connections[self.account].bookmarks.append(bm)
gajim.connections[self.account].store_bookmarks() gajim.connections[self.account].store_bookmarks()