Fixed a few bugs
This commit is contained in:
parent
ed29923d2e
commit
17977d2a88
@ -365,6 +365,7 @@ class audioBuffer(feedBuffer):
|
||||
result = self.session.vk.client.audio.delete(**args)
|
||||
if int(result) == 1:
|
||||
output.speak(_(u"Removed audio from library"))
|
||||
self.tab.list.remove_item(self.tab.list.get_selected())
|
||||
|
||||
def move_to_album(self, *args, **kwargs):
|
||||
album = selector.audioAlbum(_(u"Select the album where you want to move this song"), self.session)
|
||||
|
@ -344,7 +344,10 @@ class Controller(object):
|
||||
self.session.soundplayer.play("chat.ogg")
|
||||
|
||||
def set_online(self):
|
||||
try:
|
||||
r = self.session.vk.client.account.setOnline()
|
||||
except:
|
||||
log.error("Error in setting online for the current user")
|
||||
|
||||
def create_unread_messages(self):
|
||||
msgs = self.session.vk.client.messages.getDialogs(count=200, unread=1)
|
||||
|
Loading…
Reference in New Issue
Block a user