# HG changeset patch # User souliane # Date 1402605153 -7200 # Node ID fac8e8bc9a1ae116673e2178b634a25a9e731ab0 # Parent d6daa00ba564fdac521b65b44e13e1b98020c7ce browser side: changed default avatar diff -r d6daa00ba564 -r fac8e8bc9a1a src/browser/libervia_main.py --- a/src/browser/libervia_main.py Thu Jun 12 16:50:09 2014 +0200 +++ b/src/browser/libervia_main.py Thu Jun 12 22:32:33 2014 +0200 @@ -262,7 +262,7 @@ if jid_str not in self.avatars_cache: self.bridge.call('getEntityData', (dataReceived, avatarError), jid_str, ['avatar']) - self.avatars_cache[jid_str] = "/media/icons/tango/emotes/64/face-plain.png" + self.avatars_cache[jid_str] = C.DEFAULT_AVATAR return self.avatars_cache[jid_str] def registerWidget(self, wid): diff -r d6daa00ba564 -r fac8e8bc9a1a src/browser/sat_browser/constants.py --- a/src/browser/sat_browser/constants.py Thu Jun 12 16:50:09 2014 +0200 +++ b/src/browser/sat_browser/constants.py Thu Jun 12 22:32:33 2014 +0200 @@ -37,3 +37,6 @@ "initial_value": False }, } + + # Default avatar + DEFAULT_AVATAR = "/media/misc/default_avatar.png"