changeset d7487c126eec in /home/hg/repos/gajim

details:http://hg.gajim.org/gajim?cmd=changeset;node=d7487c126eec
description: fix checking translated string. Fixes #5786

diffstat:

 src/config.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 9ba1d2f98414 -r d7487c126eec src/config.py
--- a/src/config.py     Sat Jun 19 17:08:30 2010 +0300
+++ b/src/config.py     Sun Jun 20 00:33:01 2010 +0200
@@ -459,11 +459,11 @@
             create_av_combobox('video_framerate', {_('Default'): '',
                 '15fps': '15/1', '10fps': '10/1', '5fps': '5/1',
                 '2.5fps': '5/2'}, 'video_framerate', key=lambda x: -1 if \
-                x[0] == 'Default' else float(x[0][:-3]))
+                x[1] == '' else float(x[0][:-3]))
             create_av_combobox('video_size', {_('Default'): '',
                 '800x600': '800x600', '640x480': '640x480',
                 '320x240': '320x240'}, 'video_size', key=lambda x: -1 if \
-                x[0] == 'Default' else int(x[0][:3]))
+                x[1] == '' else int(x[0][:3]))
 
         else:
             for opt_name in ('audio_input', 'audio_output', 'video_input',
_______________________________________________
Commits mailing list
[email protected]
http://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to