From fb1caa244aee703b479a72f3e2d7e04165211c83 Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Sat, 3 Sep 2016 14:10:36 +0300 Subject: [PATCH] fix #25 --- docs/install.md | 2 +- toxygen/menu.py | 4 ++-- toxygen/profile.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/install.md b/docs/install.md index fdef223..637ec8f 100644 --- a/docs/install.md +++ b/docs/install.md @@ -27,7 +27,7 @@ Run app using ``toxygen`` command. 2. Install PortAudio: ``brew install portaudio`` 3. Install toxygen: -``pip3 install toxygen`` +``pip3.4 install toxygen`` 4. Run toxygen using ``toxygen`` command. ## Packages diff --git a/toxygen/menu.py b/toxygen/menu.py index 1a8bc28..328a6d8 100644 --- a/toxygen/menu.py +++ b/toxygen/menu.py @@ -714,10 +714,10 @@ class InterfaceSettings(CenteredWidget): msgBox.exec_() def select_color(self): - col = QtGui.QColorDialog.getColor() + settings = Settings.get_instance() + col = QtGui.QColorDialog.getColor(settings['unread_color']) if col.isValid(): - settings = Settings.get_instance() name = col.name() settings['unread_color'] = name settings.save() diff --git a/toxygen/profile.py b/toxygen/profile.py index 3e4fbed..0c3d510 100644 --- a/toxygen/profile.py +++ b/toxygen/profile.py @@ -237,7 +237,7 @@ class Profile(contact.Contact, Singleton): self.update_filtration() except Exception as ex: # no friend found. ignore log('Friend value: ' + str(value)) - log('Error: ' + str(ex)) + log('Error in set active: ' + str(ex)) raise active_friend = property(get_active, set_active)