fix a TB and a logic in bookmarks [thx delmonico]
This commit is contained in:
parent
585f9fe819
commit
f19882a66e
|
@ -2376,6 +2376,8 @@ class ManageBookmarksWindow:
|
||||||
bmdict = { 'name': bm[1], 'jid': bm[2], 'autojoin': autojoin,
|
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()
|
gajim.connections[account[1]].store_bookmarks()
|
||||||
|
|
||||||
self.plugin.roster.make_menu()
|
self.plugin.roster.make_menu()
|
||||||
|
|
|
@ -315,8 +315,7 @@ class GroupchatWindow(chat.Chat):
|
||||||
|
|
||||||
dialogs.InformationDialog(
|
dialogs.InformationDialog(
|
||||||
_('Bookmark has been added successfully'),
|
_('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.')).get_response()
|
||||||
room_jid).get_response()
|
|
||||||
|
|
||||||
def on_message_textview_key_press_event(self, widget, event):
|
def on_message_textview_key_press_event(self, widget, event):
|
||||||
"""When a key is pressed:
|
"""When a key is pressed:
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue