This commit is contained in:
ingvar1995 2016-09-03 14:10:36 +03:00
parent 0fd75c5517
commit fb1caa244a
3 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ Run app using ``toxygen`` command.
2. Install PortAudio: 2. Install PortAudio:
``brew install portaudio`` ``brew install portaudio``
3. Install toxygen: 3. Install toxygen:
``pip3 install toxygen`` ``pip3.4 install toxygen``
4. Run toxygen using ``toxygen`` command. 4. Run toxygen using ``toxygen`` command.
## Packages ## Packages

View File

@ -714,10 +714,10 @@ class InterfaceSettings(CenteredWidget):
msgBox.exec_() msgBox.exec_()
def select_color(self): def select_color(self):
col = QtGui.QColorDialog.getColor() settings = Settings.get_instance()
col = QtGui.QColorDialog.getColor(settings['unread_color'])
if col.isValid(): if col.isValid():
settings = Settings.get_instance()
name = col.name() name = col.name()
settings['unread_color'] = name settings['unread_color'] = name
settings.save() settings.save()

View File

@ -237,7 +237,7 @@ class Profile(contact.Contact, Singleton):
self.update_filtration() self.update_filtration()
except Exception as ex: # no friend found. ignore except Exception as ex: # no friend found. ignore
log('Friend value: ' + str(value)) log('Friend value: ' + str(value))
log('Error: ' + str(ex)) log('Error in set active: ' + str(ex))
raise raise
active_friend = property(get_active, set_active) active_friend = property(get_active, set_active)