fix a TB and a logic in bookmarks [thx delmonico]

This commit is contained in:
Nikos Kouremenos 2005-06-12 12:21:33 +00:00
parent 585f9fe819
commit f19882a66e
3 changed files with 6 additions and 4 deletions

View File

@ -2374,7 +2374,9 @@ class ManageBookmarksWindow:
#create the bookmark-dict
bmdict = { 'name': bm[1], 'jid': bm[2], 'autojoin': autojoin,
'password': bm[4], 'nick': bm[5] }
'password': bm[4], 'nick': bm[5] }
gajim.connections[account[1]].bookmarks.append(bmdict)
gajim.connections[account[1]].store_bookmarks()

View File

@ -315,8 +315,7 @@ class GroupchatWindow(chat.Chat):
dialogs.InformationDialog(
_('Bookmark has been added successfully'),
_('You can manage your bookmarks via Actions menu in your roster.') % \
room_jid).get_response()
_('You can manage your bookmarks via Actions menu in your roster.')).get_response()
def on_message_textview_key_press_event(self, widget, event):
"""When a key is pressed:

File diff suppressed because one or more lines are too long